Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My upload so far is 89 GB, but the amount of data is a couple of hundred GB in total, but gsync keeps giving backend errors and crashing out, so I think that's why it's been filling up my root partition.
Exception when refreshing a previously synchronized folder
Dear all,
I have installed gsync since a few months and have being using is very successfully from my Mac (synced around 550GB to my Google Drive).
Lately I installed it also in my Ubuntu machine (14.04 LTS) and it seems it is working fine when updating new directories but failed with "ESyncFileAbstractMethod" exception when trying to refresh a previously synced folder.
I debugged the session and here's the stack before it quits:
DEBUG: drive/:524:stat(): Found 'drive://Backup/Fitness/Exhilarate - The Ultimate Zumba Fitness DVD Experience/Activate'
DEBUG: sync/file/remote/:68:getInfo(): Remote mtime: SyncFileInfoDatetime(datetime.datetime(2015, 5, 7, 13, 40, 25, 764000, tzinfo=tzutc()))
DEBUG: sync/:65:_sync(): Defaulting destination directory: 'drive://Backup/Fitness/Exhilarate - The Ultimate Zumba Fitness DVD Experience/Activate'
DEBUG: sync/:120:_sync(): File timestamp mismatch: '/mnt/linkstation/Backup/Fitness/Exhilarate - The Ultimate Zumba Fitness DVD Experience/Activate'
DEBUG: sync/:122:_sync(): * source mtime: 1437473271
DEBUG: sync/:124:_sync(): * destination mtime: 1431006025
DEBUG: sync/:126:_sync(): * delta: datetime.timedelta(74, 73645, 733198)
Fitness/Exhilarate - The Ultimate Zumba Fitness DVD Experience/Activate/
DEBUG: sync/file/:280:_normaliseSource(): type(src) = <class 'libgsync.sync.file.SyncFileInfo'>
DEBUG: sync/file/factory.py:10:create(): SyncFileFactory.create('/mnt/linkstation/Backup/Fitness/Exhilarate - The Ultimate Zumba Fitness DVD Experience/Activate')
DEBUG: sync/file/factory.py:25:create(): Creating SyncFileLocal('/mnt/linkstation/Backup/Fitness/Exhilarate - The Ultimate Zumba Fitness DVD Experience/Activate')
DEBUG: ESyncFileAbstractMethod(): File "/usr/local/lib/python2.7/dist-packages/libgsync/crawler.py", line 150, in run
self._walk(srcpath, self._walkCallback, self._dev)
File "/usr/local/lib/python2.7/dist-packages/libgsync/crawler.py", line 113, in _walk
self._sync(d)
File "/usr/local/lib/python2.7/dist-packages/libgsync/sync/__init__.py", line 31, in __call__
self._sync(path)
File "/usr/local/lib/python2.7/dist-packages/libgsync/sync/__init__.py", line 197, in _sync
self.dst.update(dstPath, srcFile)
File "/usr/local/lib/python2.7/dist-packages/libgsync/sync/file/__init__.py", line 322, in update
self.__updateDir(path, srcObj)
File "/usr/local/lib/python2.7/dist-packages/libgsync/sync/file/__init__.py", line 231, in __updateDir
self._updateDir(path, src)
File "/usr/local/lib/python2.7/dist-packages/libgsync/sync/file/__init__.py", line 206, in _updateDir
raise ESyncFileAbstractMethod
Error: ESyncFileAbstractMethod()
Has any of you experienced the same behaviour? Any suggestion?
Thx,
L.
P.S.: my wife is a personal trainer, so I had to backup the Zumba collection for her... :-)
Cento79, I'm glad you've gotten some use out of it!
I don't know if I've run into this particular problem, but I've run into some similar ones. First, make sure you have the Python development libraries, as well as python-pip installed. Then, do:
Hello Dane,
I tried doing it but I got the same problem.
I noticed this warming when upgrading:
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/l...latformwarning.
InsecurePlatformWarning
Do you think there might be a problem in the SSL connection?
I tried to debug it again, but I got stuck at the updateDir part since I haven't really understood where that portion of the script is implemented (in the ./sync/file/__init__.py it seems it's just calling it but I do not see any real code.
Thanks again for your support.
Luigi
Quote:
Originally Posted by DaneM
Cento79, I'm glad you've gotten some use out of it!
I don't know if I've run into this particular problem, but I've run into some similar ones. First, make sure you have the Python development libraries, as well as python-pip installed. Then, do:
I haven't run into that error, before. It looks like it could be a bug or a missing/misconfigured library. I'd search the github bug tracker for gsync or post a new bug there and see if the developers can help track it down.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.