Firefox-78.7.1esr update throws error

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jwiz
Level 4
Level 4
Posts: 342
Joined: Tue Dec 20, 2016 6:59 am

Firefox-78.7.1esr update throws error

Post by jwiz »

Upon updating Firefox to 78.7.1esr, I received the following error msg:

Code: Select all

Trigger für mintsystem (8.5.1) werden verarbeitet ...
  File "/usr/share/linuxmint/adjustments/15-debian-system-adjustments.execute", line 16
    except Exception, detail:
                    ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/usr/share/linuxmint/adjustments/15-mint-artwork-gnome-firefox.execute", line 2, in <module>
    import os, commands
ModuleNotFoundError: No module named 'commands'
Traceback (most recent call last):
  File "/usr/share/linuxmint/adjustments/15-lmde-guide.execute", line 2, in <module>
    import os, commands
ModuleNotFoundError: No module named 'commands'
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jwiz
Level 4
Level 4
Posts: 342
Joined: Tue Dec 20, 2016 6:59 am

Re: Firefox-78.7.1esr update throws error

Post by jwiz »

The same happened upon updating to Firefox 78.8.0esr
User avatar
axisofevil
Level 4
Level 4
Posts: 379
Joined: Mon Nov 14, 2011 12:22 pm

Re: Firefox-78.7.1esr update throws error

Post by axisofevil »

I had no problem and I do have /usr/share/linuxmint/adjustments/15-debian-system-adjustments.execute which is an executable script and contains:-

cat /usr/share/linuxmint/adjustments/15-debian-system-adjustments.execute
#!/usr/bin/python
import os
import commands
import syslog

try:
if not os.path.exists("/usr/share/applications/defaults.list"):
os.system("mkdir -p /usr/share/applications")
os.system("cp -R /usr/share/linuxmint/adjustments/gnome/defaults.list /usr/share/applications/defaults.list")
except:
pass

try:
if os.path.exists("/etc/X11/Xsession.d/98vboxadd-xclient"):
os.system("sed -i -e 's@notify-send@true #@g' /etc/X11/Xsession.d/98vboxadd-xclient")
except Exception, detail:
syslog.syslog("Couldn't adjust /etc/X11/Xsession.d/98vboxadd-xclient: %s" % detail)
Locked

Return to “Software & Applications”