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)

3 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 (707 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)
0 votes
We are once again having this problem with the latest version, 2.6.10. In a Paratext class of 15, it happened for (at least) 2 students. For one, we tried a few more times, and it eventually worked. For the other, it continues to give the error, which is slightly different than the original error:

File "ptxprint.py", line 384, in <module>
'NoneType' object has no attribute 'prjid'

In our case, we are always trying to change the UI language from English to French.
ago 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.
All the believers were one in heart and mind. No one claimed that any of their possessions was their own, but they shared everything they had.
Acts 4:32
2,626 questions
5,364 answers
5,041 comments
1,420 users