LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2015, 06:23 AM   #31
mr_si
Member
 
Registered: Nov 2006
Distribution: Server: Centos 6.6, Desktop: OpenSUSE 12.3
Posts: 34

Rep: Reputation: 4

I may have to resort to that!

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.

Thanks,
Si
 
Old 07-25-2015, 09:28 AM   #32
cento79
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
Unhappy 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... :-)
 
Old 07-25-2015, 04:31 PM   #33
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Original Poster
Rep: Reputation: 130Reputation: 130
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:

Code:
(as root)
pip install --upgrade gsync
See if that fixes it. If not, see if there's a bug that mentions one or more of your error messages, here:
https://github.com/iwonbigbro/gsync/issues

Good luck!

--Dane
 
Old 08-01-2015, 03:08 AM   #34
cento79
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
InsecurePlatform Warning

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 View Post
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:

Code:
(as root)
pip install --upgrade gsync
See if that fixes it. If not, see if there's a bug that mentions one or more of your error messages, here:
https://github.com/iwonbigbro/gsync/issues

Good luck!

--Dane
 
Old 08-01-2015, 03:08 PM   #35
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Original Poster
Rep: Reputation: 130Reputation: 130
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.
 
  


Reply

Tags
backup, cloud storage, google drive, gsync, rsync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HowTo? Make rsync copy file names but not contents haertig Linux - Software 2 07-12-2014 04:05 PM
LXer: Google Adds Your Google Drive Files To SERPs LXer Syndicated Linux News 0 10-16-2012 01:40 PM
What does Google Apps moving to google drive mean to us? dougnc Linux - General 11 09-13-2012 01:58 PM
Rsync'd my entire drive to an external drive, grub-installed and FAILED to load GUI rootaccess Linux - General 1 03-15-2012 01:09 PM
LXer: Ubuntu, Google, and the Future of Linux. And rsync too. LXer Syndicated Linux News 0 11-27-2009 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration