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

Blank page in browser, 404 for javascripts/main.js #25

Open
djoshea opened this issue Mar 2, 2014 · 3 comments
Open

Blank page in browser, 404 for javascripts/main.js #25

djoshea opened this issue Mar 2, 2014 · 3 comments

Comments

@djoshea
Copy link

djoshea commented Mar 2, 2014

Just installed on mac os via sudo pip install butterfly. Ran butterfly.server.py and visited http://localhost:57575/ in Chrome or Firefox. Blank screen. Looked at source code, found that the request for javascripts/main.js returns 404: Not Found.

Terminal output looks like:

[I 140301 14:23:20 web:1462] 304 GET / (127.0.0.1) 0.64ms
[W 140301 14:23:20 web:1462] 404 GET /static/stylesheets/main.css?v=fb916 (127.0.0.1) 0.41ms
[W 140301 14:23:20 web:1462] 404 GET /static/javascripts/main.js?v=5b7f0 (127.0.0.1) 0.41ms
[W 140302 09:49:43 web:1462] 404 GET /favicon.ico (127.0.0.1) 3.07ms
[W 140302 09:49:47 web:1462] 404 GET /static/javascripts/main.js?v=5b7f0 (127.0.0.1) 0.46ms
[W 140302 09:49:50 web:1462] 404 GET /static/javascripts/main.js (127.0.0.1) 0.28ms

Any ideas?

@paradoxxxzero
Copy link
Owner

This may be a right issue. Can you try to run it as root ?

@ghost
Copy link

ghost commented Sep 10, 2015

I have installed butterfly on a virtual machine and managed to get it working in the same machine(ssl). However if i access the same URL from outside the VM i get the 404: Not Found. All certificates are imported properly and its running as a root.

@paradoxxxzero
Copy link
Owner

Do you start it with a --host that is resolvable from outside of the vm ?

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

No branches or pull requests

2 participants