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
ImportError: cannot import name app #11
Comments
Sorry for that. The best way is to use the git version:
If this does not work, can you send the traceback here ? |
Is there a way to force a specific backend to be default? |
Yes, edit glumpy/defaults.py (search for backend). |
Ahh, tried this before. It still says it needs an updated version of glfw: Traceback (most recent call last): so I compiled and installed an updated version of glfw, 3.0.4 with the default backend set to freeglut Traceback (most recent call last): There's a new error while trying to import app, so that's an improvement :) |
oops, I meant I first changed the default backend to freeglut and it still wanted glfw which is when I compiled and installed glfw3.0.4 |
Can you try:
(This is to get all GL_STENCIL_ constants) |
In [3]: gl.GL_STENCIL :( |
Can you try to replace the GL_STENCIL_INDEX8 with GL_STENCIL_INDEX8_EXT ? |
Already ahead of you.. Now: Traceback (most recent call last): |
Weird, you can remove the line but it is supposed to work. |
I removed that "from . graphics.filter import *" from the root init.py and now its saying the same for collection.. after commenting that out it complains about not having freeglut. Recompiling with default of glfw and fixing stencil_index8 agai nI am back to the no module named filter. |
But you commented the filter line, no ? |
Yup, after commenting out both graphics.filter and graphics.collection I now get: Traceback (most recent call last): I'm guessing this is a versioning thing.. so even if I change a few calls there will be 100 more to change. |
What is your system and graphic card ? |
Ubuntu 12.04, running bumblebee which requires a special command to run under the nvidia portion of the nvidia/intel split graphics card. I hadn't thought of that and just tried it. still same problem with glBindFramebuffer |
Ok. I've surrounded the line with try/except. It's only for configuration reading so not really essential. You can pull or add:
|
Get a black window now with nothing happening.. tried a few other examples, nada. (Except for some complaints about VertexBuffer object has no attriute '_handle' but that's not relevant yet) [w] no fb |
Can you try the app-events.py ? |
[w] no fb |
And the window is black also ? |
yup |
Can you try to add:
in the display method in app-events.py example |
now its white |
Cool, at least basic GL is working. |
Yup! |
gloo-* examples are also working ? |
Getting a vertexuffer error most of the other examples get: [w] no fb |
Strange. I tried to push a fix but I don't know if it will work. |
No go. And even commenting out this 2 line base portion I get: Changing 'return self._handle' to 'return self.handle' gets a max recursion error. As you're working on vispy I'd say lets just close it.. Noone has reported anything remotely similar to what I've encountered. |
Yes, but if you get the bug, some others will get it... |
I have tried installing glumpy both via pip and through the pymor ubuntu ppa repository but get the same results, even after reinstalling and reconfiguring multiple related packages. All dependencies are installed per the installation instructions.
Oddly, if I just do the following, I get an empty window.
Here's another example
I'm utterly confused, I've spent 3 hours on this and can find nothing relevant.
I'm using python 2.7.
The text was updated successfully, but these errors were encountered: