harrisc Posted June 1, 2015 Report Share Posted June 1, 2015 Can someone confirm that I can increase the time old versions on Linux (arm) by increasing sync_trash_ttl parameter? Can this be done using btsync_edit_settings.py? If so, I would like to see the steps required. I tried to usesudo python btsync_edit_settings.py settings.dat set sync_trash_ttl 300 on a copy of settings.dat with no success. I get messages as followsTraceback (most recent call last): File "btsync_edit_settings.py", line 238, in <module> encoded_content = bencode(bdict) File "btsync_edit_settings.py", line 144, in bencode return _encode_dictionary(input) File "btsync_edit_settings.py", line 16, in _encode_dictionary result += bencode(key)+bencode(value) File "btsync_edit_settings.py", line 150, in bencode raise ValueError('Invalid field type: %r' % itype)ValueError: Invalid field type: <type 'long'> Chris I forgot to mention I tried to read existing value for sync_trash_ttl using sudo python btsync_edit_settings.py settings.dat get sync_trash_ttl Message came backParameter "sync_trash_ttl" doens't exists in bencoded file settings.dat Chris Quote Link to comment Share on other sites More sharing options...
harrisc Posted June 1, 2015 Author Report Share Posted June 1, 2015 I found another script btsync_edit_settings_w4.py btsync_edit_settings_w4.py from http://syncapp.bittorrent.com/support/script/btsync_edit_settings_w4.py which did seem to work! Chris Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.