Comments (3)
Traceback (most recent call last):
File "pdf-sign-cms.py", line 49, in
main()
File "pdf-sign-cms.py", line 37, in main
datas = pdf.cms.sign(datau, dct,
File "C:\Python38\lib\site-packages\endesive\pdf\cms.py", line 501, in sign
return cls.sign(datau, udct, key, cert, othercerts, algomd, hsm, timestampurl)
File "C:\Python38\lib\site-packages\endesive\pdf\cms.py", line 399, in sign
self.makepdf(prev, udct, algomd, zeros)
File "C:\Python38\lib\site-packages\endesive\pdf\cms.py", line 234, in makepdf
from endesive.pdf.PyPDF2_annotate.annotations.text import FreeText
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate_init_.py", line 2, in
from .annotator import PdfAnnotator
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\annotator.py", line 15, in
from .annotations.image import Image
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\annotations\image.py", line 19, in
from .rect import RectAnnotation
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\annotations\rect.py", line 13, in
from ..config.appearance import set_appearance_state
File "C:\Python38\lib\site-packages\endesive\pdf\PyPDF2_annotate\config\appearance.py", line 10, in
import attr
ModuleNotFoundError: No module named 'attr'
error log in above
from endesive.
It worked for me:
pip install attrs
from endesive.
dependencies updated in setup.py
from endesive.
Related Issues (20)
- how can i sign with instance of a certificate from windows store? HOT 5
- Obtain the hash of a PDF document for offline signing HOT 16
- Reference has no DigestMethod HOT 4
- Manual fonts not rendering HOT 4
- Signature appears vertically on a rotated(landscape) PDF document HOT 3
- TypeError: 'TTFFont' object is not subscriptable in Version 2.11 HOT 2
- Application name was not added in advanced signature properties HOT 3
- $100 Bounty for LTV feature
- The new signature replaced the old signature HOT 12
- Signature that seem corrupted right after signing. HOT 18
- fail on pip install endesive - python 3.11.1 HOT 4
- Signature validation failure for european commission DSS HOT 6
- Multiple certificates HOT 7
- USB dongle with ".cer" extension file as signature certificate.Auto digital sign in HOT 1
- How to verify adbe.x509.rsa.sha1 signature? HOT 2
- release versioning HOT 1
- Test suite fails for HSM HOT 3
- Placing the signature image at an exact co-ordinate in the PDF file HOT 4
- Potential vulnerability: An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage HOT 3
- The certificates in examples/ca/ have expired HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from endesive.