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 (704 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

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
2,588 questions
5,328 answers
5,026 comments
1,400 users