0 votes
71 views
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 (215 points) | 71 views

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 (1.1k 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.4k 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.
by (1.4k points)
Well, after X times trying (where X is some arbitrarily large integer...), someone else tried again and it worked. And for the previous user with the problem, someone else tried several times, and when I tried, it worked. So the trick is having one person try it, and then having another person try it again?! Anyway, immediate problem is solved, but there is some sort of fragility in the code there that might merit a bit of attention.

Related questions

0 votes
1 answer 12 views
I'm running Ubuntu 25.04, and I installed ptxprint like this: sudo apt install python3-ptxprint I experience ... this version of Python does not have the _posix_flavour attribute.
bit 495 asked Oct 8, 2025
0 votes
5 answers 71 views
When I first create a project in PTXprint I can link it to an existing PT-project. I have noticed that sometimes ... , but it happens sometimes.) Hence my question came up.
Tim 934 asked Apr 24
0 votes
4 answers 112 views
I'm trying to print a trial run of a single book (Gospel of John) with the Glossary entries contained in that ... various settings on the Advanced tab. PTXprint Version 2.4.21
aaron_wade 124 asked Jan 15, 2025
0 votes
2 answers 194 views
Here is the error report I get. PTXprint Version 1.9 Please send to: [Email Removed] PTXprint [1.9] - Error! Failed to ... post a bug report References to check: 1.375 1.375 6.63
ace541611 123 asked Aug 23, 2021
+1 vote
1 answer 9 views
In my text collection I have texts in several languages. Now I would find it very helpful if the different languages were ... German blue, etc. Is there a way to do that?
Roland 245 asked Sep 23, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Give proper recognition to those widows who are really in need.
1 Timothy 5:3
3,037 questions
5,994 answers
5,661 comments
2,022 users