[IIAB] library.xml UUIDs

Emmanuel Engelhart kelson at kiwix.org
Sun Jun 30 06:03:01 PDT 2013


Hi Braddock,

Nice Catch!

Have open a bug report:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50457

Seems to me to be a small bug... but should have some impact for many
users (a least duplicate items in the library of Kiwix).

I Will maybe implement something to fix this only for new generated
files... I should think more about that.

In any case, this should be fixed soon.

Regards
Emmanuel

Le 27/06/2013 19:57, Braddock a écrit :
> Hi Emmanuel,
> I noticed that the id= attributes in the kiwix-generated library.xml
> file are the UUID of the zim file as contained in the zim file header.
> 
> However, it appears there is a quirk in the library.xml that causes
> the third group of the UUID to be repeated?  Is there a reason for
> this, or is it just a bug?
> 
> wikipedia_gn_all_01_2013.zim
> Zim UUID (as parsed by my zimpy.py):
> c0c9693a-4ec4-b7bf-d8cf-0bca9d7f363f
> 
> library.xml id= field:
> <book id="c0c9693a-4ec4-b7bf-b7bf-d8cf0bca9d7f363f" path="../wikipedia-z
> im/wikipedia_gn_all_01_2013.zim"
> 
> (b7bf is repeated)
> 
> Thanks,
> Braddock
> 

-- 
Kiwix - Wikipedia Offline & more
* Web: http://www.kiwix.org
* Twitter: https://twitter.com/KiwixOffline
* more: http://www.kiwix.org/wiki/Communication



More information about the IIAB mailing list