Last modified: 2013-07-07 12:46:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52457, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50457 - ZIM file third group of the UUID is duplicated
ZIM file third group of the UUID is duplicated
Status: RESOLVED FIXED
Product: openZIM
Classification: Unclassified
zimlib (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Tommi Mäkitalo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-30 12:49 UTC by Kelson [Emmanuel Engelhart]
Modified: 2013-07-07 12:46 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kelson [Emmanuel Engelhart] 2013-06-30 12:49:22 UTC
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)
Comment 1 Kelson [Emmanuel Engelhart] 2013-06-30 12:57:51 UTC
Seems to me to be a bug in << operator implementation:
https://git.wikimedia.org/blob/openzim/3329564022cbbd60792658097abfa2132f066d8d/zimlib%2Fsrc%2Fuuid.cpp

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links