Modify

Ticket #628 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

Wont start - ValueError: insecure string pickle

Reported by: illektr1k Owned by: quinox
Priority: normal Milestone: Release 1.2.16
Component: nicotine Version: 1.2.15
Keywords: Cc:

Description

Crashes with this output:

Traceback (most recent call last):

File "/usr/bin/nicotine", line 275, in <module>

run()

File "/usr/bin/nicotine", line 261, in run

app = frame.MainApp?(config, plugins, trayicon, tryrgba, hidden, webbrowser)

File "/usr/lib/python2.6/site-packages/pynicotine/gtkgui/frame.py", line 3607, in init

self.frame = NicotineFrame?(config, plugindir, trayicon, rgbamode, start_hidden, WebBrowser?)

File "/usr/lib/python2.6/site-packages/pynicotine/gtkgui/frame.py", line 329, in init

self.np = NetworkEventProcessor?(self, self.callback, self.logMessage, self.SetStatusText?, config)

File "/usr/lib/python2.6/site-packages/pynicotine/pynicotine.py", line 109, in init

self.config.readConfig()

File "/usr/lib/python2.6/site-packages/pynicotine/config.py", line 416, in readConfig

self.sectionstransfers?downloads? = cPickle.load(handle)

ValueError?: insecure string pickle [illektr1k@vaiolent conf]$

Attachments

Change History

comment:1 Changed 19 months ago by wulfsolter@…

Wish to add in my email address. Let me know if I can provide more traces etc...

wulfsolter@…

comment:2 follow-up: ↓ 3 Changed 19 months ago by anonymous

It appears your transfer file is corrupt (usually located at ~/.nicotine/config.transfers.pickle)

If you rename/remove it N+ should start again but your transfer list will be cleared. If you feel like playing around you can open it with an editor and see if you can rescue any details

comment:3 in reply to: ↑ 2 Changed 19 months ago by anonymous

Replying to anonymous:

It appears your transfer file is corrupt (usually located at ~/.nicotine/config.transfers.pickle)

If you rename/remove it N+ should start again but your transfer list will be cleared. If you feel like playing around you can open it with an editor and see if you can rescue any details

This worked! Thanks a bunch!

comment:4 Changed 19 months ago by quinox

  • Status changed from new to closed
  • Resolution set to fixed

Great. I've fixed the code with r1422, in case of a corrupt pickle file it now loads up and shows a warning about it.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.