Page 1 of 1
TypeError: staticfile() got multiple values for keyword...
Posted: October 4th, 2016, 7:58 am
by Davoodoo
I am on 1.1.0 and often and randomly get the below error, even when not activly downloading anything. Any suggestions please?
Code: Select all
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 220, in __call__
File "cherrypy\_cpdispatch.pyo", line 60, in __call__
File "cherrypy\_cptools.pyo", line 177, in handle_func
TypeError: staticfile() got multiple values for keyword argument 'filename'
Re: TypeError: staticfile() got multiple values for keyword.
Posted: October 4th, 2016, 1:51 pm
by shypike
Which web browser are you using?
Did you happen to try more than one?
Re: TypeError: staticfile() got multiple values for keyword.
Posted: October 5th, 2016, 6:30 am
by Davoodoo
I use Firefox. But I don't understand why my browser makes a difference? I got the error again 3 hours ago and my browser was not even open at the time. Anything else I can try?
Re: TypeError: staticfile() got multiple values for keyword.
Posted: October 5th, 2016, 8:55 am
by safihre
Could you turn on debug logging? Then when the error appears, in the log there should be some more error logging.
This way we can see what URL was requested and hopefully fix it
After it happens again, you can send the log to
[email protected]
Re: TypeError: staticfile() got multiple values for keyword.
Posted: October 5th, 2016, 9:47 am
by Davoodoo
@safhire, thanks. I have debugging on and have a file available that has the error in. Sending it your way now. Please keep me in the loop. Much appreciated.
Re: TypeError: staticfile() got multiple values for keyword...
Posted: July 20th, 2018, 3:33 am
by guitarboy
Started to get this error with release 2.3.4 on Windows. See reply at
viewtopic.php?f=16&t=21664#p116361.