Opened 8 years ago

Closed 7 years ago

#4849 closed defect (fixed)

sugar-install-bundle hangs for minutes but only in Terminal

Reported by: quozl Owned by:
Priority: Low Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Minor Keywords:
Cc: Sam, Parkinson Distribution/OS: OLPC
Bug Status: New

Description

  • installing a bundle through Software Update is quick,
  • installing a bundle through Browse is quick,
  • installing a bundle from Journal using mounted media is quick,
  • installing a bundle through a shell via SSH or on a virtual console is quick,
  • installing a bundle through a shell in Terminal using sugar-install-bundle is very slow.

Workaround is to unset SUGAR_PROFILE before running sugar-install-bundle, like this:

$ unset SUGAR_PROFILE
$ sugar-install-bundle bundle-1.xo

During the hang, an strace shows inotify add watch is being called on a path of /usr/local/share/sugar/activities but this returns with -ENOENT, and the request is retried a short time later.

Change History (4)

comment:1 Changed 8 years ago by quozl

On Fedora with no packaged activities, the hang occurs. On Ubuntu Trusty with packaged activities, there is no hang. SoaS was not tested. It looks like it only occurs when there are no packaged activities.

comment:2 Changed 7 years ago by quozl

Causes include the fix for #4722.

comment:3 Changed 7 years ago by quozl

Fix is bundled in feature Trigger Bundle Add, see pull request 584.

comment:4 Changed 7 years ago by SAMdroid

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.