Pydiosync error: string indices must be integers

Hi,
after upgrading pydio server to 8.2.1 pydio sync fails syncing all workspaces. it says “unexpected error: string indices must be integers”. there is also an error in the pydiosync log. it says

“2018-07-14 18:20:39 ERROR 17260 Thread-1 logging : 1601 | error | Unexpected Error: string indices must be integers
Traceback (most recent call last):
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.job.continous_merger”, line 494, in run
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 722, in load_server_configs
TypeError: string indices must be integers”

Thanks in advance for your help!
Alex

Hi,
we are currently working on a new sync version we will post about it when it’s ready.

Hi Akop,

Could please download and try this update (Windows and OsX) and let us know if it helps:

https://download.pydio.com/pub/pydio-sync/develop/packages/

Regards.

hi,
I downloaded the new version. still the same error:

2018-08-01 17:15:13 INFO 22000 Thread-2 logging : 1627 | info | Loading remote changes with sequence 0 for job id xxx
2018-08-01 17:15:17 ERROR 22000 Thread-2 logging : 1601 | error | Unexpected Error: string indices must be integers
Traceback (most recent call last):
File “C:\BuildAgent\work\19045f4c63bc432e\build\pydio-agent\out01-PYZ.pyz\pydio.job.continous_merger”, line 509, in run
File “C:\BuildAgent\work\19045f4c63bc432e\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 799, in load_server_configs
TypeError: string indices must be integers
2018-08-01 17:16:17 INFO 22000 Thread-2 logging : 1627 | info | Loading remote changes with sequence 0 for job id xxx
2018-08-01 17:16:21 ERROR 22000 Thread-2 logging : 1601 | error | Unexpected Error: string indices must be integers
Traceback (most recent call last):
File “C:\BuildAgent\work\19045f4c63bc432e\build\pydio-agent\out01-PYZ.pyz\pydio.job.continous_merger”, line 509, in run
File “C:\BuildAgent\work\19045f4c63bc432e\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 799, in load_server_configs
TypeError: string indices must be integers

Best Regards,
Alex

I am really sorry for asking again…

pydio is really a great cloud solution! but without a working pydiosync its nearly useless. is it possible to downgrade to an older version, because it worked before (i think it was 8.2.0)?

Thanks!
Alex

Hi,

in the meantime I found the reason for pydiosync failing to synchronize. Everytime I deny access to the “Home”-mainpage for the users by changing the settings for the root Role, Pydiosync fails with the above stated error. Maybe its a bug.

Best regards,
Alex

1 Like

TypeError: means that you are trying to perform an operation on a value whose type is not compatible with that operation. An Iterable is a collection of elements that can be accessed sequentially . In Python, iterable objects are indexed using numbers . When you try to access an iterable object using a string or a float as the index, an error will be returned as TypeError: string indices must be integers. This means that when you’re accessing an iterable object like a string or float value, you must do it using an integer value.