codesardine / jde

Linux desktop environment built with HTML5, CSS, JavaScript and Python.
GNU General Public License v3.0
685 stars 65 forks source link

jade-dashboard not working in ubuntu 16.04 #39

Closed JPRuehmann closed 6 years ago

JPRuehmann commented 6 years ago

/opt/jade/jade-dashboard

Ops something went wrong: No module named j.AK
Traceback (most recent call last):
  File "/opt/jade/jade-dashboard", line 20, in <module>
    import xdg.DesktopEntry
ImportError: No module named DesktopEntry

I´ve installed all prerequisites as mentioned Jade-Application-Kit:

sudo -H pip install Jade-Application-Kit
Requirement already satisfied: Jade-Application-Kit in /usr/local/lib/python3.5/dist-packages

Jade-menu-data paper-icon-theme-git python-xdg:

sudo -H pip install xdg
Requirement already satisfied: xdg in /usr/local/lib/python3.5/dist-packages

python-gobject:

sudo -H pip install gobject
Requirement already satisfied: gobject in /usr/local/lib/python3.5/dist-packages

Thanks,

codesardine commented 6 years ago

It seems is not finding your modules do you only have 1 version of python installed? what linux distro you are using? I only tested on manjaro linux.

On jade-dashboard you might have to change the 1 line from #!/usr/bin/python to #!/usr/bin/python3

JPRuehmann commented 6 years ago

No 2.7 and 3.5 I am using Kubuntu 16.04 LTS (32Bit)

Tried that but no change.

/opt/jade/jade-dashboard
Traceback (most recent call last):
  File "/opt/jade/jade-dashboard", line 20, in <module>
    import xdg.DesktopEntry
ImportError: No module named 'xdg.DesktopEntry'; 'xdg' is not a package
codesardine commented 6 years ago

remove xdg and gobject leave #!/usr/bin/python3 from your distro repo install python3-gi and python3-xdg Let me know if that works.

JPRuehmann commented 6 years ago

I am a Bit further.

/opt/jade/jade-dashboard
Icon Not found in this theme --> browser
Icon Not found in this theme --> folder_color_pink
Icon Not found in this theme --> system-reboot
Icon Not found in this theme --> system-hibernate
Icon Not found in this theme --> system-suspend
Icon Not found in this theme --> system-hibernate
Traceback (most recent call last):
  File "/opt/jade/jade-dashboard", line 121, in <module>
    html = Api.openFile(html_file)
AttributeError: type object 'Api' has no attribute 'openFile'
codesardine commented 6 years ago

Remove Jade-Application-Kit sudo apt-get -y install python3-pip sudo -H pip3 install Jade-Application-Kit I tink that should do it

JPRuehmann commented 6 years ago

No, no change.

JPRuehmann commented 6 years ago

Does it use its own Theme config or that of the KDE Desktop?

Sorry, wrong Button.

codesardine commented 6 years ago

I'm way from the computer, will have a look into it tomorow, on KDE set gtk icon theme for paper icons.

JPRuehmann commented 6 years ago

OK, then the Theme errors are gone.

/opt/jade/jade-dashboard
Traceback (most recent call last):
  File "/opt/jade/jade-dashboard", line 121, in <module>
    html = Api.openFile(html_file)
AttributeError: type object 'Api' has no attribute 'openFile'
codesardine commented 6 years ago

There was an older version on pypi. Remove Jade-Application-kit and install again (dont upgrade).

JPRuehmann commented 6 years ago

Thanks, now it works.