Ticket #791 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

addons print messages to stdout

Reported by: marko Owned by: matija
Milestone: Future Component: orng_modules
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

Error messages should go to stderr.

Now I get this: Add-on in directory '/home/marko/orangegit/trunk/orange/add-ons/myModule' has no valid descriptor (addon.xml): [Errno 2] No such file or directory: '/home/marko/orangegit/trunk/orange/add-ons/myModule/addon.xml'

Please also implement them with python "warning" module.

Change History

comment:1 Changed 3 years ago by marko

Please look at [10539]. I have have changed some of the most critical ones. If you decide to roll back the changes, please at least modify the print statements so that they will print to standard error.

comment:2 Changed 3 years ago by matija

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

I did not roll back your changes; I've changed the rest of "prints" to either warning.warn or sys.stderr.write.

Note: See TracTickets for help on using tickets.