0 votes
We have just installed 2.5.12 and get an error when changing the language.

My team member can't change to Arabic.

I uninstalled and reinstalled and can't change to English, it automatically chose the first language, Arabic.

The error is

Traceback (most recent call last):
  File "ptxprint.py", line 381, in <module>
AttributeError: 'GtkViewModel' object has no attribute 'configId'

PTXprint Version 2.5.12

Then again from Unhandled exception in script

Failed to execute script 'ptxprint' due to unhandled exception:
'GtkViewModel' object has no attribute 'configId'

Traceback (most recent call last):
  File "ptxprint.py", line 381, in <module>
AttributeError: 'GtkViewModel' object has no attribute 'configId'
PTXprint by (211 points)

2 Answers

0 votes
Well... I can confirm the bug. I'll put in a bug report on github.
There's a work-around to setting it, if you can figure out where ptxprint_user.cfg is stored on your machines (On linux, it's in ~/.config/ptxprint/ptxprint_user.cfg), that's a text file and you're looking for the line which starts lang=

e.g. on mine it says "lang=en.UTF-8" for English, I guess ar.UTF-8 for Arabic.
Needless to say, make a backup of the file first!
by (699 points)
0 votes
I had exactly the same problem, when trying to change to French UI on version 2.5.12. I have now updated to version 2.6.1 and it works as expected.

Note, however, that sometimes when I click on the language button, the menu that appears only shows Arabic and Chinese. When that happens, usually the other languages show up a bit later, sometimes even without clicking again.

Jeff
by (1.3k points)

Related questions

0 votes
2 answers
0 votes
1 answer
0 votes
4 answers
0 votes
1 answer
0 votes
2 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
How good and pleasant it is when God’s people live together in unity!
Psalm 133:1
2,618 questions
5,350 answers
5,037 comments
1,421 users