Ticket #1359 (closed bug: fixed)

Opened 7 months ago

Last modified 4 months ago

Windows 7 64bit - Orange Canvas wont run

Reported by: subjectx Owned by:
Milestone: Next 2.x Component: canvas
Severity: major Keywords: run, orange
Cc: Blocking:
Blocked By:



After installing from  http://orange.biolab.si/download/orange-win-w-python-snapshot-hg-2014-02-14-py2.7.exe or from  http://www.lfd.uci.edu/~gohlke/pythonlibs/#orange I cannot run Orange. Nothing happens when I click the desktop icon.

I also tried to update to 64bit compiled stuff and tried to manually install PyQt-Py2.7-x64-gpl-4.9.6-1 and PyQwt-5.2.1-py2.7-x64-pyqt4.9.6-numpy1.7.1 from  http://www.lfd.uci.edu/~gohlke/pythonlibs/.

Change History

comment:1 Changed 7 months ago by ales

Can you please run

C:\Python27\python.exe -m Orange.OrangeCanvas.main

from the windows Command Prompt and post the output.

comment:2 follow-up: ↓ 3 Changed 7 months ago by subjectx

C:\Python27\python.exe: DLL load failed: %1 is not a valid Win32 application.

Same if I run cmd with admin access..

Last edited 7 months ago by subjectx (previous) (diff)

comment:3 in reply to: ↑ 2 Changed 7 months ago by ales

Replying to subjectx:

C:\Python27\python.exe: DLL load failed: %1 is not a valid Win32 application.

This usually indicates a mixing of 32 and 64 bit python/libraries. I would recommend you try a complete reinstall of the python software stack.

  • Uninstall all python libraries and then python itself
  • make sure the entire C:\Python27 directory is no longer present (manually delete it if this is not the case).
  • Run the full orange installer again.

comment:4 Changed 7 months ago by subjectx

I did that like 1 hour ago, didnt help either..

I uninstalled everything python and orange related, deleted folder and then reinstalled. Same error..

comment:5 Changed 7 months ago by subjectx

Just did it again, to be sure. I even restarted computer after everything was wipped..

Same error: double click on icon does nothing.

cmd output changed tho:

Traceback (most recent call last):

File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main

"main", fname, loader, pkg_name)

File "C:\Python27\lib\runpy.py", line 72, in _run_code

exec code in run_globals

File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\main.py", line 18, in <module>

from PyQt4.QtGui import QFont, QColor

ImportError: DLL load failed: The specified procedure could not be found.

comment:6 Changed 7 months ago by ales

Well at least we are making progress.

Try running

set PATH=C:\Python27\Lib\site-packages\PyQt4\bin;%PATH%
C:\Python27\python.exe -m Orange.OrangeCanvas.main

If that does not work, copy all .dll files from C:\Python27\Lib\site-packages\PyQt4\bin one directory higher (to C:\Python27\Lib\site-packages\PyQt4)

comment:7 Changed 7 months ago by subjectx

Yep, copying all dlls helped.

Is there a solution to this problem with copy?

comment:8 Changed 4 months ago by ales

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

The Orange installer now includes a newer version of PyQt4 which already puts the dlls in the top PyQt4 directory. Therefore I am closing this ticket.

Note: See TracTickets for help on using tickets.