can't open Galaxies from launcher

Bug #1864270 reported by Chris Guiver on 2020-02-22
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SGT Puzzles Collection
New
Unknown

Bug Description

When loading sgt-lanucher from menu. and selecting "Galaxies", it just spins endlessly and never opens.

When I `sgt-launcher` from terminal, and select "Galaxies" i get this on the terminal (and no change on terminal

guiverc@d960-ubu2:/de2900/ubuntu_podcasts/ubu_sec$ sgt-launcher
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 52, in callback
    withdrawn = self.wait_for_window_withdraw()
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 89, in wait_for_window_withdraw
    withdrawn = is_withdrawn(self.window_id)
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 178, in is_withdrawn
    withdrawn = not property_reply or property_value[0] == 0
TypeError: 'NoneType' object is not subscriptable

I'm using Lubuntu currently (thus LXQt is active desktop), but `xubuntu-desktop` is installed too.

Chris Guiver (guiverc) wrote :

I've run `apport-collect 1864270` and results didn't show here :( (I did notice package upgrades earlier today so could just be unlucky)
Maybe helpful :-

sgt-launcher:
  Installed: 0.2.5-0ubuntu1
  Candidate: 0.2.5-0ubuntu1
  Version table:
 *** 0.2.5-0ubuntu1 500
        500 http://ftp.iinet.net.au/pub/ubuntu focal/universe amd64 Packages
        500 http://ftp.iinet.net.au/pub/ubuntu focal/universe i386 Packages
        100 /var/lib/dpkg/status

sgt-puzzles:
  Installed: 20191231.79a5378-3
  Candidate: 20191231.79a5378-3
  Version table:
 *** 20191231.79a5378-3 500
        500 http://ftp.iinet.net.au/pub/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

lotuspsychje (lotuspsychje) wrote :

Tested on ubuntu-desktop 20.04 development branch, gnome3 and system up to date

installed sgt-launcher & sgt-puzzles

after opening main sgt-launcher icon i get the main puzzle list

doubleclicking a game makes it launch a little window outside the main square and loops back
to the main puzzle list (see screenshot)

the second attempt to open the same game, does launch it inside the square

this is only half reproducable, sometimes it loops, sometimes it launches puzzle
right away

Chris Guiver (guiverc) wrote :

It's also not just that program, or possibly it not all the time

A re-launch of sgt-launcher and selecting "Bridges"

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 52, in callback
    withdrawn = self.wait_for_window_withdraw()
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 89, in wait_for_window_withdraw
    withdrawn = is_withdrawn(self.window_id)
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 178, in is_withdrawn
    withdrawn = not property_reply or property_value[0] == 0
TypeError: 'NoneType' object is not subscriptable

A re-launch of sgt-launcher and selecting "Flip"

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 52, in callback
    withdrawn = self.wait_for_window_withdraw()
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 89, in wait_for_window_withdraw
    withdrawn = is_withdrawn(self.window_id)
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 178, in is_withdrawn
    withdrawn = not property_reply or property_value[0] == 0
TypeError: 'NoneType' object is not subscriptable

I didn't explore much when first ran, I was summarizing Sean's blog for UWN & that made me want to look :)

I thought I had one open, but maybe I didn't (having opened it directly via terminal which does work for me; the launcher is where I'm having issues). I'll explore more if requested.

Rudolf Dovičín (ruwolf) wrote :

I had the same problem.
When I run sgt-launcher and try to start any game from it, I get error messages like Chris Guiver (guiverc):

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 52, in callback
    withdrawn = self.wait_for_window_withdraw()
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 89, in wait_for_window_withdraw
    withdrawn = is_withdrawn(self.window_id)
  File "/usr/lib/python3/dist-packages/sgtlauncher/SgtSocketLauncher.py", line 178, in is_withdrawn
    withdrawn = not property_reply or property_value[0] == 0
TypeError: 'NoneType' object is not subscriptable

When I had upgraded to Ubuntu 20.04 by debian way (adding new repository and run aptitude), it stared to make error.
Then I tried command
apt-get dist-upgrade
as root, it finished successfully (it upgraded python2-minimal, python2 & libpython2-stdlib, which conflicts I was not able to solve with aptitude), but it does not help with sgt-launcher error, it still gives the same error.

Sean Davis (bluesabre) on 2020-06-14
Changed in sgt-launcher:
importance: Undecided → Unknown
status: New → Unknown
Changed in sgt-launcher:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.