godiard / develop-activity

A simple ide to create Sugar activities
GNU General Public License v2.0
0 stars 9 forks source link

assumes olpc-os-builder or local bundles #3

Open quozl opened 8 years ago

quozl commented 8 years ago

when /home/olpc/Activities is missing, the "Edit an installed activity" does not appear, and the activity log shows;

Traceback (most recent call last):
  File "/usr/share/sugar/activities/Develop.activity/develop_app.py", line 266, in _show_welcome
    welcome_page = WelcomePage()
  File "/usr/share/sugar/activities/Develop.activity/widgets.py", line 127, in __init__
    self._load_activities_installed_combo(activity_name_combo)
  File "/usr/share/sugar/activities/Develop.activity/widgets.py", line 182, in _load_activities_installed_combo
    for dir_name in sorted(os.listdir(activities_path)):
OSError: [Errno 2] No such file or directory: '/home/olpc/Activities'

workaround is to create the directory.

quozl commented 8 years ago

ah, i see @tchx84 has worked this one!