Open fcharrier opened 5 months ago
Could you include the full error message?
On Thu, Jan 25, 2024, 11:10 fcharrier @.***> wrote:
Hello
I have a strange behavior when calling unoconvert to convert a docx file to pdf: sometimes I receive a -11 error code. The strange point is that I added a retry 10 seconds later, and it works.
This is the logs I get :
INFO:unoserver:Starting unoconverter. INFO:unoserver:Opening /tmp/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168_012424_232038_cr_tmp.docx INFO:unoserver:Exporting to /tmp/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168_012424_232038_cr.pdf INFO:unoserver:Using writer_pdf_Export export filter
Is there any documentation which can explains what mean this "-11"? Is there any possibility to get more logs?
Thanks (and sorry for my poor english), Fred
— Reply to this email directly, view it on GitHub https://github.com/unoconv/unoserver/issues/102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGIK5HJMK35IR22VH76ZB3YQIVRZAVCNFSM6AAAAABCKHWV7WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDAMBSGU4DKNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm sorry, I have only this result -11 is the result I get from unoconvert
This is the way I run it: `proc = subprocess.run( [ "/opt/myproject/bin/unoconvert", "--convert-to", ext, src_path, local_dest_path, ]
The return code I get is -11, there is no stdout, and I put stderr on my first post
For your information, src and dest path were on a NFS filesystem. I tried with the local filesystem, and I reproduce the problem (rarely) So it does not come from NFS...
I don't think unoconvert should return any error, unless there is a traceback, so this is pretty strange.
Hum... I'm sorry, I just realized -11 is the output from subprocess.run. This is a known error code : https://stackoverflow.com/questions/24139389/unable-to-find-out-what-return-code-of-11-means
But it means unoconvert crashed (Seg fault), without any output except the one I wrote
Maybe a duplicate of https://github.com/unoconv/unoconv/issues/306 ?
No, that's libreoffice crashing, the unoconvert doesn't start that. Which would mean python had a segfault? That seems highly unusual. What happens if you just run that command from the commandline?
I'm sorry, I can't help a lot, I left the company I was working for when I created this issue. I sent a message to my old colleagues about our discussion.
Hello
I have a strange behavior when calling unoconvert to convert a docx file to pdf: sometimes I receive a -11 error code. The strange point is that I added a retry 10 seconds later, and it works.
This is the logs I get :
INFO:unoserver:Starting unoconverter.
INFO:unoserver:Opening /tmp/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168_012424_232038_cr_tmp.docx
INFO:unoserver:Exporting to /tmp/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168/1.2.250.1.59.859.2.1276193691.32581.1706138211.442168_012424_232038_cr.pdf
INFO:unoserver:Using writer_pdf_Export export filter
Is there any documentation which can explains what mean this "-11"? Is there any possibility to get more logs?
Thanks (and sorry for my poor english), Fred