Doesn't launch due to Python error

Bug #1641356 reported by Bob Merhebi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NoNotifications
Wishlist
Jacob Vlijm

Bug Description

I tried launching it from the terminal after installing Python module 'gi' using pip under anaconda3. It returns the following (Python 3) syntax error:

~ /opt/nonotifs/nonotifs/no_notifs
Traceback (most recent call last):
  File "/opt/nonotifs/nonotifs/no_notifs", line 4, in <module>
    import gi
  File "/home/user/anaconda3/lib/python3.5/site-packages/gi/__init__.py", line 39
    print url
            ^
SyntaxError: Missing parentheses in call to 'print'

I think you only need to put in parentheses.

Update: I noticed I wasn't running it with python3 before it. Running `~/python3 /opt/nonotifs/nonotifs/nonotifs_tools.py` runs it (shows processes in htop) but no window is launched and it doesn't work (i.e. block notifications) under Gnome 3.

Bob Merhebi (bobmerhebi)
description: updated
description: updated
Revision history for this message
Jacob Vlijm (vlijm) wrote :

Hi Bob, nonotifs_tools.py is an internal library, not meant to run separately! Also, Nonotifs is developed on Unity, sideways tested here on other distro's, but actually meant for Unity. I am sorry.

Changed in nonotifs:
status: New → Won't Fix
importance: Undecided → Wishlist
assignee: nobody → Jacob Vlijm (vlijm)
Revision history for this message
Bob Merhebi (bobmerhebi) wrote :

Update: It was actually running but minimized in the tray.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers