Firefox-78.7.1esr update throws error

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
jwiz
Level 3
Level 3
Posts: 168
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'
jwiz
Level 3
Level 3
Posts: 168
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
axisofevil
Level 4
Level 4
Posts: 209
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)
Post Reply

Return to “Software & Applications”