List Info

Thread: Upgrade to 2.2 - static problems




Upgrade to 2.2 - static problems
user name
2006-04-11 09:47:29
> Sorry for taking so long to reply, I only have internet
access at
> work.
>
>>> This morning, upon firing the server up, it
didn't work again.  I
>>> can't seem to get httpauthfilter to behave
itself.  With it not
>>> in use, static content is served without a
hitch.  When it is
>>> turned on, no static content is served.  Is
there something that I
>
>>> have to do to get things to play nicely?
>> Russell: if this doesn't help, could you provide a
more detailed
>> explanation of the problem.  Maybe a snippet of
your CP access logs
>> and any tracebacks.
>
> I have attached a text file showing events from CP
being started to
> me viewing the index page.  The content of the page
appears
> correctly.  However the image (/resources/duck.jpg)
does not display
> and the css file (/resources/styles.css) is not
applied.
>
> If I attempt to go directly to
> http://loc
alhost:8080/resources/styles.css I receive:
>
> """
> 500 Internal error
>
> The server encountered an unexpected condition which
prevented it
> from fulfilling the request.
>
> Page handler: <bound method Russell.default of
<__main__.Russell
> instance at 0x00CD1080>>
> Traceback (most recent call last):
>  File
>
"N:\sfsu\tools\python\movpy\lib\Lib\site-packag
es\cherrypy\_cphttptools.py",
> line 106, in _run
>  File
>
"N:\sfsu\tools\python\movpy\lib\Lib\site-packag
es\cherrypy\_cphttptools.py",
> line 255, in main
> TypeError: default() takes exactly 1 argument (3 given)
> """
>
> If I comment out default, all of the errors are 404s.
>
> Thank you for any advice you may have.

Can you post some sample code demonstrating the problem ?
It's hard to tell 
what's happening without seeing your code and configuration
...

Remi.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )