You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have fields for the same thing on different pages, but the program seems to crash when the program tries to read the PDF during the read/write dictionary to PDF command. When I rename one field it works again.
When I do: fillpdfs.write_fillable_pdf('blankpdf.pdf', 'completed.pdf', data_dict, flatten=False)
I get: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\micha\AppData\Roaming\Python\Python38\site-packages\fillpdf\fillpdfs.py", line 211, in write_fillable_pdf key = target['/Parent'][ANNOT_FIELD_KEY][1:-1] + '.' + key TypeError: 'NoneType' object is not subscriptable
and in VS code in the coding window itself during debugging:
Exception has occurred: TypeError 'NoneType' object is not subscriptable File "C:\Users\micha\DANVA2\main_program\testpdfoutput2.py", line 6, in <module> fillpdfs.write_fillable_pdf('blankpdf.pdf', 'completed.pdf', data_dict, flatten=False)
All I have to do is rename one field to have a different name, however, I want multiple fields with the same name! Help!
The text was updated successfully, but these errors were encountered:
I have fields for the same thing on different pages, but the program seems to crash when the program tries to read the PDF during the read/write dictionary to PDF command. When I rename one field it works again.
When I do:
fillpdfs.write_fillable_pdf('blankpdf.pdf', 'completed.pdf', data_dict, flatten=False)
I get:
Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\micha\AppData\Roaming\Python\Python38\site-packages\fillpdf\fillpdfs.py", line 211, in write_fillable_pdf key = target['/Parent'][ANNOT_FIELD_KEY][1:-1] + '.' + key TypeError: 'NoneType' object is not subscriptable
and in VS code in the coding window itself during debugging:
Exception has occurred: TypeError 'NoneType' object is not subscriptable File "C:\Users\micha\DANVA2\main_program\testpdfoutput2.py", line 6, in <module> fillpdfs.write_fillable_pdf('blankpdf.pdf', 'completed.pdf', data_dict, flatten=False)
All I have to do is rename one field to have a different name, however, I want multiple fields with the same name! Help!
The text was updated successfully, but these errors were encountered: