antiero / dotStudio

Nuke Studio Python Code
68 stars 26 forks source link

Export PDF not working #8

Closed la0011 closed 3 years ago

la0011 commented 7 years ago

Just installed and Export PDF Fails with a couple of error Messages.

File "C:/Users/arestle/.nuke\Python\Startup\pdf_export\FnPdfExporter.py", line 727, in printSelectedSequenceToPDF printSequenceToPDF(sequence, outputFilePath, numRows=numRows, numColumns=numColumns, thumbnailFrameType=thumbnailFrameType, showPDF = True) File "C:/Users/arestle/.nuke\Python\Startup\pdf_export\FnPdfExporter.py", line 703, in printSequenceToPDF printer.exportPDF(show=showPDF) File "C:/Users/arestle/.nuke\Python\Startup\pdf_export\FnPdfExporter.py", line 182, in exportPDF self.buildCanvas() File "C:/Users/arestle/.nuke\Python\Startup\pdf_export\FnPdfExporter.py", line 124, in buildCanvas self.setCanvasSettings(pageNumber) File "C:/Users/arestle/.nuke\Python\Startup\pdf_export\FnPdfExporter.py", line 205, in setCanvasSettings self.setHeader() File "C:/Users/arestle/.nuke\Python\Startup\pdf_export\FnPdfExporter.py", line 576, in setHeader showLogoWidth = self.setShowLogo() File "C:/Users/arestle/.nuke\Python\Startup\pdf_export\FnPdfExporter.py", line 504, in setShowLogo logoWidth = float(self.showLogo._width) TypeError: float() argument must be a string or a number

Maybe I'm missing something. Is there some kind of documentation for installing and setting up dotStudio? Do I have to install python or any other dependancies?

Thanks for your help and efforts!

la0011 commented 7 years ago

I should have added: Windows 10, Nuke 10.0v5.

Seems to be related to PIL. After setting logoWidth = 128 (and height of course), I got a different error message about missing image C.

Installed python 2.7, PIL and Pillow, and copied the PIL folder over to the gif_maker/thirdparty folder. Still gettting a few error messages, but now it works.

Maybe because PIL wass for python2.6?