Skip to content

Avoid imports from Sugar shell #64

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
quozl opened this issue Aug 15, 2019 · 0 comments
Open

Avoid imports from Sugar shell #64

quozl opened this issue Aug 15, 2019 · 0 comments

Comments

@quozl
Copy link
Contributor

quozl commented Aug 15, 2019

Two imports of jarabe are present. They should be avoided if possible.

On a system with Python 3 Sugar shell and Python 2 bundle of Pippy, the activity fails to start with this in logs;

Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 5, in <module>
    activityinstance.main()
  File "/usr/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py", line 179, in main
    module = __import__(module_name)
  File "/usr/share/sugar/activities/Pippy.activity/pippy_app.py", line 76, in <module>
    from jarabe.view.customizebundle import generate_unique_id
ImportError: No module named jarabe.view.customizebundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant