Hi all,

I am working with the python library PyX (version 0.12.1). I run several tasks at the same time in the same machine. For each task, I create a temporary directory and remove it when the tasks are finished. 

The code I am using is as follows:

def helloworld(tdir):

     from pyx import text,color,document,canvas,bitmap,path

     text.reset()
     text.set(mode="latex")
     d = document.document()
     c = canvas.canvas()
     c.text(0, 0, r"{\textbf{Hello World:}}", [text.size(3), text.halign.boxleft])
     d.append(document.page(c,paperformat=document.paperformat.A4))
     d.writePDFfile(tdir + "/" + "helloworld.pdf")

     return 0

When I run 6 or more tasks at the same time, I have the error: "still waiting for latex after 25 (of 60) seconds...the timeout of 60 seconds expired and latex did not respond." How can I fix it? 


--
Elena Molina Molina
Senior Cloud SW Engineer in Medical Imaging at MedimSight
Phone: +34 657689202
Email: elena.molina@medimsight.com
+Medimsight - @MedimSight - @MedimSight_ES

MedimSight.com


-------------------------------------------------------------------------------------------------------------------------

CONFIDENTIALITY NOTICE: This email communication may contain private, confidential, or legally privileged information intended for the sole use of the designated and/or duly authorized recipient(s). If you are not the intended recipient or have received this email in error, please notify the sender immediately by email and permanently delete all copies of this email including all attachments without reading them. If you are the intended recipient, secure the contents in a manner that conforms to all applicable state and/or federal requirements related to privacy and confidentiality of such information.

[Spanish-Español] AVISO DE CONFIDENCIALIDAD: Este comunicación por correo electrónico puede contener información privada, confidencial o legalmente protegida destinada al uso exclusivo de los designados y / o debidamente autorizados destinatario (s). Si usted no es el destinatario, o ha recibido este mensaje por error, por favor notifique inmediatamente al remitente por correo electrónico y elimine permanentemente todas las copias de este correo incluyendo todos sus anexos sin leerlos. Si usted es el destinatario, asegure el contenido de una manera que cumpla con todos los requisitos relacionados con la privacidad y confidencialidad de dicha información estatales y / o nacionales.