Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Stel hier je vragen in het Nederlands.
Je zult sneller (en misschien betere) antwoorden in de engelstalige "boards" krijgen. TIP: je kunt je "profile" ook op Nederlands instellen.
Post Reply
denbeiren
Newbie
Newbie
Posts: 3
Joined: July 12th, 2019, 3:33 am

Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Post by denbeiren » July 12th, 2019, 3:40 am

Kan iemand mij hier verder in helpen?

Ik heb de gewone ubuntu updates gedraaid, na een reboot van de server krijg ik dit te zien op de webinterface van sabnzbd,.. :(


graag https dubbelpunt dubbelslash voorzetten,.. ik mag als nieuw lid geen links posten


pastebin punt com slash 0Qjn5hEY

EDIT door admin:

https://pastebin.com/0Qjn5hEY

https://pastebin.com/raw/0Qjn5hEY

Code: Select all

500 Internal Server Error

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

Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 127, in internal_wrap
    return wrap_func(*args, **kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 413, in index
    history['slots'], fetched_items, history['noofslots'] = build_history(limit=cfg.history_limit(), output='json')
  File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 1818, in build_history
    items = get_active_history(queue, items)
  File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 1890, in get_active_history
    history = build_history_info(nzo)
  File "/usr/share/sabnzbdplus/sabnzbd/database.py", line 486, in build_history_info
    lines.append('%s:::%s' % (key, ';'.join(results)))
TypeError: sequence item 0: expected string, int found

User avatar
sander
Release Testers
Release Testers
Posts: 6674
Joined: January 22nd, 2008, 2:22 pm

Re: Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Post by sander » July 12th, 2019, 3:58 am

welke versie van SABnzbd (en Ubuntu) is dat?

denbeiren
Newbie
Newbie
Posts: 3
Joined: July 12th, 2019, 3:33 am

Re: Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Post by denbeiren » July 13th, 2019, 3:26 am

Ubuntu 18.04

sabnzbd kan ik niet achterhalen,.. (ken het cli commando niet)

User avatar
sander
Release Testers
Release Testers
Posts: 6674
Joined: January 22nd, 2008, 2:22 pm

Re: Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Post by sander » July 13th, 2019, 3:53 am

denbeiren wrote:
July 13th, 2019, 3:26 am
sabnzbd kan ik niet achterhalen,.. (ken het cli commando niet)
Oh. Hoe goed ben je met Linux?

Gezien de foutmelding

Code: Select all

database.py", line 486, in build_history_info
denk ik dat je fout zit in je history/database. Is het acceptabel voor je om je history en instelling kwijt te raken, en SAB eenmalig opnieuw te moeten configureren?

denbeiren
Newbie
Newbie
Posts: 3
Joined: July 12th, 2019, 3:33 am

Re: Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Post by denbeiren » July 13th, 2019, 10:23 am

Ik ken er wel "iets" van,.. maar een doorwinterde cli gebruiker kan je me niet noemen :-)

Settings verliezen is geen enkel probleem hoor :-)

User avatar
safihre
Administrator
Administrator
Posts: 3270
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Post by safihre » July 14th, 2019, 1:54 am

Je hoeft alleen je history1.db file te verwijderen, niet al je settings.
Deze staat waarschijnlijk in de map "~/.sabnzbd/admin/"
Wel eerst SABnzbd uitschakelen, anders kan het niet!

User avatar
sander
Release Testers
Release Testers
Posts: 6674
Joined: January 22nd, 2008, 2:22 pm

Re: Foutmeldingen na update "TypeError: sequence item 0: expected string, int found"

Post by sander » July 14th, 2019, 2:18 am

Met Safihre's detail-info, moet je dit dus doen:

SABnzbd stoppen

Daarna een terminal openen
In de terminal typen:

cd
cd .sabnzbd
cd admin
mv history1.db history1.db.OUD

Daarna kan je SABnzbd weer starten

Post Reply