#5815 BLOC Update.: Installing bundles from the journal fails in joyride

Zarro Boogs per Child bugtracker at laptop.org
Fri Jan 4 12:12:14 EST 2008


#5815: Installing bundles from the journal fails in joyride
------------------------------+---------------------------------------------
  Reporter:  bernie           |       Owner:  erikos  
      Type:  defect           |      Status:  new     
  Priority:  blocker          |   Milestone:  Update.1
 Component:  browse-activity  |     Version:          
Resolution:                   |    Keywords:          
  Verified:  0                |    Blocking:          
 Blockedby:                   |  
------------------------------+---------------------------------------------
Changes (by tomeu):

  * owner:  marco => erikos
  * component:  journal-activity => browse-activity


Comment:

 Hmm, in jhbuild mozilla gives the correct (although deprecated) mime type,
 application/vnd.olpc-x-sugar, but in latest joyride is returning
 application/octet-stream.

 strace tells me that mozilla finds the association in my system in
 /etc/mailcap.

 The files it opens when looking for the mime type are the following:

 {{{
 open("/home/tomeu/.mime.types", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 open("/home/tomeu/.local/share//mime/globs", O_RDONLY|O_LARGEFILE) = 42
 open("/home/tomeu/.local/share//mime/magic", O_RDONLY|O_LARGEFILE) = 42
 open("/home/tomeu/.local/share//mime/aliases", O_RDONLY|O_LARGEFILE) = 42
 open("/home/tomeu/.local/share//mime/subclasses", O_RDONLY|O_LARGEFILE) =
 42
 open("/home/tomeu/sugar-jhbuild/build/share/mime/globs",
 O_RDONLY|O_LARGEFILE) = 42
 open("/home/tomeu/sugar-jhbuild/build/share/mime/magic",
 O_RDONLY|O_LARGEFILE) = 42
 open("/home/tomeu/sugar-jhbuild/build/share/mime/aliases",
 O_RDONLY|O_LARGEFILE) = 42
 open("/home/tomeu/sugar-jhbuild/build/share/mime/subclasses",
 O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share/mime/globs", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share/mime/magic", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share/mime/aliases", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share/mime/subclasses", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/local/share//mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT
 (No such file or directory)
 open("/usr/local/share//mime/subclasses", O_RDONLY|O_LARGEFILE) = -1
 ENOENT (No such file or directory)
 open("/usr/share//mime/globs", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share//mime/magic", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share//mime/aliases", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share//mime/subclasses", O_RDONLY|O_LARGEFILE) = 42
 open("/usr/share/gdm//mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
 such file or directory)
 open("/usr/share/gdm//mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT
 (No such file or directory)
 open("/home/tomeu/.local/share/applications/mimeinfo.cache",
 O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.local/share/applications/defaults.list",
 O_RDONLY|O_LARGEFILE) = 44
 open("/usr/share/applications/mimeinfo.cache", O_RDONLY|O_LARGEFILE) = 44
 open("/usr/share/applications/defaults.list", O_RDONLY|O_LARGEFILE) = 44
 open("/usr/local/share/applications/mimeinfo.cache", O_RDONLY|O_LARGEFILE)
 = 44
 open("/usr/share/applications/mimeinfo.cache", O_RDONLY|O_LARGEFILE) = 44
 open("/usr/share/applications/defaults.list", O_RDONLY|O_LARGEFILE) = 44
 open("/usr/share/gdm/applications/mimeinfo.cache", O_RDONLY|O_LARGEFILE) =
 44
 open("/etc/mime.types", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/etc/mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/etc/mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mime.types", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 open("/etc/mime.types", O_RDONLY|O_LARGEFILE) = 44
 open("/etc/mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/etc/mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mime.types", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
 file or directory)
 open("/etc/mime.types", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/etc/mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/home/tomeu/.mailcap", O_RDONLY|O_LARGEFILE) = 44
 open("/etc/mailcap", O_RDONLY|O_LARGEFILE) = 44
 }}}

 Simon, Marco, any ideas about what's going on here?

-- 
Ticket URL: <http://dev.laptop.org/ticket/5815#comment:4>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list