0 votes
288 vues

I worked on producing a draft print with PTXPrint in a Paratext project, and when I was done, I did a S/R of the project, but the “shared” folder (where PTXPrint puts its configuration files) did not get sent. S/R said I had made no changes to the project. I had to make some other change to the project for Paratext to realize that the newly created “shared” folder was out there and also needed to be sent. Restarting Paratext did not fix the problem. So I changed a small permission, then S/R sent with the “shared” folder (and then changed the permission back). I think Paratext should check if there is a change of status of the “shared” folder when it does S/R, along with other changes that it detects.

Paratext par (1,4k points) | 288 vues

2 Réponses

0 votes
Meilleure réponse

This is a known issue and has been around for a long time (since 7.5, maybe?). The problem is that Paratext does not see new files added by a user without some other change. The cause of this is some caching done when determining what changed for S/R. Basically, without having opening of the S/R dialog take much longer (one or two seconds per project), it can’t detect new files in a project.
When Paratext creates a new file, it is able to update the cache so it will be S/R’d, but when a user adds a new file, Paratext has no way to know that it now exists without the aforementioned slowdown when doing a S/R.

par [Expert]
(16,7k points)
0 votes

Here’s a thought… What about having a specially-named file in the “shared” folder, and if Paratext sees that file it knows that the “shared” folder needs to be synced. In the process of the sync it would delete that file. (Of course you would want to choose a filename that is very distinct/unique, so it wouldn’t be created accidentally.) This would allow outside programs like PTXPrint to set that flag when it updates files to indicate that S/R is required. Just an idea…

par (1,4k points)

A flag such as this would be very helpful for our team. Ideally it would trigger for settings changes within PT as well as external programs. (For example, changing a user role used to require a full S/R, which was missed in earlier versions of PT.) I know that user roles are now transferred separately, immediately if internet is available. But if there are other settings edits that require S/R to propagate, it’d be great if they could trigger this flag as well.

Thanks!

There is already such a file: unique.id. If an external program wishes to flag that a S/R should be done, all it needs to do is write something random (e.g. a guid) to that file. The next time Paratext does a S/R it will see that this file has changed and it will do an add/remove to the local repository before sending to the remote repository.

PADev.

Questions connexes

0 votes
6 réponses 715 vues
Hi Is it possible to have a shared blank document for notes? Our teams needs a place to write different decisions, we make during the translation process. Thanks.
anon084515 116 posée janv. 18, 2021
0 votes
2 réponses 236 vues
Before the new way to copy a project with its history, I think the best practice for creating a copy of a project ( ... can't choose the correct glosses of the words in the IL.
wdavidhj 1,4k posée juin 27, 2018
0 votes
2 réponses 320 vues
Some users only ever use the quick S/R, i.e. the one accessible from the toolbar button. If they do this, they will ... warning box if there's a new project for them to S/R?
wdavidhj 1,4k posée juil. 16, 2016
0 votes
0 réponses 137 vues
I've wondered if we ought to write something about shared projects and backup software. Users may be using a ... /tiki-index.php?page_ref_id=376 I'd appreciate any comments.
[Expert]
sewhite
3,3k
posée janv. 28, 2016
0 votes
1 réponse 76 vues
Hi Friends, I have this project with the name RNH. It was, of course, created by me and registered in Paratext Registry ... your help on how to locate/find this folder. Thank you.
TSNgaihte 220 posée févr. 18, 2025
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
May the God who gives endurance and encouragement give you the same attitude of mind toward each other that Christ Jesus had.
Romans 15:5
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs