Welcome!

Please read this important information about MX sources lists.
News
  • MX Linux on social media: here
  • Mepis support still here
Current releases
  • MX-16.1 release info here
  • antiX-16.2 release info here
New users
  • Please read this first, and don't forget to add system and hardware information to posts!
  • Read Forum Rules

MX-16 issue: font-manager crashes on startup

Message
Author
User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 287
Joined: Mon Feb 13, 2017 12:09 pm

MX-16 issue: font-manager crashes on startup

#1 Postby MX-16_fan » Tue May 16, 2017 1:15 pm

@all:

When I start font-manager, I can see the actual application window for maybe half a second, and then it disappears.

I believe it used to work. Maybe some update made it dysfunctional.

Can you reproduce this?


Greetings, Joe

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 4671
Age: 44
Joined: Wed Jul 12, 2006 2:10 am

Re: MX-16 issue: font-manager crashes on startup

#2 Postby Eadwine Rose » Tue May 16, 2017 1:18 pm

What happens when you start the program using the Terminal?
mx16-1_x64 SMP MX 4.7.8-1mx16+3 2017-2-23 ext4 Xfce 4.12 * AMD Asus M4A785TD-V EVO AM3 * ASUS GeForce GT640-1GD5-L * AMD Proc. Athlon II X4 635, sAM3 * HDA ATI SB VT1708S Analog * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncMaster P2250 * HP DeskJ F2280

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 287
Joined: Mon Feb 13, 2017 12:09 pm

Re: MX-16 issue: font-manager crashes on startup

#3 Postby MX-16_fan » Wed May 17, 2017 12:10 pm

@Eadwine Rose:

Eadwine Rose wrote:What happens when you start the program using the Terminal?


Basically the same, the only difference being that I can see the window in full size for maybe half a second.

Here is the output from the terminal:

Code: Select all

$ font-manager
INFO    :  Updating /home/[USER NAME]/.fonts.conf
INFO    :  Backing up existing local.conf
INFO    :  Previous version saved as /home/[USER NAME]/.config/font-manager/local.conf
INFO    :  Font Manager is now starting
Traceback (most recent call last):
  File "/usr/bin/font-manager", line 98, in <module>
    main()
  File "/usr/bin/font-manager", line 89, in main
    Main()
  File "/usr/share/font-manager/main.py", line 98, in __init__
    self.objects.load_core()
  File "/usr/share/font-manager/main.py", line 425, in load_core
    self.data['FontManager'] = core.get_manager(self.data['MainWindow'])
  File "/usr/share/font-manager/core/__init__.py", line 791, in get_manager
    MANAGER = FontManager(PROGRESS_CALLBACK, parent)
  File "/usr/share/font-manager/core/__init__.py", line 177, in __init__
    core.fonts.Sort(self, self.progress, self.parent)
  File "/usr/share/font-manager/core/fonts.py", line 290, in __init__
    self._check_cache()
  File "/usr/share/font-manager/core/fonts.py", line 344, in _check_cache
    protocol=cPickle.HIGHEST_PROTOCOL)
  File "/usr/lib/python2.7/shelve.py", line 239, in open
    return DbfilenameShelf(filename, flag, protocol, writeback)
  File "/usr/lib/python2.7/shelve.py", line 223, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
  File "/usr/lib/python2.7/anydbm.py", line 85, in open
    return mod.open(file, flag, mode)
  File "/usr/lib/python2.7/dbhash.py", line 18, in open
    return bsddb.hashopen(file, flag, mode)
  File "/usr/lib/python2.7/bsddb/__init__.py", line 364, in hashopen
    d.open(file, db.DB_HASH, flags, mode)
bsddb.db.DBAccessError: (13, 'Keine Berechtigung')


It's a friend's machine, configured for German, hence the output in German.


Greetings, Joe

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 4671
Age: 44
Joined: Wed Jul 12, 2006 2:10 am

Re: MX-16 issue: font-manager crashes on startup

#4 Postby Eadwine Rose » Wed May 17, 2017 1:49 pm

Hopefully someone knows what is going on here.
mx16-1_x64 SMP MX 4.7.8-1mx16+3 2017-2-23 ext4 Xfce 4.12 * AMD Asus M4A785TD-V EVO AM3 * ASUS GeForce GT640-1GD5-L * AMD Proc. Athlon II X4 635, sAM3 * HDA ATI SB VT1708S Analog * 2x4Gb DDR3 1600 Kingst * 22" Samsung SyncMaster P2250 * HP DeskJ F2280

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 287
Joined: Mon Feb 13, 2017 12:09 pm

Re: MX-16 issue: font-manager crashes on startup

#5 Postby MX-16_fan » Fri May 19, 2017 8:06 am

@Eadwine Rose:

Eadwine Rose wrote:Hopefully someone knows what is going on here.


Yeah, hope so.

Btw. I just found out that the version in the standard repo (0.5.7-4) is extremely outdated. Current version (see project website: http://fontmanager.github.io/) seems to be 0.7.3-16, or 0.7.3 (maybe 0.7.3-16 is only a snapshot, not a release - I am not quite sure, I guess the repo men know which is which when they look here: https://github.com/FontManager/master). Launchpad lists "0.7.3-1" as the "current stable release" (https://launchpad.net/ubuntu/+source/font-manager).

Source code for 0.7.3-16 is available at https://github.com/FontManager/master/zipball/master. Source code for 0.7.3 (which maybe is the most current real release) is available at https://github.com/FontManager/master/r ... .3.tar.bz2. There's an Ubuntu PPA available here: https://launchpad.net/~font-manager/+ar ... tu/staging, https://launchpad.net/ubuntu/+source/font-manager (ppa:font-manager/staging).

There are also some nice Nemo and Thunar extensions available which might make working with fonts easier: https://github.com/FontManager/master/t ... extensions.

On the Debian and Ubuntu side, the package maintainer seems to be Alessio Treglia (alessio@debian.org).

Do you think I should file a package update proposal, rather than trying to analyze where the bug that relates to use of the outdated version comes from?


Greetings, and have a nice weekend, Joe

skidoo
Forum Regular
Forum Regular
Posts: 495
Joined: Tue Sep 22, 2015 6:56 pm

Re: MX-16 issue: font-manager crashes on startup

#6 Postby skidoo » Fri May 19, 2017 11:02 am

Launch via terminal emulator, as Eadwine suggested, is always a good troubleshooting step, to check details of reported errors.
Python is typically very good at tracing/reporting EXACTLY what the error is.
Refer to the last line of the error output.
Type "font-manager bsddb.db.DBAccessError" into google search.
When I did so just now, a promising solution was shown in result#4, within a stackExchange topic.

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 287
Joined: Mon Feb 13, 2017 12:09 pm

Re: MX-16 issue: font-manager crashes on startup

#7 Postby MX-16_fan » Fri May 19, 2017 11:43 am

skidoo wrote:Launch via terminal emulator, as Eadwine suggested, is always a good troubleshooting step, to check details of reported errors.
Python is typically very good at tracing/reporting EXACTLY what the error is.
Refer to the last line of the error output.
Type "font-manager bsddb.db.DBAccessError" into google search.
When I did so just now, a promising solution was shown in result#4, within a stackExchange topic.


Thanks for the hint, skidoo. However, Google doesn't get me any stackExchange result. Could you post the link, please? Thanks in advance, Joe

skidoo
Forum Regular
Forum Regular
Posts: 495
Joined: Tue Sep 22, 2015 6:56 pm

Re: MX-16 issue: font-manager crashes on startup

#8 Postby skidoo » Fri May 19, 2017 11:57 am

Current version (see project website: http://fontmanager.github.io/) seems to be 0.7.3-16, or 0.7.3 (maybe 0.7.3-16 is only a snapshot, not a release - I am not quite sure, I guess the repo men know which is which when they look here: https://github.com/FontManager/master). Launchpad lists "0.7.3-1" as the "current stable release" (https://launchpad.net/ubuntu/+source/font-manager).

https://github.com/FontManager/master/commits/master
As is typical nowadays for programs employing GTK3, font-manager development is (has been, since at least as far back as 2015)
plagued by "break/fix" issues related to changes axross GTK3.x versions.
For font-manager, the problems are compounded by the project having abandoned its (perfectly good, working, mature) python-dependent codebase and starting over, rewriting in vala.

For such gtk -ish projects, I've learned to check the CHANGLOG (and/or commit history) prior to installing any "updated versions".
Unless an appealing new feature has been added, or I find another compelling (bugfix) reason to upgrade... naw, I'll stick with the
known-good working version of the program, thankyouverymuch.

soapbox:
If you do skim the commit history, note the entries titled "drop GTK<3.10 support" then, weeks later, the "drop GTK<3.10 support".
This practice is deplorable ~~ every time they do this (any gtk -dependent project), they're knowingly screwing a percentage of their users.
gtk is not gnome, gnome is not systemd, yet increasingly... all your base are belong to (the whims of) RedHat.

skidoo
Forum Regular
Forum Regular
Posts: 495
Joined: Tue Sep 22, 2015 6:56 pm

Re: MX-16 issue: font-manager crashes on startup

#9 Postby skidoo » Fri May 19, 2017 12:02 pm

DBAccessError
so... ensure the database file exists on your system and verify that your user has write permission.

Image

gawsh, I typed stackExchange instead of stackOverflow. Time to take my meds and go lie down...

User avatar
MX-16_fan
Forum Regular
Forum Regular
Posts: 287
Joined: Mon Feb 13, 2017 12:09 pm

Re: MX-16 issue: font-manager crashes on startup

#10 Postby MX-16_fan » Fri May 19, 2017 1:19 pm

skidoo wrote:
DBAccessError
so... ensure the database file exists on your system and verify that your user has write permission.

Image

gawsh, I typed stackExchange instead of stackOverflow. Time to take my meds and go lie down...


skidoo, this is not about your meds, it's about Google :happy: . In the good old times, when two people googled the same thing, they got the same results. Today, different people get different results, depending on your region, plus probably the browser you employ etc. etc.

I think what you mean is this here: http://stackoverflow.com/questions/2675 ... ccesserror. You might think I'm stubborn but this doesn't get me any closer to the solution.

I searched my HDD for a file called "bsddb.db" but I couldn't find any such thing.

Apart from that, while I do understand that changing some of the underlying architecture can be a nuisance when it comes to implementing the new version (and that it can be based on a bad general decision), https://github.com/FontManager/master/commits documents that they did many, many fixes and useability improvements in the meantime. Needless to discuss each one of them when you look at them.


Greetings, Joe


Return to “Software / Configuration”

Who is online

Users browsing this forum: No registered users and 1 guest