Opened 15 years ago

Closed 15 years ago

#838 closed bug (Fixed)

preferences don't stay saved

Reported by: ciphered@hotmail.com Owned by: markybob
Priority: major Milestone:
Component: Packaging Version: 1.1.4
Keywords: Cc:

Description

There's a bug when installing from the ubuntu intrepid PPA package 1.1.4-0ubuntu1~intrepid1. When I save new preferences and exit the program, the preferences are lost when I restart it.

The program starts with errors like this: [INFO ] 18:43:49 main:113 Deluge ui 1.1.4 [DEBUG ] 18:43:49 main:114 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': None, 'config': None} [DEBUG ] 18:43:49 main:115 args: [] [DEBUG ] 18:43:49 main:116 ui_args: [] [INFO ] 18:43:49 main:119 Starting ui.. [DEBUG ] 18:43:49 ui:35 UI init.. [DEBUG ] 18:43:49 configmanager:79 Getting config 'ui.conf' [WARNING ] 18:43:49 config:242 Unable to load config file: /home/bass/.config/deluge/ui.conf [DEBUG ] 18:43:49 config:244 Config /home/bass/.config/deluge/ui.conf loaded: {'default_ui': 'gtk'} [WARNING ] 18:43:49 config:263 Unable to open config file: /home/bass/.config/deluge/ui.conf [DEBUG ] 18:43:49 config:269 Saving new config file /home/bass/.config/deluge/ui.conf.new [DEBUG ] 18:43:49 config:281 Backing up old config file to /home/bass/.config/deluge/ui.conf~ [ERROR ] 18:43:49 config:284 Error backing up old config.. [INFO ] 18:43:49 ui:52 Starting GtkUI.. [DEBUG ] 18:43:49 client:101 CoreProxy init.. [DEBUG ] 18:43:49 configmanager:79 Getting config 'gtkui.conf' [WARNING ] 18:43:49 config:242 Unable to load config file: /home/bass/.config/deluge/gtkui.conf

Apparently some necessary files were not created when the package is installed. I managed to work around the problem by creating the missing files as so:

cd .config/deluge

cp core.conf.new core.conf

cp gtkui.conf.new gtkui.conf

cp ui.conf.new ui.conf

I think everything is working since I did that, if I notice something else wrong I will post it.

Change History (1)

comment:1 by andar, 15 years ago

Resolution: fixed
Status: newclosed

This has already been fixed in svn.

Note: See TracTickets for help on using tickets.