-
Notifications
You must be signed in to change notification settings - Fork 21
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
Uncaught TypeError: Cannot read property 'vm' of undefined (index):22 onkeyup #153
Comments
I can't reproduce this, seems to work OK with my setup (both static generated HTML and served through a websocket). So, what do you see when you load the page, how and when do you get the error, are you able to create new todo items, delete them? |
The page loads fine but I am unable to create new to items and hence delete them , I see the following errors in the JS console (Chrome, Safari, Firefox latest on a Mac 10.9) GET http://localhost:8080/learn.json 404 (Not Found) base.js In Firefox I get a this.app is undefined.... |
It seems that this.app is undefined in all browsers |
can you attach here the generated (static) HTML, I would like to compare with what I get wwith my setup Thanks! |
Hi, you attached the 'static' folder, but the generated HTML is just a file named todomvc.html placed in the examples/todomvc folder, just next to the 'static' folder which you attached So currently I can't run your generated html app |
Sorry I didn't read your request carefully...I've attached the file again as a png |
File seems corrupted or empty, this time I cannot open it :( Did you use a "clean" Webalchemy install? what version of Pythonium do you have? |
Attached the file again...please rename to todomvc.html from the png since you can only attach images to comments on github I used a clean webalchemy installed using: |
Still can't d/l... anyway just send me the html file without compression, by mail to [email protected] Also - did you get the file by running free_app.py? |
I ran server.generate_static()...emailed the file to you |
closed by mistake... |
Well...I am on a Mac OS X Mavericks 10.9 machine ...is it possible that the platform difference is to blame? |
I never tried with Python 3.4, maybe this is the problem. I'll try it |
It is quite possibly the problem...which version of Python 3 is it tested with? I can try that too...but since 3.4 is the future its likely we have to make it work against that |
Indeed, Python 3.4 seems to cause this problem, I just tried it. I'll try to fix Pythonium (or patch it through webalchemy) to fix this |
related: PyCQA/pep8-naming#10 |
fixed in master! please check before I package this up. Also I'm not closing the issue since there is one more fix due to Python 3.4, as the link above suggests |
It seems to work with this fix ...just diving into the webalchemy code to get a better handle on exactly how it works...are you at all concerned that Pythonium has been abandoned by the creator? |
I'm not concerned, I'll take maintenance and development ownership. Also this functionality is mostly orthogonal to the rest of webalchemy, and not sol long ago it worked w/o any translation of Python to JS. Also PythonJS, if ported to Python3, can be plugged in easily |
Getting this error from git master in the TODO MVC example. Is something obviously wrong since the online demo works fine.
The text was updated successfully, but these errors were encountered: