0.8.0 B3 Retry fails often with Glitter night skin

Questions and bug reports for Beta releases should be posted here.
Forum rules
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.
Post Reply
ErikBrown
Release Testers
Release Testers
Posts: 118
Joined: December 20th, 2009, 1:25 am
Location: Home

0.8.0 B3 Retry fails often with Glitter night skin

Post by ErikBrown »

Hi,

Using the Glitter Night skin I notice often (but not always) the following. My temporary download folder is located on my C drive. The folders for completed downloads are on other drives. I use different harddrives for different categories. When one of the harddrives for the completed downloads is full, then the download failed with the following error:

Unpacking failed, write error or disk is full?

When I free up space on the drive for the completed download for that category and I select Retry, then I get correctly the popup where I can select an optional supplemental NZB or set a password. When I click on Retry then often there is no visible effect other than the following error message:

ERROR 06/12/2015 20:15 [06/Dec/2015:20:15:32] HTTP
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 217, in __call__
File "cherrypy\_cpdispatch.pyo", line 61, in __call__
File "sabnzbd\interface.pyo", line 1010, in retry_pp
File "sabnzbd\api.pyo", line 1556, in retry_job
AttributeError: '_ThreadData' object has no attribute 'history_db'

When I use the smpl skin (which I configured as secondary skin) and select Retry, then I also get sometimes a failure:

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 217, in __call__
File "cherrypy\_cpdispatch.pyo", line 61, in __call__
File "sabnzbd\interface.pyo", line 474, in retry_pp
File "sabnzbd\api.pyo", line 1556, in retry_job
AttributeError: '_ThreadData' object has no attribute 'history_db'


I am not sure if this is related to another issue but I see very often the following error message while using the Glitter Night skin:

Lost connection to SABnzbd..

In case of SABnzbd restart this screen will disappear automatically!

When this happens and I wait a few seconds then the error disappears and the proper screen will be shown again.

I use Windows 10, Glitter Night as primary skin and smpl as secondary skin.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by shypike »

Likely a bug in the web framework we use, which might be triggered by the full disk.
Is the primary disk ever full? Is all administrative data located on the primary disk?
It's looking for a connection to the History database.
I assume you download history isn't lost?
clowg
Newbie
Newbie
Posts: 10
Joined: February 12th, 2016, 11:44 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by clowg »

I'm getting the same error I believe. This is on a Windows system that has just been upgraded from 7.2 to 1.0.0.RC1 today.

ERROR 13/02/2016 17:34 [13/Feb/2016:17:34:48] HTTP
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 217, in __call__
File "cherrypy\_cpdispatch.pyo", line 61, in __call__
File "sabnzbd\interface.pyo", line 447, in tapi
File "sabnzbd\api.pyo", line 105, in api_handler
File "sabnzbd\api.pyo", line 496, in _api_history
File "sabnzbd\api.pyo", line 1611, in del_hist_job
AttributeError: '_ThreadData' object has no attribute 'history_db'
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by shypike »

clowg wrote:I'm getting the same error I believe. This is on a Windows system that has just been upgraded from 7.2 to 1.0.0.RC1 today.
Does this happen when you remove something from History or when you retry a failed job?
Does it always happen or only some of the times?
clowg
Newbie
Newbie
Posts: 10
Joined: February 12th, 2016, 11:44 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by clowg »

It happens when I first load the UI - at logon. I havent performed any actions other than loggin in. Here is what happened when I started the browser up a few minutes ago:

14/02/2016 00:11 [14/Feb/2016:00:11:06] HTTP
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 217, in __call__
File "cherrypy\_cpdispatch.pyo", line 61, in __call__
File "sabnzbd\interface.pyo", line 447, in tapi
File "sabnzbd\api.pyo", line 105, in api_handler
File "sabnzbd\api.pyo", line 496, in _api_history
File "sabnzbd\api.pyo", line 1611, in del_hist_job
AttributeError: '_ThreadData' object has no attribute 'history_db'
ERROR 14/02/2016 00:10 [14/Feb/2016:00:10:58] HTTP
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 670, in respond
File "cherrypy\lib\encoding.pyo", line 217, in __call__
File "cherrypy\_cpdispatch.pyo", line 61, in __call__
File "sabnzbd\interface.pyo", line 447, in tapi
File "sabnzbd\api.pyo", line 105, in api_handler
File "sabnzbd\api.pyo", line 496, in _api_history
File "sabnzbd\api.pyo", line 1611, in del_hist_job
AttributeError: '_ThreadData' object has no attribute 'history_db'

G.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by shypike »

OK, this is a race condition.
I know enough to start looking for a solution.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by shypike »

Should be fixed in the next release.
clowg
Newbie
Newbie
Posts: 10
Joined: February 12th, 2016, 11:44 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by clowg »

Cheers :)
clowg
Newbie
Newbie
Posts: 10
Joined: February 12th, 2016, 11:44 pm

Re: 0.8.0 B3 Retry fails often with Glitter night skin

Post by clowg »

Just incase this helps, here are the errors that showed up when I opened the web interface this morning:

02/03/2016 23:39 [02/Mar/2016:23:39:36] Traceback (most recent call last):
File "cherrypy\_cpwsgi.pyo", line 180, in trap
File "cherrypy\_cpwsgi.pyo", line 99, in __call__
File "cherrypy\_cpwsgi.pyo", line 410, in tail
File "cherrypy\_cpwsgi.pyo", line 234, in __init__
File "cherrypy\_cpwsgi.pyo", line 306, in run
File "cherrypy\_cptree.pyo", line 132, in get_serving
File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: TypeError("'NoneType' object has no attribute '__getitem__'",)
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:36] ENGINE Error in 'acquire_thread' listener >
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 205, in publish
File "cherrypy\process\plugins.pyo", line 703, in acquire_thread
File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: TypeError("'NoneType' object has no attribute '__getitem__'",)
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:36] ENGINE Error in 'start_thread' listener
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 205, in publish
File "sabnzbd\__init__.pyo", line 202, in connect_db
File "sabnzbd\database.pyo", line 53, in get_history_handle
File "sabnzbd\database.pyo", line 83, in __init__
File "sabnzbd\database.pyo", line 104, in connect
TypeError: 'NoneType' object has no attribute '__getitem__'
ERROR 02/03/2016 23:39 SQL Command Failed, see log
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:35] Traceback (most recent call last):
File "cherrypy\_cpwsgi.pyo", line 180, in trap
File "cherrypy\_cpwsgi.pyo", line 99, in __call__
File "cherrypy\_cpwsgi.pyo", line 410, in tail
File "cherrypy\_cpwsgi.pyo", line 234, in __init__
File "cherrypy\_cpwsgi.pyo", line 306, in run
File "cherrypy\_cptree.pyo", line 132, in get_serving
File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: TypeError("'NoneType' object has no attribute '__getitem__'",)
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:35] ENGINE Error in 'acquire_thread' listener >
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 205, in publish
File "cherrypy\process\plugins.pyo", line 703, in acquire_thread
File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: TypeError("'NoneType' object has no attribute '__getitem__'",)
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:35] ENGINE Error in 'start_thread' listener
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 205, in publish
File "sabnzbd\__init__.pyo", line 202, in connect_db
File "sabnzbd\database.pyo", line 53, in get_history_handle
File "sabnzbd\database.pyo", line 83, in __init__
File "sabnzbd\database.pyo", line 104, in connect
TypeError: 'NoneType' object has no attribute '__getitem__'
ERROR 02/03/2016 23:39 SQL Command Failed, see log
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:34] Traceback (most recent call last):
File "cherrypy\_cpwsgi.pyo", line 180, in trap
File "cherrypy\_cpwsgi.pyo", line 99, in __call__
File "cherrypy\_cpwsgi.pyo", line 410, in tail
File "cherrypy\_cpwsgi.pyo", line 234, in __init__
File "cherrypy\_cpwsgi.pyo", line 306, in run
File "cherrypy\_cptree.pyo", line 132, in get_serving
File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: TypeError("'NoneType' object has no attribute '__getitem__'",)
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:34] ENGINE Error in 'acquire_thread' listener >
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 205, in publish
File "cherrypy\process\plugins.pyo", line 703, in acquire_thread
File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: TypeError("'NoneType' object has no attribute '__getitem__'",)
ERROR 02/03/2016 23:39 [02/Mar/2016:23:39:34] ENGINE Error in 'start_thread' listener
Traceback (most recent call last):
File "cherrypy\process\wspbus.pyo", line 205, in publish
File "sabnzbd\__init__.pyo", line 202, in connect_db
File "sabnzbd\database.pyo", line 53, in get_history_handle
File "sabnzbd\database.pyo", line 83, in __init__
File "sabnzbd\database.pyo", line 104, in connect
TypeError: 'NoneType' object has no attribute '__getitem__'
ERROR 02/03/2016 23:39 SQL Command Failed, see log
Post Reply