[Server-devel] Backup and Recovery

Martin Langhoff martin.langhoff at gmail.com
Fri Oct 30 05:43:20 EDT 2009

On Fri, Oct 30, 2009 at 1:08 AM, Hamilton Chua <hamilton.chua at gmail.com> wrote:
> After turning on verbose debugging in the logs and tailing them during
> an attempted restore.
> I noticed a series of errors that ended with
> AttributeError: "JournalEntryBundle" object has no attribute
> 'get_bundle_id'

Hmmm. Weird. "get_bundle_id" sounds a lot like a method, not an
attribute. See http://www.google.es/search?hl=en&q=get_bundle_id+site%3Aapi.sugarlabs.org

In other words -- sounds strongly like a bug somewhere between Browse & Journal

> It occurs when the file has been placed in the journal. The journal
> checks if it's an activity or content bundle.

Then there's a typo / thinko on the Journal code.

> file, I noticed that the activity and activity_id files are empty and
> the mime_type says it is "application/vnd.olpc-journal-entry". Does this
> sound right ?

Yes, and no. It's a good indication that my diagnosis above is right.
Browse has received the right thing from Moodle, but when the Journal
is asked to store an "application/vnd.olpc-journal-entry" it should
unpack it and store its contents instead...


 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

More information about the Server-devel mailing list