Author Topic: Thus isntaller {system check - screen} not loading  (Read 1130 times)

0 Members and 1 Guest are viewing this topic.

Offline gonzalo2099

  • Neuling
  • *
  • Posts: 28
  • LinuxAddict
  • Branch: stable
  • Desktop: plasma5
  • GPU Card: nvidia-gforce
  • GPU driver: free-drivers
  • Kernel: 4.4.3
  • Skill: Intermediate
Thus isntaller {system check - screen} not loading
« on: 26. February 2016, 05:15:47 »
i'm building thus installer from sources, all is working fine but in "system check screen" should appear "you are connected to internet........ " but screen is empty. I saw there is a problen with check.py  in thus sources but still i dont got any solution for this trouble. I got this output when i run thus with my terminal:

Code: [Select]
sudo thus
Traceback (most recent call last):
  File "/usr/share/thus/thus/main_window.py", line 372, in on_forward_button_clicked
    self.current_page.prepare('forwards')
  File "/usr/share/thus/thus/check.py", line 188, in prepare
    self.forward_button.set_sensitive(self.check_all())
  File "/usr/share/thus/thus/check.py", line 99, in check_all
    on_power = not self.on_battery()
  File "/usr/share/thus/thus/check.py", line 117, in on_battery
    return misc.get_prop(upower, UPOWER_PATH, 'OnBattery')
  File "/usr/share/thus/thus/misc/misc.py", line 832, in get_prop
    return obj.Get(iface, prop, dbus_interface=dbus.PROPERTIES_IFACE)
  File "/usr/lib/python3.5/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3.5/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3.5/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.InvalidArgs: No such interface '/org/freedesktop/UPower'

(thus.py:16890): Gtk-CRITICAL **: gtk_container_remove: assertion '_gtk_widget_get_parent (widget) == GTK_WIDGET (container) || GTK_IS_ASSISTANT (container) || GTK_IS_ACTION_BAR (container) || GTK_IS_POPOVER_MENU (container)' failed

I'm looking code and trying it, but i dont get lucky about. Some idea ????


Offline gonzalo2099

  • Neuling
  • *
  • Posts: 28
  • LinuxAddict
  • Branch: stable
  • Desktop: plasma5
  • GPU Card: nvidia-gforce
  • GPU driver: free-drivers
  • Kernel: 4.4.3
  • Skill: Intermediate
Re: Thus isntaller {system check - screen} not loading
« Reply #1 on: 26. February 2016, 18:55:58 »
Seems that the trouble is not with thus, looks like dbus is not working correctly.  :-\

Offline gonzalo2099

  • Neuling
  • *
  • Posts: 28
  • LinuxAddict
  • Branch: stable
  • Desktop: plasma5
  • GPU Card: nvidia-gforce
  • GPU driver: free-drivers
  • Kernel: 4.4.3
  • Skill: Intermediate
Re: Thus isntaller {system check - screen} not loading
« Reply #2 on: 26. February 2016, 19:14:10 »
Finally i fixed the trouble, just i change on /thus-0.9.3/thus/check.py  =>>  UPOWER_PATH = '/usr/lib/upower/upowerd'
 ;D