-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cura's main window is blank #32
Comments
Solved by copy the resource from Uranium's directory. |
Virtual box has a lot of problems with openGL rendering. This is probably a problem with your graphic drivers. |
@nallath I don't think so. I tried directly on Mac Yosemite but still can't work. |
Sounds like an issue with resource lookup. There are a bunch of locations that get searched for the resource files, mostly dependant on the application binary path, which might not always be correct. Off the top of my head, at least the following are searched:
Where $appdir is the directory of the application binary. In addition, paths relative to the python files are added, but only when Python's sys module does not have the "frozen" attribute, since that usually implies a py2app/py2exe application. Now, it is quite possbile that $appdir is incorrect in your case, I have only tested it on MacOSX using the py2app version. |
Fixed, I added the build script here: Ultimaker/cura-build#1 |
This uses an untranslatable string, but it should really be fixed inside Cura. Fixes Ultimaker#32
two env has same problem:
1.Mac Yosemite
2.Ubuntu 15.04 (in virtualbox)
When opening Cura's main window, the main window is blank even after loading stl file.
There is one error is showing when click inside the window.
FileNotFoundError: Could not find resource ('default.vert',) in 5
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/UM/Qt/Bindings/MainWindow.py", line 120, in _render
renderer.beginRendering()
File "/usr/local/lib/python3.4/site-packages/UM/Qt/QtGL2Renderer.py", line 154, in beginRendering
self._initialize()
File "/usr/local/lib/python3.4/site-packages/UM/Qt/QtGL2Renderer.py", line 321, in _initialize
Resources.getPath(Resources.ShadersLocation, "default.vert"),
File "/usr/local/lib/python3.4/site-packages/UM/Resources.py", line 50, in getPath
raise FileNotFoundError("Could not find resource {0} in {1}".format(args, type))
FileNotFoundError: Could not find resource ('default.vert',) in 5
The text was updated successfully, but these errors were encountered: