Форум

The button "Remove" configuration doesn't work in PlayOnLinux configuration window

Автор Replies
ShkiperDesna Monday 20 February 2023 at 9:44
ShkiperDesnaAnonymous

When I press "Yes" in dialog to remove configuration the configuration is not being deleted and I have an error in terminal.


Terminal output:

Looking for python... 
Looking for python2.7... 2.7.18 - wxversion(s): 3.0-gtk3
selected
1
[main] Message: PlayOnLinux (4.3.4) is starting
[clean_tmp] Message: Cleaning temp directory
[Check_OpenGL] Warning: check_dd_x86 missing, test skipped
[Check_OpenGL] Warning: check_dd_amd64 missing, test skipped
[POL_System_CheckFS] Message: Checking filesystem for /home/user/.PlayOnLinux/
[main] Message: Filesystem is compatible
[update_check] Message: List is up to date
[install_plugins] Message: Checking plugin: ScreenCap...
[install_plugins] Message: Checking plugin: PlayOnLinux Vault...

(mainwindow.py:88053): Gtk-CRITICAL **: 10:26:21.353: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(mainwindow.py:88053): Gtk-CRITICAL **: 10:26:21.353: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(mainwindow.py:88053): Gtk-CRITICAL **: 10:26:21.353: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(mainwindow.py:88053): Gtk-CRITICAL **: 10:26:21.477: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(mainwindow.py:88053): Gtk-CRITICAL **: 10:26:21.477: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook

(mainwindow.py:88053): Gtk-CRITICAL **: 10:26:21.477: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkNotebook
Traceback (most recent call last):
  File "/usr/share/playonlinux/python/configurewindow/ConfigureWindow.py", line 120, in DeletePrefix
    self._delete_directory(Variables.playonlinux_rep+"/wineprefix/"+self.onglets.s_prefix)
  File "/usr/share/playonlinux/python/configurewindow/ConfigureWindow.py", line 147, in _delete_directory
    for dirname, dirs, files in os.walk(root_path):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 286, in walk
    if isdir(join(top, name)):
  File "/usr/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/share/playonlinux/python/configurewindow/ConfigureWindow.py", line 120, in DeletePrefix
    self._delete_directory(Variables.playonlinux_rep+"/wineprefix/"+self.onglets.s_prefix)
  File "/usr/share/playonlinux/python/configurewindow/ConfigureWindow.py", line 147, in _delete_directory
    for dirname, dirs, files in os.walk(root_path):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 286, in walk
    if isdir(join(top, name)):
  File "/usr/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/share/playonlinux/python/configurewindow/ConfigureWindow.py", line 120, in DeletePrefix
    self._delete_directory(Variables.playonlinux_rep+"/wineprefix/"+self.onglets.s_prefix)
  File "/usr/share/playonlinux/python/configurewindow/ConfigureWindow.py", line 147, in _delete_directory
    for dirname, dirs, files in os.walk(root_path):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 296, in walk
    for x in walk(new_path, topdown, onerror, followlinks):
  File "/usr/lib/python2.7/os.py", line 286, in walk
    if isdir(join(top, name)):
  File "/usr/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: ordinal not in range(128)

(3 errors for 3 attempts)


But the previous launch of PlayOnLinux I could remove a configuration without any problems.

I use PlayOnLinux 4.3.4 on Linux Mint 20.3 Xfce.

Edited by ShkiperDesna

ShkiperDesna Monday 20 February 2023 at 9:49
ShkiperDesnaAnonymous

ShkiperDesna Monday 20 February 2023 at 9:57
ShkiperDesnaAnonymous

The error occurs when environment variable LANG=C is used.