files are "empty"; cannot republish

Bug #809814 reported by StaceyS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Internet Archive - Tech Support
Fix Committed
Undecided
Jude Coelho

Bug Description

When we try to republish books from scribe3.capitolhill we get this error message:
Error triggered: simplexml_load_file() [function.simplexml-load-file]: /home/scribe/.scriblio/scribe.xml:1: parser error : Document is empty (code 2)
file: /var/www/RePublisher/RePublisher-scribe.php
line: 827

Terminating with return value -1!

But all the files seem to be intact.

Revision history for this message
Jude Coelho (judec) wrote :

You'll see that the file it's referring to isn't one of the book files, but the Scribe configuration file: /home/scribe/.scriblio/scribe.xml

This file is indeed empty. How did it come to be this way? One theory is that because the disk is so full, it might have been edited at a time when there was absolutely no more room on the disk and it wrote an empty file.

In any case, we have two problems here:

1. The full disks.
2. The empty file.

The empty file can easily be recreated, but the full disks are going to keep causing problems. Can we somehow get all these lingering books onto a temporary storage until they're able to be uploaded?

As for the file, you can copy one from one of the other scribes and it should solve the issue (just change the scribe # inside the file).

Changed in ia-techsupport:
assignee: nobody → Jude Coelho (judec)
status: New → Fix Committed
Revision history for this message
Jude Coelho (judec) wrote :
Revision history for this message
Jude Coelho (judec) wrote :

Was this ever fixed?

Revision history for this message
StaceyS (stacey-archive) wrote :

we deleted about 100 books that were lingering on the scribes and that seemed to solve the problem.

Revision history for this message
StaceyS (stacey-archive) wrote :

I am now having this issue at scribe10.capitolhill; the disk is full, the toaster won't boot enough for me to get to the desktop to run a terminal window and root around the files, and all the books at scribe10 have the same error as above. Please help!

Revision history for this message
Hank Bromley (hank-archive) wrote :

I have emptied root's trash on scribe10 - it was consuming 38 GB. That still leaves 180 GB in use, or 84% of total capacity. The bulk of that is in two directories: republish (32 books, total of 112 GB) and foldout (4 books, total of 21 GB).

Before I emptied it, root's trash contained mainly book directories and checkin lock files, dated from 2010-08-05 through 2011-08-31.

That leaves the mystery of why scribes in capitolhill frequently fill up root's trash, and - so far as I know - none anywhere else ever have. Is someone routinely doing work while in superuser mode?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.