OpenWebGlobe / WebViewer

Engine development: OpenWebGlobe for WebGL
http://www.openwebglobe.org
Other
157 stars 76 forks source link

poiloader.js not found #13

Closed jamesreilly closed 13 years ago

jamesreilly commented 13 years ago

I have compiled everything with no errors and now i am getting a poiloader.js not found error when i try to run demo.html. I also get a security violation (18) when i try to run the source/tutorials/05_POI/POI_06_Test.html file.

The security violation is weird because i am running from a local server on port :8090. I will check if cookies are disabled, but i doubt that is true since in have been using this server for a long time.

/jpr

BenjaminLoesch commented 13 years ago

Sorry for that, I corrected the worl demo. I tried there something wich shouldn't be checked in on github. The security violation is weird do the other poi tutorials run? Could it be that there is a cross-origin problem because we're loading the poi graphic from another server, which browser do you use?

-----Ursprüngliche Nachricht----- Von: James Reilly [mailto:reply@reply.github.com] Gesendet: Donnerstag, 8. September 2011 23:16 An: Loesch Benjamin Betreff: [WebViewer] poiloader.js not found (#13)

I have compiled everything with no errors and now i am getting a poiloader.js not found error when i try to run demo.html. I also get a security violation (18) when i try to run the source/tutorials/05_POI/POI_06_Test.html file.

The security violation is weird because i am running from a local server on port :8090. I will check if cookies are disabled, but i doubt that is true since in have been using this server for a long time.

/jpr

Reply to this email directly or view it on GitHub: https://github.com/OpenWebGlobe/WebViewer/issues/13

jamesreilly commented 13 years ago

using chrome... i was able to get around the cookie security violation by adding the --allow-file-access-from-files command line option on launching chrome.

I would help you debug the problem but because you have used the google closure compiler for everything it is all but impossible to trace back.

Might i suggest that you provide a version that runs without the chrome compiler so that others may help in the debugging process. I would love to help you with testing this project but right now it is too time consuming to dig through compiled JavaScript to figure out the problems

/jpr


From: BenjaminLoesch [reply@reply.github.com] Sent: Thursday, September 08, 2011 11:34 PM To: James P. Reilly Subject: Re: [WebViewer] poiloader.js not found (#13)

Sorry for that, I corrected the worl demo. I tried there something wich shouldn't be checked in on github. The security violation is weird do the other poi tutorials run? Could it be that there is a cross-origin problem because we're loading the poi graphic from another server, which browser do you use?

-----Ursprüngliche Nachricht----- Von: James Reilly [mailto:reply@reply.github.com] Gesendet: Donnerstag, 8. September 2011 23:16 An: Loesch Benjamin Betreff: [WebViewer] poiloader.js not found (#13)

I have compiled everything with no errors and now i am getting a poiloader.js not found error when i try to run demo.html. I also get a security violation (18) when i try to run the source/tutorials/05_POI/POI_06_Test.html file.

The security violation is weird because i am running from a local server on port :8090. I will check if cookies are disabled, but i doubt that is true since in have been using this server for a long time.

/jpr

Reply to this email directly or view it on GitHub: https://github.com/OpenWebGlobe/WebViewer/issues/13

Reply to this email directly or view it on GitHub: https://github.com/OpenWebGlobe/WebViewer/issues/13#issuecomment-2048591

BenjaminLoesch commented 13 years ago

Hi Just use these 3 lines:

Instead of:

in any of the html-file in tutorials.

So you import the uncompiled version and your able to see the source code in a debugger.

Beni

-----Ursprüngliche Nachricht----- Von: James Reilly [mailto:reply@reply.github.com] Gesendet: Freitag, 9. September 2011 19:29 An: Loesch Benjamin Betreff: Re: [WebViewer] poiloader.js not found (#13)

using chrome... i was able to get around the cookie security violation by adding the --allow-file-access-from-files command line option on launching chrome.

I would help you debug the problem but because you have used the google closure compiler for everything it is all but impossible to trace back.

Might i suggest that you provide a version that runs without the chrome compiler so that others may help in the debugging process. I would love to help you with testing this project but right now it is too time consuming to dig through compiled JavaScript to figure out the problems

/jpr


From: BenjaminLoesch [reply@reply.github.com] Sent: Thursday, September 08, 2011 11:34 PM To: James P. Reilly Subject: Re: [WebViewer] poiloader.js not found (#13)

Sorry for that, I corrected the worl demo. I tried there something wich shouldn't be checked in on github. The security violation is weird do the other poi tutorials run? Could it be that there is a cross-origin problem because we're loading the poi graphic from another server, which browser do you use?

-----Ursprüngliche Nachricht----- Von: James Reilly [mailto:reply@reply.github.com] Gesendet: Donnerstag, 8. September 2011 23:16 An: Loesch Benjamin Betreff: [WebViewer] poiloader.js not found (#13)

I have compiled everything with no errors and now i am getting a poiloader.js not found error when i try to run demo.html. I also get a security violation (18) when i try to run the source/tutorials/05_POI/POI_06_Test.html file.

The security violation is weird because i am running from a local server on port :8090. I will check if cookies are disabled, but i doubt that is true since in have been using this server for a long time.

/jpr

Reply to this email directly or view it on GitHub: https://github.com/OpenWebGlobe/WebViewer/issues/13

Reply to this email directly or view it on GitHub: https://github.com/OpenWebGlobe/WebViewer/issues/13#issuecomment-2048591

Reply to this email directly or view it on GitHub: https://github.com/OpenWebGlobe/WebViewer/issues/13#issuecomment-2053684