Re: [s3ql] Meta key data is missing

2019-11-12 Thread Brian Pribis
On Tue, Nov 12, 2019 at 10:27 AM Nikolaus Rath  wrote:

>
> > KeyError: 'data'
>
> Looks like there is an object stored that doesn't have the expected
> format. It's hard to say more than that. Maybe modify the code to print
> the object name? If it's just one object, you may get away with just
> removing that. If it affects multiple objects, then something else is
> wrong..
>
> But all the other conversions went well.  Like 2.10 to 2.12 went off
without a hitch.  Just this one from 2.12 to 2.13 suddenly is a problem.
I can also mount and fsck under 2.12, if that helps.

If I have to print the filename, where is the best place to do that?

Thanks for your help.

-- 
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 s3ql+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/CAKF9QC0p_vYBW9ukJcYkNQcP-43HDwYoXSRspde7vt7NyTtVKw%40mail.gmail.com.


Re: [s3ql] Meta key data is missing

2019-11-12 Thread Nikolaus Rath
On Nov 11 2019, Brian Pribis  wrote:
> We had a very old version of s3ql installed.  1.17.  I've been able to 
> incrementally upgrade to 2.12 without any problems.  But trying to upgrade 
> to 2.13 fails.
> The output for upgrading looks like:
[..]
> Upgrading from revision 21 to 22...
> ..processed 146/7371 objects (2.0%, 0 bytes rewritten)..Uncaught top-level 
[...]
> meta_new['data'] = meta['data']
>   File 
> "/usr/local/lib/python3.4/dist-packages/dugong-3.7.5-py3.4.egg/dugong/__init__.py",
>  
> line 1637, in __getitem__
> return self._store[key.lower()][1]
> KeyError: 'data'

Looks like there is an object stored that doesn't have the expected
format. It's hard to say more than that. Maybe modify the code to print
the object name? If it's just one object, you may get away with just
removing that. If it affects multiple objects, then something else is
wrong..

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 s3ql+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/s3ql/87zhh1i08i.fsf%40thinkpad.rath.org.