Opened 9 years ago

Closed 9 years ago

#779 closed defect (invalid)

Error reported in console when saving

Reported by: ender2012 Owned by:
Priority: normal Milestone:
Component: Cocotron Version: trunk
Keywords: Cc:

Description

It seems that saving works correctly but whenever you save the following error is reported in the console:

[-NSData_concrete writeToFile:option:error:]: NSError not yet supported

Change History (2)

comment:1 Changed 9 years ago by ender2012

  • Component changed from IDE to Cocotron

comment:2 Changed 9 years ago by gb

  • Resolution set to invalid
  • Status changed from new to closed

Cocotron writes this sort of diagnostic message to C's stderr and also to a system logfile.

When running as a standalone GUI application, C's stderr is a sink stream; it's not connected to [W]altConsole.

When running under a shell or Emacs, C's stderr is that shell window/Emacs buffer, and being able to see (and produce) diagnostic messages is useful.

This all behaves the same way under Windows and OSX. I'm not sure whether the report is complaining about the fact that Cocotron hasn't yet implemented support for NSError in that method, about the fact that it's logging a message to report that, or about the fact that that message isn't very interesting but is nonetheless visible. The only one of these things that we can exercise control over - the visibility of the message in a standalone environment - is something that we already exercise control over (we don't redirect C's stderr stream to WaltConsole?.)

Note: See TracTickets for help on using tickets.