Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get NoneType from self.getStorageDevice("LocalFileStorage") #31

Closed
derekhe opened this issue Jun 7, 2015 · 2 comments
Closed

Get NoneType from self.getStorageDevice("LocalFileStorage") #31

derekhe opened this issue Jun 7, 2015 · 2 comments
Assignees

Comments

@derekhe
Copy link
Contributor

derekhe commented Jun 7, 2015

ENV: Mac OS Yosemite, also Ubuntu 15.04 in virtualbox
When starting cura_app.py, CuraApplication.py line 145:

self.getStorageDevice("LocalFileStorage").removableDrivesChanged.connect(self._removableDrivesChanged)

Traceback (most recent call last):
File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 2357, in
globals = debugger.run(setup['file'], None, None, is_module)
File "/Applications/PyCharm CE.app/Contents/helpers/pydev/pydevd.py", line 1777, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/sche/dev/cura/Cura/cura_app.py", line 9, in
app.run()
File "/Users/sche/dev/cura/Cura/cura/CuraApplication.py", line 145, in run
self.getStorageDevice("LocalFileStorage").removableDrivesChanged.connect(self._removableDrivesChanged)
AttributeError: 'NoneType' object has no attribute 'removableDrivesChanged'
Traceback (most recent call last):

@derekhe
Copy link
Contributor Author

derekhe commented Jun 11, 2015

I can disable this line and other lines about _removableDrivesChanged to get it working but I'm curious how other guys get it working. Is there anything missing?

@derekhe
Copy link
Contributor Author

derekhe commented Jun 11, 2015

Fixed. The problem is Uranium's plugin is not installed correctly. Now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants