solydxk-system problems after upgrading to Solydxk 10

SolydXK is too quiet for you? SolydXK Enthusiast Editions, based on Debian Testing is for you! Here you can find news about Debian Testing and Unstable too, and also tests on SolydXK programs.
The support for SolydXK EE is provided by the community.
proofy
Posts: 8
Joined: 03 May 2019 22:33
Location: Germany
Contact:

Re: Solydxk-system hangs

Postby proofy » 25 Jul 2019 12:09

great support here <3 .
But still the same problem.

Code: Select all

apt purge solydxk-system
apt install solydxk-system
dpkg -l solydxk-system
  ii  solydxk-system                      3.4.1                  all                    SolydXK core system configuration.


User avatar
Arjen Balfoort
Site Admin
Posts: 9286
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Solydxk-system hangs

Postby Arjen Balfoort » 25 Jul 2019 14:24

And do you get any errors if you run this in terminal:

Code: Select all

solydxk-system -n


SolydXK needs you!
Development | Testing | Translations

proofy
Posts: 8
Joined: 03 May 2019 22:33
Location: Germany
Contact:

Re: Solydxk-system hangs

Postby proofy » 25 Jul 2019 17:57

Code: Select all

root@amdpower:# solydxk-system -n
https://repository.solydxk.com/mirrors.list
https://repository.solydxk.com/mirrors.list
Create list store eval string: Gtk.ListStore(bool, str, str, str, str, int, int)
First item is column name (multi-column list): Aktuell
First item is column name (multi-column list): Land
First item is column name (multi-column list): Paketquelle
First item is column name (multi-column list): URL
First item is column name (multi-column list): Geschwindigkeit
Create column names: ['Aktuell', 'Land', 'Paketquelle', 'URL', 'Geschwindigkeit']
First item is column name: skip first item
Create column: Gtk.TreeViewColumn("Aktuell", Gtk.CellRendererToggle(), active=0)
Column added: Aktuell
Create column: Gtk.TreeViewColumn("Land", Gtk.CellRendererText(), text=1, weight=5, size=6)
Column added: Land
Create column: Gtk.TreeViewColumn("Paketquelle", Gtk.CellRendererText(), text=2, weight=5, size=6)
Column added: Paketquelle
Create column: Gtk.TreeViewColumn("URL", Gtk.CellRendererText(), text=3, weight=5, size=6)
Column added: URL
Create column: Gtk.TreeViewColumn("Geschwindigkeit", Gtk.CellRendererText(), text=4, weight=5, size=6)
Column added: Geschwindigkeit
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1
[['Installieren', '', 'Gerät', 'driver', 'manid', 'deviceid'], [True, '/usr/share/solydxk/system/images/amd.png', 'Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] ', 'xserver-xorg-video-amdgpu', '1002', '67df']]
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, int, int)
First item is column name (multi-column list): Installieren
First item is column name (multi-column list): 
First item is column name (multi-column list): Gerät
Create column names: ['Installieren', '', 'Gerät']
First item is column name: skip first item
Create column: Gtk.TreeViewColumn("Installieren", Gtk.CellRendererToggle(), active=0)
Column added: Installieren
Create column: Gtk.TreeViewColumn("", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: 
Create column: Gtk.TreeViewColumn("Gerät", Gtk.CellRendererText(), text=2, weight=3, size=4)
Column added: Gerät
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1
Create list store eval string: Gtk.ListStore(bool, str, str, bool, int, int)
First item is column name (multi-column list): Installiert
First item is column name (multi-column list): Sprachumgebung
First item is column name (multi-column list): Sprache
First item is column name (multi-column list): Standard
Create column names: ['Installiert', 'Sprachumgebung', 'Sprache', 'Standard']
First item is column name: skip first item
Create column: Gtk.TreeViewColumn("Installiert", Gtk.CellRendererToggle(), active=0)
Column added: Installiert
Create column: Gtk.TreeViewColumn("Sprachumgebung", Gtk.CellRendererText(), text=1, weight=4, size=5)
Column added: Sprachumgebung
Create column: Gtk.TreeViewColumn("Sprache", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Sprache
Create column: Gtk.TreeViewColumn("Standard", Gtk.CellRendererToggle(), active=3)
Column added: Standard
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1

User avatar
Arjen Balfoort
Site Admin
Posts: 9286
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Solydxk-system hangs

Postby Arjen Balfoort » 25 Jul 2019 19:21

So, no error messages there.
What about ~/.xsession-errors
Any relevant errors?


SolydXK needs you!
Development | Testing | Translations

proofy
Posts: 8
Joined: 03 May 2019 22:33
Location: Germany
Contact:

Re: Solydxk-system hangs

Postby proofy » 26 Jul 2019 21:22

I tried debugging once. When calling " cmd = "env LANG=C sudo apt-get autoremove --assume-no | grep -E '^ '" it hangs. But I also noticed some strange calls in the system calls of python. So the timeout is processed first. But if the timeout is triggered, is the call executed again without timeout?
That made me go the risky way and upgrade my whole system to Buster. Of course solydxk-system still doesn't work now, but now with error messages that are probably related to the Python version. But I think this is something for another thread. First thanks until here.

User avatar
Arjen Balfoort
Site Admin
Posts: 9286
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Solydxk-system hangs

Postby Arjen Balfoort » 27 Jul 2019 07:06

Please, run this command in terminal:

Code: Select all

/usr/bin/env python3
This will open the python3 interpreter (ctrl-D to exit) and the first line shows its version number.
In my case: Python 3.5.3

Also check if there's a difference if you directly run this in terminal:

Code: Select all

/usr/bin/python3
Getting the version number can be done with:

Code: Select all

/usr/bin/python3 -V
but I want to see what happens if env is involved.

The first command lets PATH decide which python3 version should be run. This adds flexibility but sometimes causes problems if different versions of the same python interpreter are installed. Say, 3.4 and 3.5.

For a quick list of installed python interpreters you can run:

Code: Select all

ls -al /usr/bin/python[0-9]*


SolydXK needs you!
Development | Testing | Translations

proofy
Posts: 8
Joined: 03 May 2019 22:33
Location: Germany
Contact:

solydxk-system problems after upgrading to Solydxk 10

Postby proofy » 27 Jul 2019 21:37

because I'm using Solydxk 10 with Buster now, I switch to Testing Zone
continuing viewtopic.php?f=79&t=7425
Arjen Balfoort wrote:
27 Jul 2019 07:06
Please, run this command in terminal:

Code: Select all

/usr/bin/env python3
This will open the python3 interpreter (ctrl-D to exit) and the first line shows its version number.
In my case: Python 3.5.3

Also check if there's a difference if you directly run this in terminal:

Code: Select all

/usr/bin/python3
Getting the version number can be done with:

Code: Select all

/usr/bin/python3 -V
but I want to see what happens if env is involved.

The first command lets PATH decide which python3 version should be run. This adds flexibility but sometimes causes problems if different versions of the same python interpreter are installed. Say, 3.4 and 3.5.

For a quick list of installed python interpreters you can run:

Code: Select all

ls -al /usr/bin/python[0-9]*
All commands in a su shell (sudo -s)

Code: Select all

root@amdpower: ~# /usr/bin/env python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

root@amdpower:~# /usr/bin/python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
[GCC 8.3.0] on linux

root@amdpower:~# /usr/bin/python3 -V
Python 3.7.3

root@amdpower:~# ls -al /usr/bin/python[0-9]*
lrwxrwxrwx 1 root root       9 Mär  4 16:48 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 3685224 Apr  6 03:42 /usr/bin/python2.7
lrwxrwxrwx 1 root root       9 Mär 26 11:25 /usr/bin/python3 -> python3.7
-rwxr-xr-x 1 root root 4751184 Sep 27  2018 /usr/bin/python3.5
-rwxr-xr-x 1 root root 4751184 Sep 27  2018 /usr/bin/python3.5m
-rwxr-xr-x 2 root root 4877888 Apr  3 07:39 /usr/bin/python3.7
-rwxr-xr-x 2 root root 4877888 Apr  3 07:39 /usr/bin/python3.7m
lrwxrwxrwx 1 root root      10 Mär 26 11:25 /usr/bin/python3m -> python3.7m
-rwxr-xr-x 1 root root    1797 Jul 12  2017 /usr/bin/python3-unidiff

root@amdpower:~# update-alternatives --display python
python - automatischer Modus
  beste Version des Links ist /usr/bin/python2.7
  Link verweist zur Zeit auf /usr/bin/python2.7
  Link python ist /usr/bin/python
/usr/bin/python2.7 - Priorität 2
/usr/bin/python3.5 - Priorität 1
root@amdpower:~# update-alternatives --display python3
update-alternatives: Fehler: keine Alternativen für python3


Code: Select all

root@amdpower:~# solydxk-system -n   

(main.py:13964): Gtk-WARNING **: 23:35:47.303: Theme parsing error: gtk.css:127:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(main.py:13964): Gtk-WARNING **: 23:35:47.303: Theme parsing error: gtk.css:128:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(main.py:13964): Gtk-WARNING **: 23:35:47.303: Theme parsing error: gtk.css:132:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
https://repository.solydxk.com/mirrors.list
https://repository.solydxk.com/mirrors.list
Create list store eval string: Gtk.ListStore(bool, str, str, str, str, int, int)
First item is column name (multi-column list): Aktuell
First item is column name (multi-column list): Land
First item is column name (multi-column list): Paketquelle
First item is column name (multi-column list): URL
First item is column name (multi-column list): Geschwindigkeit
Create column names: ['Aktuell', 'Land', 'Paketquelle', 'URL', 'Geschwindigkeit']
First item is column name: skip first item
Create column: Gtk.TreeViewColumn("Aktuell", Gtk.CellRendererToggle(), active=0)
Column added: Aktuell
Create column: Gtk.TreeViewColumn("Land", Gtk.CellRendererText(), text=1, weight=5, size=6)
Column added: Land
Create column: Gtk.TreeViewColumn("Paketquelle", Gtk.CellRendererText(), text=2, weight=5, size=6)
Column added: Paketquelle
Create column: Gtk.TreeViewColumn("URL", Gtk.CellRendererText(), text=3, weight=5, size=6)
Column added: URL
Create column: Gtk.TreeViewColumn("Geschwindigkeit", Gtk.CellRendererText(), text=4, weight=5, size=6)
Column added: Geschwindigkeit
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1
[['Installieren', '', 'Gerät', 'driver', 'manid', 'deviceid'], [True, '/usr/share/solydxk/system/images/amd.png', 'Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] ', 'xserver-xorg-video-amdgpu', '1002', '67df']]
Create list store eval string: Gtk.ListStore(bool, GdkPixbuf.Pixbuf, str, int, int)
First item is column name (multi-column list): Installieren
First item is column name (multi-column list): 
First item is column name (multi-column list): Gerät
Create column names: ['Installieren', '', 'Gerät']
First item is column name: skip first item
Create column: Gtk.TreeViewColumn("Installieren", Gtk.CellRendererToggle(), active=0)
Column added: Installieren
Create column: Gtk.TreeViewColumn("", Gtk.CellRendererPixbuf(), pixbuf=1)
Column added: 
Create column: Gtk.TreeViewColumn("Gerät", Gtk.CellRendererText(), text=2, weight=3, size=4)
Column added: Gerät
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1
Create list store eval string: Gtk.ListStore(bool, str, str, bool, int, int)
First item is column name (multi-column list): Installiert
First item is column name (multi-column list): Sprachumgebung
First item is column name (multi-column list): Sprache
First item is column name (multi-column list): Standard
Create column names: ['Installiert', 'Sprachumgebung', 'Sprache', 'Standard']
First item is column name: skip first item
Create column: Gtk.TreeViewColumn("Installiert", Gtk.CellRendererToggle(), active=0)
Column added: Installiert
Create column: Gtk.TreeViewColumn("Sprachumgebung", Gtk.CellRendererText(), text=1, weight=4, size=5)
Column added: Sprachumgebung
Create column: Gtk.TreeViewColumn("Sprache", Gtk.CellRendererText(), text=2, weight=4, size=5)
Column added: Sprache
Create column: Gtk.TreeViewColumn("Standard", Gtk.CellRendererToggle(), active=3)
Column added: Standard
Create list store eval string: Gtk.ListStore(bool, str, int, int)
Create column names: ['Column 0', 'Column 1']
Create column: Gtk.TreeViewColumn("Column 0", Gtk.CellRendererToggle(), active=0)
Column added: Column 0
Create column: Gtk.TreeViewColumn("Column 1", Gtk.CellRendererText(), text=1, weight=2, size=3)
Column added: Column 1
========== Device Info of: /dev/sdc4 ==========
UUID: fcda61ed-80b4-4138-9f00-1234567890ab								
FS Type: swap
Mount Point: 
Label: SWAP
Total Size: 32766976.0
Free Size: 0
Used Size: 0
Connection Bus: 
Removable: False
Ejectable: False
Can Power Off: False
Hot Plugged: False
Has Grub: False
===============================================
Traceback (most recent call last):
  File "/usr/lib/solydxk/system/main.py", line 73, in <module>
    SolydXKSystemSettings(nosplash=ns)
  File "/usr/lib/solydxk/system/solydxk_system.py", line 282, in __init__
    self.fill_treeview_fstab_partitions()
  File "/usr/lib/solydxk/system/solydxk_system.py", line 401, in fill_treeview_fstab_partitions
    self.fill_partitions(False)
  File "/usr/lib/solydxk/system/solydxk_system.py", line 877, in fill_partitions
    self.udisks2.fill_devices(include_flash=include_flash)
  File "/usr/lib/solydxk/system/udisks2.py", line 65, in fill_devices
    mapper_path, luks_mount = self.get_luks_info(device_path)
  File "/usr/lib/solydxk/system/udisks2.py", line 407, in get_luks_info
    return (mapper_path, mount_points[0])
IndexError: list index out of range
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/solydxk/system/main.py", line 34, in uncaught_excepthook
    from types import BuiltinFunctionType, ClassType, ModuleType, TypeType
ImportError: cannot import name 'ClassType' from 'types' (/usr/lib/python3.7/types.py)

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/solydxk/system/main.py", line 73, in <module>
    SolydXKSystemSettings(nosplash=ns)
  File "/usr/lib/solydxk/system/solydxk_system.py", line 282, in __init__
    self.fill_treeview_fstab_partitions()
  File "/usr/lib/solydxk/system/solydxk_system.py", line 401, in fill_treeview_fstab_partitions
    self.fill_partitions(False)
  File "/usr/lib/solydxk/system/solydxk_system.py", line 877, in fill_partitions
    self.udisks2.fill_devices(include_flash=include_flash)
  File "/usr/lib/solydxk/system/udisks2.py", line 65, in fill_devices
    mapper_path, luks_mount = self.get_luks_info(device_path)
  File "/usr/lib/solydxk/system/udisks2.py", line 407, in get_luks_info
    return (mapper_path, mount_points[0])
IndexError: list index out of range


User avatar
Arjen Balfoort
Site Admin
Posts: 9286
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: solydxk-system problems after upgrading to Solydxk 10

Postby Arjen Balfoort » 28 Jul 2019 08:17

That is something I can work with!
Your python is fine and the error has a simple solution.

I have adapted the code and uploaded it to the testing repository.
You can add "testing" at the end of the "deb https://repository.solydxk.com" line of /etc/apt/sources.list and run:

Code: Select all

apt update
apt install solydxk-system
You can also download the deb here: https://repository.solydxk.com/pool/tes ... xk-system/

Let me know how it goes.


SolydXK needs you!
Development | Testing | Translations


Return to “Testing Zone”

Who is online

Users browsing this forum: No registered users and 4 guests