Orange Forum • View topic - Cannot load any data

Cannot load any data

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

Cannot load any data

Postby franjesus » Fri Jan 07, 2011 14:32

Hi, after installing orange on Ubuntu Maverick, performing some of the dirty tricks suggested on this forum, I get this when I try to open any of the example files:

Unhandled exception of type AttributeError occured at 14:19:41:
Traceback:
File: orngSignalManager.py, line 61 in __call__
Code: self.method(*k)
File: OWFile.py, line 142 in selectFile
Code: self.browseFile(1)
File: OWFile.py, line 203 in browseFile
Code: self.openFile(self.recentFiles[0], 0, self.symbolDK, self.symbolDC)
File: OWFile.py, line 286 in openFile
Code: attrs = [attr.name for attr, stat in zip(data.domain, data.attributeLoadStatus) if stat == status] \
AttributeError: 'orange.ExampleTable' has no attribute 'attributeLoadStatus'

Any clues?

Same Problem

Postby Terence » Mon Jan 17, 2011 15:15

I have the same problem on Ubuntu Maverick, except mine occures given any data file.

I'm using the version from the debian repositories.
I have created a soft link to dist-packages as the Debian version expects to be running in python 2.5 and maverick supports 2.6

Anyone solved this issue yet?

Postby Ales » Wed Jan 19, 2011 12:16

I can't duplicate this error.
Could you try building orange from source and see if the error persists. Just run
Code: Select all
svn co http://ailab.si/svn/orange/trunk/orange orange
svn co http://ailab.si/svn/orange/trunk/source orange/source
cd orange
python setup.py build
python setup.py install --user

This will install orange locally in ~/.local/lib/python2.6/site-packages so it does not conflict with the system install. You can then run canvas with ~/.local/bin/orange-canvas

P.S.
Make sure g++ and numpy are installed, before building.

Postby Terence » Fri Jan 21, 2011 9:43

It is working, after a compile must be a debian vs ubuntu issue.


Return to Bugs