andar wrote:
Yea.. I think that's because Windows doesn't allow you to use ~ in a filename.. *sigh* We'll just have to patch it for the windows build.
The relevant code is in config.py.
this is fragment from deluge.log in debug mode:
[INFO ] 11:22:26 main:113 Deluge ui 1.1.4
[DEBUG ] 11:22:26 main:114 options: {'loglevel': 'debug', 'default_ui': None, 'args': None, 'quiet': False, 'ui': None, 'logfile': 'C:\\Documents and Settings\\USER\\Application Data\\deluge\\deluge.log', 'config': None}
[DEBUG ] 11:22:26 main:115 args: []
[DEBUG ] 11:22:26 main:116 ui_args: []
[INFO ] 11:22:26 main:119 Starting ui..
[DEBUG ] 11:22:26 ui:35 UI init..
[DEBUG ] 11:22:26 configmanager:79 Getting config 'ui.conf'
[WARNING ] 11:22:26 config:242 Unable to load config file: C:\Documents and Settings\USER\Application Data\deluge\ui.conf
[DEBUG ] 11:22:26 config:244 Config C:\Documents and Settings\USER\Application Data\deluge\ui.conf loaded: {'default_ui': 'gtk'}
[WARNING ] 11:22:26 config:263 Unable to open config file: C:\Documents and Settings\USER\Application Data\deluge\ui.conf
[DEBUG ] 11:22:26 config:269 Saving new config file C:\Documents and Settings\USER\Application Data\deluge\ui.conf.new
[DEBUG ] 11:22:26 config:281 Backing up old config file to C:\Documents and Settings\USER\Application Data\deluge\ui.conf~
[ERROR ] 11:22:26 config:284 Error backing up old config..
there is no file ui.conf and it tries to backup it. same goes for file gtkui.conf:
[INFO ] 11:22:32 client:160 Setting core uri as None
[WARNING ] 11:22:32 config:263 Unable to open config file: C:\Documents and Settings\USER\Application Data\deluge\gtkui.conf
[DEBUG ] 11:22:32 config:269 Saving new config file C:\Documents and Settings\USER\Application Data\deluge\gtkui.conf.new
[DEBUG ] 11:22:32 config:281 Backing up old config file to C:\Documents and Settings\USER\Application Data\deluge\gtkui.conf~
[ERROR ] 11:22:32 config:284 Error backing up old config..
strange that there is nothing said about core.conf in the logfile.