kripken / intensityengine

[Not active!] An open source platform for 3D games and virtual worlds
https://web.archive.org/web/20100222011320/http://www.syntensity.com/
Other
58 stars 15 forks source link

[Master Server] Web assets not found in Production mode #15

Closed RaXaR closed 14 years ago

RaXaR commented 14 years ago

Hi, I'm running Master Server, Server and Client on Vista 32

When I switch the master server to Production mode (settings = settings_production) then all web assets (CSS/JS/Images) on localhost:8080 returns a 404 file not found. Login also still fails just like in debug mode.

kripken commented 14 years ago

I suspect you forgot to add 'prod' to the commandline when running the master. It is mentioned in the docs, but perhaps not clearly enough, I clarified it in commit 026c87103051c5c02297c31955e351bf681c07ab

If that doesn't fix your problem, please reopen this issue and we'll try to figure it out.

RaXaR commented 14 years ago

I ran the master server with what you suggested: C:\intensityengine>intensity_master.bat local\master_server prod

and settings = settings_production

Still had the same problem.

kripken commented 14 years ago

Ah, looks like the parameters are not all passed on through the bat file. I fixed it now in

a606670a9a78de021e34848b8f6ec9d8b99f9db2

let me know if it works.

RaXaR commented 14 years ago

Nope, without compiling again, i got the following error msg: C:\intensityengine>python intensity_master.py local\master_server prod Initialized logging system to: C:\intensityengine\local\master_server\log.Fri-Ma r-05-22_14_12-2010 - INFO [[PRODUCTION]] Traceback (most recent call last): File "prod_server.py", line 30, in import cherrypy ImportError: No module named cherrypy

kripken commented 14 years ago

Hmm, the docs don't mention that you need to have CherryPy installed. But, I guess it should be bundled anyhow, so I did that in 607692aed347cb338bba76abb5755e416cdb165e

It should run now.

RaXaR commented 14 years ago

Yes, that did the trick, thanks :). Now just the login problem :P