0 votos
622 visualizações

A colleague of mine is having a problem where going to File > Send/Receive Projects in Paratext 7.6(.54.139) results in a long waiting time (think of 10 minutes or more).
This is followed either by an error message ‘An internal error has occurred’ (HgCommandException, line 67 in lock), or by nothing (the ‘Loading data’ progress bar disappears).

Is it likely that there is a particular project or setting that is causing this?
And what would be the best way to get past this situation?

Publicação antiga - exibida no idioma original
Paratext por (147 pontos) | 622 visualizações

4 Respostas

0 votos
Melhor resposta

Please see FB 58127.
This is a case right after the S/R “Loading data” progress bar had run for about a minute or so (without success).

The case where the “An internal error has occurred” error message was given, occurred on Jan 10 around 8:40 AM UTC.
(The message also said “Support has been notified”.)

Publicação antiga - exibida no idioma original
por (147 pontos)
reexibida

The delay is caused by the user settings project being locked - it looks
like the project files were copied from one virtual machine to another when
this project was locked.

There are two lock files that Mercurial uses:
{projectFolder}.hg\store\lock
{projectFolder}.hg\wlock

Usually both of these are deleted at the end of a command, but sometimes
they are left around and need to be manually deleted.

The user settings project was something we created in Paratext 7.6, but
decided to get rid of in Paratext 8. It’s the last project processed during
send/receive, so errors in it don’t prevent the other projects from being
completed.

The user settings project name is a hash value based on the user name so
usually looks like some random string - in the case of the reported
problem, it is l4Bwgh_BX4. Either of the two files mentioned above that
exist in this project will fix the problem the user is having.

John+Wickberg
Paratext Support

Publicação antiga - exibida no idioma original

There was indeed a wlock file, and deleting it resolved the issue. Thanks.
(The issue occurred on a somewhat special, server-based setup, so I guess you might be right about the file having been copied.)

Publicação antiga - exibida no idioma original
0 votos

It is likely to be an issue with a project. Can you have him use Help > Report a problem right after the problem occurs so that we can try figure out the issue?

Publicação antiga - exibida no idioma original
por [Expert]
(16,7k pontos)
0 votos

I also have a user who can’t run Send/Receive right now. They haven’t indicated that there is an error message, but that it gets “stuck” partway through. (I haven’t seen the problem myself.) But I asked them about the lock files, and they said that both of these files are present:

{projectFolder}.hg\store\lock
{projectFolder}.hg\wlock

So would it be accurate to say that if you are not currently doing a Send/Receive, those two files should not be present, and can be safely deleted?

Publicação antiga - exibida no idioma original
por (1,4k pontos)
0 votos

I was hoping to get a quick reply on this…

If a user is not currently doing a Send/Receive, can those two lock files be safely deleted?

Publicação antiga - exibida no idioma original
por (1,4k pontos)

I think you’re safe to delete those. On Jan 11th John+Wickberg said:

<<There are two lock files that Mercurial uses:
{projectFolder}.hg\store\lock
{projectFolder}.hg\wlock

Usually both of these are deleted at the end of a command, but sometimes
they are left around and need to be manually deleted.>>

Publicação antiga - exibida no idioma original

Sorry for the slow response.
I would take it a step further, though, to be safe: If Paratext is not , it should be safe to delete those files. There are other operations Paratext does besides S/R that can lock the Mercurial repository.

Publicação antiga - exibida no idioma original

Perguntas relacionadas

+1 voto
2 respostas 460 visualizações
Earlier I canceled a send/receive in Paratext 8 and retried it again right away. I received an alert saying that send/ ... able to do send/receive again? EDIT: Answer: 30 minutes
drwww 448 perguntada Mai 2, 2017
0 votos
1 resposta 349 visualizações
Fui nomeado administrador de um projeto, mas agora, quando faço o envio e recebimento (send and receive), o projeto não aparece na minha lista de projetos.
anon157193 105 perguntada Mai 10, 2022
0 votos
1 resposta 359 visualizações
Estou ajudando um consultor a atualizar um projeto. A última vez que ele conseguiu enviar e receber foi em novembro de ... , assim como eu) Obrigado desde já pela ajuda, Goodgoan.
goodgoan 347 perguntada Ago 13, 2024
0 votos
1 resposta 314 visualizações
I was given access to Pedoman Penafsiran Alkitab (PPA), and I can see that I've been made an observer to the project in ... receive dialogs. Any idea why I can't get access to it?
James Cuenod 106 perguntada Ago 9, 2024
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,049 perguntas
6,007 respostas
5,672 comentários
2,029 usuários