Orange Forum • View topic - Orange Canvas on Windows 7

Orange Canvas on Windows 7

A place to ask questions about methods in Orange and how they are used and other general support.

Orange Canvas on Windows 7

Postby ekido » Wed Jul 09, 2014 16:30

Hello everyone,

I know many people have asked about this, but I couldn't find a solution for this problem. I downloaded and installed the full Orange package and it worked fine. However, I tried to start the Orange Canvas today and nothing happens. It's odd because it was working just fine and I haven't done any modifications on my PC since then, so I'm really clueless about what might be the problem. Can any one help me?

I ran C:\Python27\python.exe -m Orange.OrangeCanvas.main and got this:

C:\Users\Erica>C:\Python27\python.exe -m Orange.OrangeCanvas.main
Traceback (most recent call last):
File "C:\Python27\lib\", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Python27\lib\", line 72, in _run_code
exec code in run_globals
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\", line 355, in
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\", line 221, in
canvas_window = CanvasMainWindow()
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\application\canvasmain
.py", line 207, in __init__
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\application\canvasmain
.py", line 723, in restore
if not os.path.exists(self.last_scheme_dir):
File "C:\Python27\lib\", line 18, in exists
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 36: ordinal
not in range(128)

Re: Orange Canvas on Windows 7

Postby Ales » Thu Jul 10, 2014 16:10

Try removing the Orange Canvas settings file. This is located in '%APPDATA%\\Orange Canvas.ini', which usually expands to 'C:\Users\UserName\AppData\Roaming\\Orange Canvas.ini' on Window 7.
The quickest way to do this is just to run
Code: Select all
del '%APPDATA%\\Orange Canvas.ini'
from the command prompt.

Re: Orange Canvas on Windows 7

Postby ekido » Thu Jul 10, 2014 16:57

It worked! Thank You for you help! \o/

Return to Questions & Support