Last modified: 2007-04-30 11:04:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8263 - DJVU image page throws an exception 'String could not be parsed as XML'
DJVU image page throws an exception 'String could not be parsed as XML'
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-14 22:44 UTC by Gregory Maxwell
Modified: 2007-04-30 11:04 UTC (History)
0 users

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


Attachments

Description Gregory Maxwell 2006-12-14 22:44:51 UTC
Uploaded a fairly boring djvu file.
http://commons.wikimedia.org/wiki/Image:Mozart_Sonate_%28manuscript%29.djvu

Loading that page produces the following output:
exception 'Exception' with message 'String could not be parsed as XML' in
/usr/local/apache/common-local/php-1.5/includes/Image.php:2302 Stack trace: #0
/usr/local/apache/common-local/php-1.5/includes/Image.php(2302):
SimpleXMLElement->__construct('') #1
/usr/local/apache/common-local/php-1.5/includes/Image.php(2325):
Image->initializeMultiPageXML() #2
/usr/local/apache/common-local/php-1.5/includes/ImagePage.php(254):
Image->pageCount() #3
/usr/local/apache/common-local/php-1.5/includes/ImagePage.php(48):
ImagePage->openShowImage() #4
/usr/local/apache/common-local/php-1.5/includes/Wiki.php(338): ImagePage->view()
#5 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(50):
MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title),
Object(User), Object(WebRequest)) #6
/usr/local/apache/common-local/php-1.5/index.php(47):
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
Object(WebRequest)) #7 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...') #8 {main}
Comment 1 JeLuF 2006-12-14 22:53:36 UTC
Fixed.
Comment 2 Gregory Maxwell 2006-12-15 07:17:58 UTC
First is fixed but 

http://commons.wikimedia.org/wiki/Image:F%C3%BCnfzig_Fabeln_f%C3%BCr_Kinder_%28Hey%29.djvu

is doing it too.
Comment 3 Yann Forget 2006-12-16 22:00:14 UTC
Uploading
http://commons.wikimedia.org/wiki/Image:TheCollectedWorksOfMahatmaGandhiVolVIII.djvu

I got the following:

exception 'Exception' with message 'String could not be parsed as XML' in
/usr/local/apache/common-local/php-1.5/includes/Image.php:2302 Stack trace: #0
/usr/local/apache/common-local/php-1.5/includes/Image.php(2302):
SimpleXMLElement->__construct('') #1
/usr/local/apache/common-local/php-1.5/includes/Image.php(2325):
Image->initializeMultiPageXML() #2
/usr/local/apache/common-local/php-1.5/includes/ImagePage.php(254):
Image->pageCount() #3
/usr/local/apache/common-local/php-1.5/includes/ImagePage.php(48):
ImagePage->openShowImage() #4
/usr/local/apache/common-local/php-1.5/includes/Wiki.php(338): ImagePage->view()
#5 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(50):
MediaWiki->performAction(Object(OutputPage), Object(ImagePage), Object(Title),
Object(User), Object(WebRequest)) #6
/usr/local/apache/common-local/php-1.5/index.php(47):
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
Object(WebRequest)) #7 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...') #8 {main}
Comment 4 Yann Forget 2006-12-16 22:00:54 UTC
http://pastebin.ca/278155
Comment 5 Yann Forget 2006-12-16 23:44:13 UTC
Again the same bug with
http://commons.wikimedia.org/wiki/Image:Correspondance_in%C3%A9dite_1907.djvu
Comment 7 Tim Starling 2007-04-30 11:04:59 UTC
All test cases appear to be fixed. The bug was probably related to the slow
speed of djvutoxml:

https://sourceforge.net/tracker/?func=detail&atid=406583&aid=1704049&group_id=32953

Try action=purge on the image description page before reopening or re-reporting
this bug.

See also bug 9327.

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


Navigation
Links