[Pkg-sugar-devel] Why track activity version numbers?
James Cameron
quozl at laptop.org
Mon Apr 24 01:22:30 UTC 2017
On Sat, Apr 22, 2017 at 11:16:50AM -0500, Sebastian Silva wrote:
>
> El 22/04/17 a las 03:14, Jonas Smedegaard escribió:
> > Please actually _use_ Sugar packaged for Debian, and then for each issue
> > you identify as in your opinion being wrong or missing, file a bugreport
> > so we can track it properly: https://www.debian.org/Bugs/Reporting
>
> I have an additional bug that perhaps James knows more about. I have
> only reproduced it in a fresh install.
Can you remember what you did that stopped it from reproducing? I'd
like to know how far back to rewind snapshots.
> The Journal doesn't know what to do with .xo bundles. It complains that
> "no activity was found for handling the entry" (not exact translation
> from Spanish).
I've tried, but unable to reproduce; here's my method, on Debian
Stretch plus sugar-toolkit-gtk3 0.110.0-4;
- download moon-17.xo to Documents directory using wget,
- in Journal, click on moon-17.xo,
Activity is installed and starts. Bundle file remains in Documents
directory as intended.
> Also from the Terminal, sugar-install-bundle mysteriously says:
>
> $ sugar-install-bundle `pwd`/sonic_jump-4.xo
> Traceback (most recent call last):
> File "/usr/bin/sugar-install-bundle", line 20, in <module>
> bundle = ActivityBundle(name)
> File
> "/usr/lib/python2.7/dist-packages/sugar3/bundle/activitybundle.py", line
> 103, in __init__
> Bundle.__init__(self, path)
> File "/usr/lib/python2.7/dist-packages/sugar3/bundle/bundle.py", line
> 72, in __init__
> self._installation_time = os.stat(path).st_mtime
> OSError: [Errno 2] No such file or directory:
> '/home/artesano/Documentos/sonic_jump-4.xo'
Also unable to reproduce.
Speculative review of commits touching sugar-install-bundle and
sugar3/bundle gave me no likely causes.
Code in the traceback, working backwards, means;
- a path was given to instantiate Bundle, by ActivityBundle,
- a path was given to instantiate ActivityBundle, by
sugar-install-bundle,
- a path was given to sugar-install-bundle by the shell,
- the path was to a file that did not exist.
Perhaps character set and locale; please capture more data, and the
error, and hide it from e-mail clients, like this;
$ echo `pwd`/sonic_jump-4.xo | od -t x1 > log
$ locale >> log
$ sugar-install-bundle `pwd`/sonic_jump-4.xo >> log 2>&1
And attach the file log to your reply.
--
James Cameron
http://quozl.netrek.org/
More information about the pkg-sugar-devel
mailing list