You are not logged in.

#1 2013-04-26 11:42:31

yweb
Member
Registered: 2012-09-15
Posts: 7

Transmission does not keep its configuration after restart

Hi everyone,


I have a problem coming up with gnome's last upgrade.


Since Gnome 3.8 then, transmission 2.77 will not keep its configuration. I've already tried to erase the ~/.config/transmission folder in order to start transmission with a "clean" configuration but its not working.


Does anyone have the same problem ? And more importantly, does anyone have a solution yet ?


Thanks

Offline

#2 2013-04-26 13:23:49

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Transmission does not keep its configuration after restart

Please see: https://bbs.archlinux.org/viewtopic.php?id=162145

There are other threads, too, but one of them has a strange title that I don't rememeber... hmm

Last edited by drcouzelis (2013-04-26 13:24:29)

Offline

#3 2013-04-26 17:14:11

yweb
Member
Registered: 2012-09-15
Posts: 7

Re: Transmission does not keep its configuration after restart

thanks drcouzelis


I read the post https://bbs.archlinux.org/viewtopic.php?id=162145


I don't want to use transmission-qt !


I think we need to stay tuned and patient until there is an upstream solution.

Offline

#4 2013-04-26 18:28:15

nathan0n5ire
Member
Registered: 2012-10-05
Posts: 9

Re: Transmission does not keep its configuration after restart

The problem is with the value in file/folder choosers in the settings dialog. If you don't edit each one of them (even the grey'd out ones), each time you open the settings window, then they will have wierd values that contain random characters, which will cause troubles when transmission wants to parse its settings.json file

Offline

#5 2013-04-26 18:30:40

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,859
Website

Re: Transmission does not keep its configuration after restart

yweb wrote:

I don't want to use transmission-qt !

How about transmission-gtk2?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2013-04-26 18:48:00

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: Transmission does not keep its configuration after restart

If you change transmission settings in the config file with transmission running, the settings will get overridden when transmission shuts down.
To change settings from the config file, first stop transmission, then edit settings file, then restart transmission.


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#7 2013-04-26 19:35:23

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Transmission does not keep its configuration after restart

WorMzy wrote:

I used this "solution" for a few months. Unfortunately it's a few versions old (GTK2 is no longer supported by the Transmission developers) and it started behaving a little wonky, so I've been trying other solutions. Right now I bounce back and forth between transmission-gtk and transmission-qt, which is super easy to do thanks to how "modular" the Transmission user interface is. smile

I really don't think the API for GTK2 and GTK3 are that different, and I've been toying with the idea of patching Transmission to use GTK2... But I think I already have enough programming projects that aren't getting done. tongue

Offline

#8 2013-04-26 20:07:42

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,859
Website

Re: Transmission does not keep its configuration after restart

Ah, didn't know that. I've been using a combination of transmission-daemon + transmission-remote-gui (which is gtk2) and transmission-remote-cli (in extra). It works for me. big_smile


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2013-04-26 20:48:43

yweb
Member
Registered: 2012-09-15
Posts: 7

Re: Transmission does not keep its configuration after restart

jrussell wrote:

If you change transmission settings in the config file with transmission running, the settings will get overridden when transmission shuts down.
To change settings from the config file, first stop transmission, then edit settings file, then restart transmission.

Thanks I'll try...

Offline

#10 2013-05-17 13:09:30

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Transmission does not keep its configuration after restart

Any luck with editing the settings file? I'd like to use transmission, too. I had to abandon rtorrent. sad

Offline

#11 2013-05-17 14:54:56

yweb
Member
Registered: 2012-09-15
Posts: 7

Re: Transmission does not keep its configuration after restart

I stopped trying to edit configuration and I started to use deluge instead of transmission.

I tested many approaches in order that transmission keeps its configuration and none of them is working.

Transmission do not keeps the configuration after restart and I had also problems with accents in letter for download path. I could simply not determine a download path with accentuated letters

Deluge is GTK made and provide almost the same features like encryption, blocklist and so and I have no problem with its configuration under gnome 3.8.

Offline

#12 2013-05-17 15:00:46

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Transmission does not keep its configuration after restart

Thanks for the feedback.

Offline

#13 2013-06-03 20:08:41

hellknight
Member
From: Lisbon - Portugal
Registered: 2008-03-03
Posts: 12

Re: Transmission does not keep its configuration after restart

I also had the same problem. The solution is quite simple actually, the settings file had an incorrect value for "incomplete-dir" (wrong encoding or something like that). I just had to update that value and voila, everything works fine.

Offline

#14 2013-06-03 21:21:34

chord
Member
Registered: 2012-11-07
Posts: 121

Re: Transmission does not keep its configuration after restart

Common solution for configs rewriting prevent :

 chattr +i <your-config-file-name> 

It blocks any changes on locked file.
If you need to rewrite/edit file, just unlock it with chattr -i, write changes and lock it again.

Offline

#15 2013-06-03 22:08:05

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: Transmission does not keep its configuration after restart

chord wrote:

Common solution for configs rewriting prevent :

 chattr +i <your-config-file-name> 

It blocks any changes on locked file.
If you need to rewrite/edit file, just unlock it with chattr -i, write changes and lock it again.

I don't think that's a good idea, there is probably a valid reason a config file is being overwritten, your solution would disable the actual application from changing its own config file...

I had a similar problem with the transmission daemon,
Basically this is what I have deducted:

Start transmission
It reads config file
Stop transmission
It re-writes the config file with what it first read when it started plus applying changes you may have made via a GUI.

Basically as I said earlier, if you edit transmissions config file while it is running with vim or nano or whatever, those changes will be over written when transmission stops.

The solution is to either change settings from the GUI, or make sure there is no transmission running, then edit the config file and save it. Everything should then work so long as you haven't made a syntax error when editing the config file.

Last edited by jrussell (2013-06-03 22:15:35)


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#16 2013-06-03 22:55:55

psychedelicious
Member
Registered: 2012-02-07
Posts: 15

Re: Transmission does not keep its configuration after restart

hellknight wrote:

I also had the same problem. The solution is quite simple actually, the settings file had an incorrect value for "incomplete-dir" (wrong encoding or something like that). I just had to update that value and voila, everything works fine.

I had wrong encodings too.  I fixed this but Transmission still doesn't save settings.

Offline

#17 2013-06-03 23:08:38

psychedelicious
Member
Registered: 2012-02-07
Posts: 15

Re: Transmission does not keep its configuration after restart

When I do file -bi on setting.json I get this:

application/octet-stream; charset=binary

When I do it on my Fedora installation running 2.77 as well I get this:

text/plain; charset=us-ascii

Offline

#18 2013-06-04 14:32:38

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: Transmission does not keep its configuration after restart

Actually, I went through the transmission bug reports earlier and turned out that this issue is related to GTK file chooser and a commit (not directly) resolved the problem. It'll be in v2.8.

Offline

Board footer

Powered by FluxBB