Ticket #1276 (closed bug: fixed)

Opened 20 months ago

Last modified 20 months ago

Add-on instalation through the Add-on dialog does not work on windows

Reported by: ales Owned by: ales
Milestone: Component: library
Severity: minor Keywords:
Cc: matija Blocking:
Blocked By:


It shows a

Problem installing add-on Orange-Bioinformatics: Unable to install add-on: [Errno 9] Bad file descriptor

After some digging I found out this happens in distutils.log module when calling sys.stderr.flush(). On windows when a script is executed using pythonw.exe (and orngCanvas.pyw is executed like this), it does not get a proper std[err|out]  issue706263

Strange this was not noticed until now.

Change History

comment:1 Changed 20 months ago by Ales Erjavec <ales.erjavec@…>

In [d1c2af85ace20ef046a07841b042388ed17f0f43/orange]:

Capture stderr in the output window.

(references #1276)

comment:2 Changed 20 months ago by ales

But it still does not work, too old setuptools version.

comment:3 Changed 20 months ago by ales

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

Fixed in 67f486d63fafcf7aab51309ad5084e9046cdc790 by running setup.py in a subprocess.

Note: See TracTickets for help on using tickets.