Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Scanner] Encfs encrypted upload not possible #111

Open
georg90 opened this issue Apr 23, 2016 · 2 comments
Open

[Scanner] Encfs encrypted upload not possible #111

georg90 opened this issue Apr 23, 2016 · 2 comments

Comments

@georg90
Copy link

georg90 commented Apr 23, 2016

When trying to upload an encfs encrypted folder I get the following error with jotta-scanner:

console output

ERROR:jottalib.scanner:SAFERUN: Got exception when processing (u'/home/kodi/.local-sorted/WnBkrZtTYyx1ZVTJ6gRSjPZabWWgu9oxPR4HxFjTkvGq8hqd12Van5hiMAreTx7sW50', u'/Jotta/Sync/files/WnBkrZtTYyx1ZVTJ6gRSjPZabWWgu9oxPR4HxFjTkvGq8hqd12Van5hiMAreTx7sW50', <jottalib.JFS.JFS object at 0x7f394b456d50>)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/jottalib/scanner.py", line 54, in saferun
    return apply(cmd, args)
  File "/usr/local/lib/python2.7/dist-packages/jottalib/jottacloud.py", line 151, in replace_if_changed
    return resume(localfile, jf, JFS)
  File "/usr/local/lib/python2.7/dist-packages/jottalib/jottacloud.py", line 135, in resume
    _complete = jottafile.resume(lf)
  File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 375, in resume
    raise JFSError('''MD5 hashes don't match! Are you trying to resume with the wrong file?''')
JFSError: MD5 hashes don't match! Are you trying to resume with the wrong file?

error.low

SAFERUN: Got exception when processing (u'/home/kodi/.local-sorted/WnBkrZtTYyx1ZVTJ6gRSjPZabWWgu9oxPR4HxFjTkvGq8hqd12Van5hiMAreTx7sW50', u'/Jotta/Sync/files/WnBkrZtTYyx1Z$
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/jottalib/scanner.py", line 54, in saferun
    return apply(cmd, args)
  File "/usr/local/lib/python2.7/dist-packages/jottalib/jottacloud.py", line 151, in replace_if_changed
    return resume(localfile, jf, JFS)
  File "/usr/local/lib/python2.7/dist-packages/jottalib/jottacloud.py", line 135, in resume
    _complete = jottafile.resume(lf)
  File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 377, in resume
    return self.jfs.up(self.path, data, resume_offset=self.size)
  File "/usr/local/lib/python2.7/dist-packages/jottalib/JFS.py", line 940, in up
    fileobject.seek(resume_offset if resume_offset is not None else 0)
IOError: [Errno 22] Invalid argument

"Normal" uploads are working

@kaistian
Copy link

What is the reason for this error?
I have uploaded several thousand encfs files without a problem, is this something I should expect might happen?

@sjurtf
Copy link

sjurtf commented Oct 20, 2016

I've also uploaded a huge number of encfs files on both linux and os x with no issues.
From the description it seems that @georg90 is not able to upload any encfs files?

Are you still experiencing problems with this @georg90 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants