On Jun 29 2019, Marcin Ciesielski <[email protected]> wrote:
> Checking objects (backend)...
> ..processed 692625 objects so far..
> Dropping temporary indices...
> ERROR: Uncaught top-level exception:
> Traceback (most recent call last):
>   File "/usr/local/bin/fsck.s3ql", line 11, in <module>
>     load_entry_point('s3ql==3.1', 'console_scripts', 'fsck.s3ql')()
>   File 
> "/usr/local/lib/python3.5/dist-packages/s3ql-3.1-py3.5-linux-x86_64.egg/s3ql/fsck.py",
>  
> line 1273, in main
>     fsck.check(check_cache)
>   File 
> "/usr/local/lib/python3.5/dist-packages/s3ql-3.1-py3.5-linux-x86_64.egg/s3ql/fsck.py",
>  
> line 92, in check
>     self.check_objects_id()
>   File 
> "/usr/local/lib/python3.5/dist-packages/s3ql-3.1-py3.5-linux-x86_64.egg/s3ql/fsck.py",
>  
> line 965, in check_objects_id
>     self.conn.execute('INSERT INTO obj_ids VALUES(?)', (obj_id,))
>   File 
> "/usr/local/lib/python3.5/dist-packages/s3ql-3.1-py3.5-linux-x86_64.egg/s3ql/database.py",
>  
> line 98, in execute
>     self.conn.cursor().execute(*a, **kw)
>   File "src/cursor.c", line 236, in resetcursor
> apsw.ConstraintError: ConstraintError: UNIQUE constraint failed: obj_ids.id
>
> I cleaned up cache but it did not help
> any chance to get it running?

It looks like something is messed up in your backend directory, since
listing it returns the same object twice. Not sure how that can
happen. I'd suggest to annotate the code to print out the name of the
duplicate object and then take a look at what's stored in the backend
directory. Maybe using --debug-module s3ql is already sufficient.


Best,
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/87zhlzsa97.fsf%40vostro.rath.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to