C:\Users\PC\AppData\Local\Temp\pyx>python example2.py
Traceback (most recent call last):
File "example2.py", line 10, in <module>
canvas.writePDFfile()
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\canvas.py", line 50, in wrappedindocument
return method(d, file, **write_kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\document.py", line 193, in writePDFfile
pdfwriter.PDFwriter(self, f, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\pdfwriter.py", line 329, in __init__
catalog = PDFcatalog(document, self, registry)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\pdfwriter.py", line 143, in __init__
self.PDFpages = PDFpages(document, writer, registry)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\pdfwriter.py", line 202, in __init__
page = PDFpage(page, pageno, self, writer, registry)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\pdfwriter.py", line 236, in __init__
self.PDFcontent = PDFcontent(page, writer, self.pageregistry)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\pdfwriter.py", line 268, in __init__
page.processPDF(contentfile, awriter, acontext, registry, self.bbox)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\document.py", line 135, in processPDF
self._process("processPDF", *args)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\document.py", line 78, in _process
bbox.set(self.canvas.bbox()) # this bbox is not accurate
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\canvas.py", line 179, in bbox
obbox += cmd.bbox()
File "C:\ProgramData\Anaconda3\lib\site-packages\pyx\deco.py", line 101, in bbox
pathbbox = self.path.bbox()
AttributeError: 'arc' object has no attribute 'bbox'
Hello, I am trying to run the following basic example:
When I run it:
I get the following error: