Public bug reported: Steps to reproduce: 1. From a terminal window in Unity 7.7 (24.04.01 LTS) type 'screenfetch'
Expected Results: 1. You get screenfetch information Actual results: 1. Screenfetch executes - but the following is displayed: /usr/bin/unity:249: SyntaxWarning: invalid escape sequence '\ ' help="Run unity under debugging to help debugging an issue. /!\ Only if devs ask for it.") /usr/bin/unity:251: SyntaxWarning: invalid escape sequence '\ ' help="Path to compiz. /!\ Only if devs ask for it.") /usr/bin/unity:253: SyntaxWarning: invalid escape sequence '\ ' help="Run unity under gdb and print a backtrace on crash. /!\ Only if devs ask for it.") /usr/bin/unity:259: SyntaxWarning: invalid escape sequence '\ ' help="Run unity /!\ This is for compatibility with other desktop interfaces and acts the same as running unity without --replace") Relevant notes: 1. This is a python escape sequence error. In your /usr/bin/unity file, there is the following characters: /!\ probably designed to look like a warning sign. Unfortunately, the \ is a reserved character in Python and \(space) will throw a syntax error. This can be easily corrected by changing /!\ to /!\\ Basically this escapes the escape character. Removes the syntax error from screenfetch and preserves the correct view in "unity --help" 2. lsb_release -rd No LSB modules are available. Description: Ubuntu 24.04.1 LTS Release: 24.04 3. apt-cache policy unity unity: Installed: 7.7.0+23.04.20230222.2-0ubuntu7 Candidate: 7.7.0+23.04.20230222.2-0ubuntu7 Version table: *** 7.7.0+23.04.20230222.2-0ubuntu7 500 500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages 100 /var/lib/dpkg/status ** Affects: unity (Ubuntu) Importance: Undecided Status: New ** Attachment added: "I've attached a fixed version" https://bugs.launchpad.net/bugs/2078549/+attachment/5811387/+files/unity.bin.fixed.backup -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078549 Title: Python syntax errors in unity launch script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/2078549/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs