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

Problems with loading main from url #10

Closed
talltyler opened this issue Aug 9, 2012 · 3 comments
Closed

Problems with loading main from url #10

talltyler opened this issue Aug 9, 2012 · 3 comments
Labels

Comments

@talltyler
Copy link

If in your package.json you define a main html file being a url you get this message,
Failed to load URL file:///tmp/node-webkit/example/http://google.com with error (-6).

If you try to load a url from the toolbar you get this error and the application crashes.
Application launches with main file
2012-08-09 14:10:47.363 nw Helper[13878:707] Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
[0809/141047:ERROR:renderer_main.cc(204)] Running without renderer sandbox
Bus error: 10

It would be cool if we could load html files that are not included in our packages, mainly so these files can be created by some type of server process rather than needing to be a static file.

@zcbenz
Copy link
Contributor

zcbenz commented Aug 10, 2012

It's a bug that an url in 'main' field doesn't work.

Open url from toolbar should work, which url are you opening?

@talltyler
Copy link
Author

My bad, you are correct. This works for me also.

@zcbenz
Copy link
Contributor

zcbenz commented Aug 11, 2012

This bug is now fixed, please wait for next binary release.

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

No branches or pull requests

2 participants