Public bug reported:

This concerns sgt-launcher version 0.2.5-0ubuntu1 in Ubuntu focal.

I see the following when installing the package:

Setting up sgt-launcher (0.2.5-0ubuntu1) ...
/usr/lib/python3.8/subprocess.py:838: RuntimeWarning: line buffering 
(buffering=1) isn't supported in binary mode, the default buffer size will be 
used
  self.stdin = io.open(p2cwrite, 'wb', bufsize)
/usr/lib/python3/dist-packages/sgtlauncher/SgtLauncher.py:232: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if name is "launcher":
/usr/lib/python3/dist-packages/sgtlauncher/SgtLauncher.py:235: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if name is "loading":
/usr/lib/python3/dist-packages/sgtlauncher/SgtLauncher.py:238: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if name is "game":
/usr/lib/python3/dist-packages/sgtlauncher/SgtLauncher.py:250: SyntaxWarning: 
"is not" with a literal. Did you mean "!="?
  if name is not "launcher" and os.path.isfile(icon_name):
/usr/lib/python3/dist-packages/sgtlauncher/SgtLauncher.py:260: SyntaxWarning: 
"is" with a literal. Did you mean "=="?
  if name is "game":


The "line buffering" warning is a different issue, but the SyntaxWarning 
messages indicate problems with at least one of this package's Python scripts.

** Affects: sgt-launcher (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870633

Title:
  Python syntax issues in SgtLauncher.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sgt-launcher/+bug/1870633/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to