0 votes
245 views

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 by (1.4k points) | 245 views

2 Answers

0 votes
Best answer

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.

by [Expert]
(16.6k 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…

by (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.

Related questions

0 votes
6 answers 642 views
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 asked Jan 18, 2021
0 votes
2 answers 219 views
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 asked Jun 27, 2018
0 votes
2 answers 299 views
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 asked Jul 16, 2016
0 votes
0 answers 126 views
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
asked Jan 28, 2016
0 votes
2 answers 245 views
Every time you do an S/R, PT displays a Changes Sent and Received window, and it doesn't force you to close it in ... : click to vote for me to submit a Feature Request for this!
wdavidhj 1.4k asked Sep 6, 2018
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
3,037 questions
5,994 answers
5,661 comments
2,022 users