Hi guys,
get this error since B1.
Do you know what it means?
I'm on OSX 10.11.2 with Python 2.7.2
0.8.0 B4 ENGINE TypeError('expected string or buffer',)
Forum rules
Help us help you:
Help us help you:
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
No idea.
Have you tried the latest Beta?
Or does it happen with the latest too?
Have you tried the latest Beta?
Or does it happen with the latest too?
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
(see the title of the post, so Beta4 also)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
OK, missed that.
Under which circumstances does it occur?
SABnzbd is mainly developed on OSX (recently El Capitan) and I have never seen this issue.
Under which circumstances does it occur?
SABnzbd is mainly developed on OSX (recently El Capitan) and I have never seen this issue.
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
FWIW: the error seems to producible from a RE in plain python, so that might be the cause in the wsgiserver2.py:
Good:
Error:
I can't match this against the cherrypy/wsgiserver/wsgiserver2.py, as read_request_line is in different lines than reported by the OP.
Good:
Code: Select all
>>> re.search("it", 'ditdat' )
<_sre.SRE_Match object at 0x7fbaaa8fe5e0>
Code: Select all
>>> re.search("it", ['ditdat'] )
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/re.py", line 146, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or buffer
>>>
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
I can see that line 705 isn't 100% crash-proof.
I'll investigate some more and at the least make a patch that will make the symptom go away.
Too bad that I do not have a scenario that reproduces it.
@.maxx: are there any specific circumstances under which this occurs?
I'll investigate some more and at the least make a patch that will make the symptom go away.
Too bad that I do not have a scenario that reproduces it.
@.maxx: are there any specific circumstances under which this occurs?
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
@shypike
No I can't reproduce it. It occurs once a day.
Perhaps it is connected with the RSS feeds. I don't know.
No I can't reproduce it. It occurs once a day.
Perhaps it is connected with the RSS feeds. I don't know.
-
- Newbie
- Posts: 10
- Joined: March 14th, 2013, 9:19 pm
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
I'm getting the same thing on 0.8.0Beta3 [0b6395f] with Python 2.7.3 (default, Mar 13 2014, 11:03:55) [GCC 4.7.2], Debian Wheezy.
Code: Select all
ERROR 07/01/2016 12:52 [07/Jan/2016:12:52:41] ENGINE TypeError('expected string or buffer',)
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/wsgiserver2.py", line 1358, in communicate
req.parse_request()
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/wsgiserver2.py", line 618, in parse_request
success = self.read_request_line()
File "/usr/share/sabnzbdplus/cherrypy/wsgiserver/wsgiserver2.py", line 705, in read_request_line
atoms = [unquote(x) for x in quoted_slash.split(path)]
TypeError: expected string or buffer
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
Will be fixed in the next release.
Any info about circumstances?
Any info about circumstances?
Re: 0.8.0 B4 ENGINE TypeError('expected string or buffer',)
Have the same issue occur. Noticed it happens and i lose connection to SAB. Then it comes back with that error.
Was downloading a about 11 nzbs from usenet-crawler on OSX el capitan (most recent non-beta).
Also noticed I get a "Failed to send pushbullet message" warning as well. will investigate settings for that issue though.
Was downloading a about 11 nzbs from usenet-crawler on OSX el capitan (most recent non-beta).
Also noticed I get a "Failed to send pushbullet message" warning as well. will investigate settings for that issue though.