Orange Forum • View topic - orange canvas is not working

orange canvas is not working

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

Re: orange canvas is not working

Postby Ales » Wed May 16, 2012 9:48

Carlos wrote:This is definitely broken on Ubuntu 12.04, also.

Seems like anything with the word 'regression' in its name would be pretty useful to ML.

On Ubuntu just run
Code: Select all
sudo apt-get install python-scipy
and the warning will go away.

Re: orange canvas is not working

Postby Ales » Wed May 16, 2012 9:59

thymemine wrote:I appreciated your reply but this time even worst. It didn't complain anything nor canvas showed up, either.
Running
Code: Select all
\Python27\python.exe \Python27\Lib\site-packages\orange\OrangeCanvas\orngCanvas.pyw
prints nothing and does not start Orange Canvas?

Re: orange canvas is not working

Postby thymemine » Sat May 19, 2012 4:38

No, it does not start but there was pythonww.exe *32 running in task managers for a few seconds. Then, everything's gone.

Re: orange canvas is not working

Postby Ales » Mon May 21, 2012 8:48

thymemine wrote:No, it does not start but there was pythonww.exe *32 running in task managers for a few seconds. Then, everything's gone.
Can you please open the orange log file and post its contents. This file is located in
C:/Documents and Settings/YOURUSERNAME/Application Data/orange/OrangeCanvasQt4/outputLog.html
on win xp or
C:/Users/YOURUSERNAME/AppData/Roaming/orange/OrangeCanvasQt4/outputLog.html
on Win 7 and Vista.

Re: orange canvas is not working

Postby thymemine » Mon May 21, 2012 9:24

The folder is empty. By the way, does the program have anything to do with 'path' in environment variable setting?
thank you

Re: orange canvas is not working

Postby thymemine » Tue Jul 03, 2012 11:43

this one works, http://orange.biolab.si/forum/viewtopic.php?f=4&t=1366. after i manually deleted PyQt4 folder and re installed orange, again, now its ready to roll. and it also has "outputLog.html" file. cheers.

Re: orange canvas is not working

Postby furman » Sat Jul 28, 2012 15:19

Hie I am a novice in orange-world, and would like to get some help, please have a look at information posted :
Last edited by furman on Sat Jul 28, 2012 15:53, edited 1 time in total.

Re: orange canvas is not working

Postby furman » Sat Jul 28, 2012 15:51

Ales wrote:
thymemine wrote:No, it does not start but there was pythonww.exe *32 running in task managers for a few seconds. Then, everything's gone.
Can you please open the orange log file and post its contents. This file is located in
C:/Documents and Settings/YOURUSERNAME/Application Data/orange/OrangeCanvasQt4/outputLog.html
on win xp or
C:/Users/YOURUSERNAME/AppData/Roaming/orange/OrangeCanvasQt4/outputLog.html
on Win 7 and Vista.


Hie ! I am very new to orange, and although orange canvas installed and opens correctly, I am having problems with it.
This is the error that brings cmd shell :

C:\Python27\lib\site-packages\Orange\__init__.py:128: UserWarning: Some features
will be disabled due to failing modules
Importing 'regression.lasso' failed: No module named scipy.linalg
_import("regression.lasso")

This is my Orange output log:

There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWItemsetViz: No module named OWNetworkCanvas
OWModelMap: No module named scipy.stats
OWRScript: No module named rpy2.robjects
OWLinearRegression: No module named scipy.linalg
OWLinProj3D: No module named OpenGL
OWNxExplorer3D: No module named OWNxExplorerQt
OWScatterPlot3D: No module named OpenGL
OWSphereviz3D: No module named OpenGL
The following widgets could not be imported and will not be available: OWSphereviz3D, OWC45Tree, OWLinProj3D, OWNxExplorer3D, OWLinearRegression, OWScatterPlot3D.
The following prototype widgets could not be imported and will not be available: OWRScript, OWModelMap, OWItemsetViz.

Running Python 2,7, on windows 7 32-bit.
I have already tried to uninstall pyqt, pyqwt and reinstall orange - doesn't help.
Thanks in advance.

Re: orange canvas is not working

Postby EssKay » Tue Jul 31, 2012 21:54

I just installed orange-win-w-python-snapshot-hg-2012-07-31-py2.7.exe, but OrangeCanvas not working.

I have windows 7 64 bit edition. So I have set the compatibility properties of OrangeCanvas shortcut to run in windows Vista mode.

When run under command prompt, with following commnad

C:\Python27\python.exe C:\Python27\lib\site-packages\Orange\OrangeCanvas\orngCanvas.pyw

I got following error

C:\>C:\Python27\python.exe C:\Python27\lib\site-packages\Orange\OrangeCanvas\orn
gCanvas.pyw
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\Orange\OrangeCanvas\orngCanvas.pyw", line
7, in <module>
import Orange
File "C:\Python27\lib\site-packages\Orange\__init__.py", line 9, in <module>
from . import orange
ImportError: DLL load failed: %1 is not a valid Win32 application.


When run under command prompt, with following commnad

C:\Python27\pythonw.exe C:\Python27\lib\site-packages\Orange\OrangeCanvas\orngCanvas.pyw

no errors , but nothing showed up.

Also did not find outputlog folder ????

Please suggest some solution

Re: orange canvas is not working

Postby Ales » Wed Aug 01, 2012 18:46

EssKay wrote:from . import orange
ImportError: DLL load failed: %1 is not a valid Win32 application.
You are probably using a 64 bit (amd64) Python (did you have it installed before installing Orange). Orange at the moment only works with 32 bit Python.

To check which version you are running just run the 'python.exe' interpreter, the platform type is displayed in the banner.

Re: orange canvas is not working

Postby EssKay » Wed Aug 01, 2012 23:22

Yes. it is 64 bit and was installed before orange was installed.

Re: orange canvas is not working

Postby Ales » Fri Aug 03, 2012 10:02

furman wrote:This is the error that brings cmd shell :

C:\Python27\lib\site-packages\Orange\__init__.py:128: UserWarning: Some features
will be disabled due to failing modules
Importing 'regression.lasso' failed: No module named scipy.linalg
_import("regression.lasso")


Please install the scipy package http://scipy.github.com/download.html

Re: orange canvas is not working

Postby Ales » Fri Aug 03, 2012 10:13

EssKay wrote:Yes. it is 64 bit and was installed before orange was installed.

Christoph Gohlke maintains a repository of unofficial python packages, it includes a 64 bit build of Orange: http://www.lfd.uci.edu/~gohlke/pythonlibs/#orange

Re: orange canvas is not working

Postby furman » Fri Aug 03, 2012 12:32

Ales wrote:
furman wrote:This is the error that brings cmd shell :

C:\Python27\lib\site-packages\Orange\__init__.py:128: UserWarning: Some features
will be disabled due to failing modules
Importing 'regression.lasso' failed: No module named scipy.linalg
_import("regression.lasso")


Please install the scipy package http://scipy.github.com/download.html


Thanks a lot, now everything works perfectly ; )

Re: orange canvas is not working

Postby EssKay » Mon Aug 06, 2012 6:18

I downloaded and installed 64 bit version from link given Ales(Christoph Gohlke maintains a repository of unofficial python packages, it includes a 64 bit build of Orange: ).

After installing it did not create desktop icon.
When I ran with shortcut target as C:\Python27\pythonw.exe C:\Python27\Lib\site-packages\Orange\\OrangeCanvas\orngCanvas.pyw -- orangecanvas did nt show up.

In commond window, I executed C:\Python27\python.exe C:\Python27\Lib\site-packages\Orange\\OrangeCanvas\orngCanvas.pyw -- I got big list of errors

C:\Python27\lib\site-packages\Orange\__init__.py:27: UserWarning: Some features
will be disabled due to failing modules
Importing 'misc' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc")
C:\Python27\lib\site-packages\Orange\__init__.py:29: UserWarning: Importing 'dat
a.io' failed: DLL load failed: %1 is not a valid Win32 application.
_import("data.io")
C:\Python27\lib\site-packages\Orange\__init__.py:31: UserWarning: Importing 'dat
a.outliers' failed: 'module' object has no attribute 'misc'
_import("data.outliers")
C:\Python27\lib\site-packages\Orange\__init__.py:36: UserWarning: Importing 'dat
a.imputation' failed: DLL load failed: %1 is not a valid Win32 application.
_import("data.imputation")
C:\Python27\lib\site-packages\Orange\__init__.py:43: UserWarning: Importing 'fea
ture.imputation' failed: DLL load failed: %1 is not a valid Win32 application.
_import("feature.imputation")
C:\Python27\lib\site-packages\Orange\__init__.py:44: UserWarning: Importing 'fea
ture.scoring' failed: DLL load failed: %1 is not a valid Win32 application.
_import("feature.scoring")
C:\Python27\lib\site-packages\Orange\__init__.py:45: UserWarning: Importing 'fea
ture.selection' failed: DLL load failed: %1 is not a valid Win32 application.
_import("feature.selection")
C:\Python27\lib\site-packages\Orange\network\__init__.py:59: UserWarning: Warnin
g: some features are disabled. Install networkx to use the 'Orange.network' modu
le.
warnings.warn("Warning: some features are disabled. Install networkx to use th
e 'Orange.network' module.")
C:\Python27\lib\site-packages\Orange\__init__.py:47: UserWarning: Importing 'net
work' failed: DLL load failed: %1 is not a valid Win32 application.
_import("network")
C:\Python27\lib\site-packages\Orange\__init__.py:59: UserWarning: Importing 'cla
ssification.tree' failed: DLL load failed: %1 is not a valid Win32 application.
_import("classification.tree")
C:\Python27\lib\site-packages\Orange\__init__.py:61: UserWarning: Importing 'cla
ssification.rules' failed: DLL load failed: %1 is not a valid Win32 application.

_import("classification.rules")
C:\Python27\lib\site-packages\Orange\__init__.py:63: UserWarning: Importing 'cla
ssification.lookup' failed: DLL load failed: %1 is not a valid Win32 application
.
_import("classification.lookup")
C:\Python27\lib\site-packages\Orange\__init__.py:64: UserWarning: Importing 'cla
ssification.bayes' failed: 'module' object has no attribute 'misc'
_import("classification.bayes")
C:\Python27\lib\site-packages\Orange\__init__.py:65: UserWarning: Importing 'cla
ssification.svm' failed: DLL load failed: %1 is not a valid Win32 application.
_import("classification.svm")
C:\Python27\lib\site-packages\Orange\__init__.py:66: UserWarning: Importing 'cla
ssification.logreg' failed: DLL load failed: %1 is not a valid Win32 application
.
_import("classification.logreg")
C:\Python27\lib\site-packages\Orange\__init__.py:70: UserWarning: Importing 'opt
imization' failed: DLL load failed: %1 is not a valid Win32 application.
_import("optimization")
C:\Python27\lib\site-packages\Orange\__init__.py:73: UserWarning: Importing 'pro
jection.linear' failed: DLL load failed: %1 is not a valid Win32 application.
_import("projection.linear")
C:\Python27\lib\site-packages\Orange\__init__.py:74: UserWarning: Importing 'pro
jection.mds' failed: DLL load failed: %1 is not a valid Win32 application.
_import("projection.mds")
C:\Python27\lib\site-packages\Orange\__init__.py:75: UserWarning: Importing 'pro
jection.som' failed: DLL load failed: %1 is not a valid Win32 application.
_import("projection.som")
C:\Python27\lib\site-packages\Orange\__init__.py:76: UserWarning: Importing 'pro
jection.pca' failed: DLL load failed: %1 is not a valid Win32 application.
_import("projection.pca")
C:\Python27\lib\site-packages\Orange\__init__.py:79: UserWarning: Importing 'ens
emble.bagging' failed: 'module' object has no attribute 'misc'
_import("ensemble.bagging")
C:\Python27\lib\site-packages\Orange\__init__.py:80: UserWarning: Importing 'ens
emble.boosting' failed: 'module' object has no attribute 'misc'
_import("ensemble.boosting")
C:\Python27\lib\site-packages\Orange\__init__.py:81: UserWarning: Importing 'ens
emble.forest' failed: DLL load failed: %1 is not a valid Win32 application.
_import("ensemble.forest")
C:\Python27\lib\site-packages\Orange\__init__.py:85: UserWarning: Importing 'reg
ression.earth' failed: DLL load failed: %1 is not a valid Win32 application.
_import("regression.earth")
C:\Python27\lib\site-packages\Orange\__init__.py:86: UserWarning: Importing 'reg
ression.lasso' failed: DLL load failed: %1 is not a valid Win32 application.
_import("regression.lasso")
C:\Python27\lib\site-packages\Orange\__init__.py:87: UserWarning: Importing 'reg
ression.linear' failed: DLL load failed: %1 is not a valid Win32 application.
_import("regression.linear")
C:\Python27\lib\site-packages\Orange\__init__.py:89: UserWarning: Importing 'reg
ression.pls' failed: DLL load failed: %1 is not a valid Win32 application.
_import("regression.pls")
C:\Python27\lib\site-packages\Orange\__init__.py:90: UserWarning: Importing 'reg
ression.tree' failed: DLL load failed: %1 is not a valid Win32 application.
_import("regression.tree")
C:\Python27\lib\site-packages\Orange\__init__.py:92: UserWarning: Importing 'mul
titarget' failed: DLL load failed: %1 is not a valid Win32 application.
_import("multitarget")
C:\Python27\lib\site-packages\Orange\__init__.py:93: UserWarning: Importing 'mul
titarget.tree' failed: DLL load failed: %1 is not a valid Win32 application.
_import("multitarget.tree")
C:\Python27\lib\site-packages\Orange\__init__.py:95: UserWarning: Importing 'mul
tilabel' failed: 'module' object has no attribute 'misc'
_import("multilabel")
C:\Python27\lib\site-packages\Orange\__init__.py:96: UserWarning: Importing 'mul
tilabel.multibase' failed: 'module' object has no attribute 'misc'
_import("multilabel.multibase")
C:\Python27\lib\site-packages\Orange\__init__.py:97: UserWarning: Importing 'mul
tilabel.br' failed: 'module' object has no attribute 'misc'
_import("multilabel.br")
C:\Python27\lib\site-packages\Orange\__init__.py:98: UserWarning: Importing 'mul
tilabel.lp' failed: 'module' object has no attribute 'misc'
_import("multilabel.lp")
C:\Python27\lib\site-packages\Orange\__init__.py:99: UserWarning: Importing 'mul
tilabel.mlknn' failed: 'module' object has no attribute 'misc'
_import("multilabel.mlknn")
C:\Python27\lib\site-packages\Orange\__init__.py:100: UserWarning: Importing 'mu
ltilabel.brknn' failed: 'module' object has no attribute 'misc'
_import("multilabel.brknn")
C:\Python27\lib\site-packages\Orange\__init__.py:101: UserWarning: Importing 'mu
ltilabel.mulan' failed: 'module' object has no attribute 'misc'
_import("multilabel.mulan")
C:\Python27\lib\site-packages\Orange\__init__.py:105: UserWarning: Importing 'pr
eprocess' failed: DLL load failed: %1 is not a valid Win32 application.
_import("preprocess")
C:\Python27\lib\site-packages\Orange\__init__.py:106: UserWarning: Importing 'pr
eprocess.scaling' failed: DLL load failed: %1 is not a valid Win32 application.
_import("preprocess.scaling")
C:\Python27\lib\site-packages\Orange\__init__.py:108: UserWarning: Importing 'di
stance' failed: DLL load failed: %1 is not a valid Win32 application.
_import("distance")
C:\Python27\lib\site-packages\Orange\__init__.py:117: UserWarning: Importing 'ev
aluation.scoring' failed: DLL load failed: %1 is not a valid Win32 application.
_import("evaluation.scoring")
C:\Python27\lib\site-packages\Orange\__init__.py:118: UserWarning: Importing 'ev
aluation.testing' failed: DLL load failed: %1 is not a valid Win32 application.
_import("evaluation.testing")
C:\Python27\lib\site-packages\Orange\__init__.py:119: UserWarning: Importing 'ev
aluation.reliability' failed: DLL load failed: %1 is not a valid Win32 applicati
on.
_import("evaluation.reliability")
C:\Python27\lib\site-packages\Orange\__init__.py:122: UserWarning: Importing 'cl
ustering.kmeans' failed: DLL load failed: %1 is not a valid Win32 application.
_import("clustering.kmeans")
C:\Python27\lib\site-packages\Orange\__init__.py:123: UserWarning: Importing 'cl
ustering.hierarchical' failed: DLL load failed: %1 is not a valid Win32 applicat
ion.
_import("clustering.hierarchical")
C:\Python27\lib\site-packages\Orange\__init__.py:124: UserWarning: Importing 'cl
ustering.consensus' failed: DLL load failed: %1 is not a valid Win32 application
.
_import("clustering.consensus")
C:\Python27\lib\site-packages\Orange\__init__.py:126: UserWarning: Importing 'mi
sc' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc")
C:\Python27\lib\site-packages\Orange\__init__.py:127: UserWarning: Importing 'mi
sc.environ' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc.environ")
C:\Python27\lib\site-packages\Orange\__init__.py:128: UserWarning: Importing 'mi
sc.counters' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc.counters")
C:\Python27\lib\site-packages\Orange\__init__.py:129: UserWarning: Importing 'mi
sc.addons' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc.addons")
C:\Python27\lib\site-packages\Orange\__init__.py:130: UserWarning: Importing 'mi
sc.render' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc.render")
C:\Python27\lib\site-packages\Orange\__init__.py:131: UserWarning: Importing 'mi
sc.selection' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc.selection")
C:\Python27\lib\site-packages\Orange\__init__.py:132: UserWarning: Importing 'mi
sc.serverfiles' failed: DLL load failed: %1 is not a valid Win32 application.
_import("misc.serverfiles")
Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\Orange\\OrangeCanvas\orngCanvas.pyw", line
7, in <module>
import orngEnviron, Orange.misc.addons
File "C:\Python27\lib\site-packages\Orange\orng\orngEnviron.py", line 1, in <m
odule>
import Orange.misc.environ as environ
File "C:\Python27\lib\site-packages\Orange\misc\__init__.py", line 376, in <mo
dule>
import render
File "C:\Python27\lib\site-packages\Orange\misc\render.py", line 14, in <modul
e>
import numpy
File "C:\Python27\lib\site-packages\numpy\__init__.py", line 137, in <module>
import add_newdocs
File "C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>

from numpy.lib import add_newdoc
File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 4, in <module
>
from type_check import *
File "C:\Python27\lib\site-packages\numpy\lib\type_check.py", line 8, in <modu
le>
import numpy.core.numeric as _nx
File "C:\Python27\lib\site-packages\numpy\core\__init__.py", line 5, in <modul
e>
import multiarray
ImportError: DLL load failed: %1 is not a valid Win32 application.

PreviousNext

Return to Questions & Support