sugarlabs / browse-activity

Sugar activity to browse the internet; WebKit on GTK on Sugar Toolkit
GNU General Public License v2.0
8 stars 44 forks source link

Fail to start using `sugar-activity` in Terminal #89

Closed quozl closed 5 years ago

quozl commented 5 years ago
Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 219, in <module>
    main()
  File "/usr/bin/sugar-activity", line 214, in main
    instance = create_activity_instance(activity_constructor, activity_handle)
  File "/usr/bin/sugar-activity", line 48, in create_activity_instance
    activity = constructor(handle)
  File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line 192, in __init__
    self._tabbed_view = TabbedView(self)
  File "/usr/share/sugar/activities/Browse.activity/browser.py", line 133, in __init__
    self.settings = _get_local_settings(activity)
  File "/usr/share/sugar/activities/Browse.activity/browser.py", line 117, in _get_local_settings
    _settings = Gio.Settings.new_full(schema, None, None)
TypeError: Argument 0 does not allow None as a value
Segmentation fault (core dumped)

May be caused by environment variables inherited from Terminal, which would mean the fix may also be done to Terminal.

Workaround: start from Sugar home view.

aarjavjain1 commented 5 years ago

Is the issue still there or has been corrected by https://github.com/sugarlabs/terminal-activity/pull/34

If it persists, how to reproduce it?

Thanks.

quozl commented 5 years ago

Thanks. I agree, it is fixed. Method to reproduce per issue title; start Browse using sugar-activity in Terminal.