Comments (1)
Hugo,
Hoy al subir un nuevo .crt (en la creación de un nuevo TaxPayer), me sale el error:
module 'lib' has no attribute 'PKCS7_sign'
¿Tiene que ver con esto no?
¿Hay algún paso extra que puedo/debo hacer para solucionarlo?
Django_afip: v7.1.2
EDIT: hice un downgrade de cryptography (a la 3.0) pero ahora tengo el siguiente error:
Traceback (most recent call last):
File "/var/www/virtual/gdnet.ar/ebiller/htdocs/eBiller/venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/var/www/virtual/gdnet.ar/ebiller/htdocs/eBiller/venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 179, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/virtual/gdnet.ar/ebiller/htdocs/eBiller/ebiller/apps/management/views_settings.py", line 119, in settings_taxpayer_admin
taxpayer.fetch_points_of_sales()
File "/var/www/virtual/gdnet.ar/ebiller/htdocs/eBiller/venv/lib/python3.6/site-packages/django_afip/models.py", line 408, in fetch_points_of_sales
ticket = ticket or self.get_or_create_ticket('wsfe')
File "/var/www/virtual/gdnet.ar/ebiller/htdocs/eBiller/venv/lib/python3.6/site-packages/django_afip/models.py", line 397, in get_or_create_ticket
return self.get_ticket(service) or self.create_ticket(service)
File "/var/www/virtual/gdnet.ar/ebiller/htdocs/eBiller/venv/lib/python3.6/site-packages/django_afip/models.py", line 378, in create_ticket
ticket.authorize()
File "/var/www/virtual/gdnet.ar/ebiller/htdocs/eBiller/venv/lib/python3.6/site-packages/django_afip/models.py", line 698, in authorize
raise exceptions.AuthenticationError(str(e)) from e
django_afip.exceptions.AuthenticationError: No se puede decodificar el BASE64
EDIT2: volví a generar el certificado y ahora funciona... raro. Quizás sin querer mezclé el certificado de testing con el de producción.
from django-afip.
Related Issues (20)
- Tutorial de renovación de certificados HOT 3
- Error en el formulario de TaxPayer en referencia a certificate HOT 6
- Validations with cae expiration `31 de diciembre de 1969 a las 21:00` HOT 1
- Factura E
- Se pueden generar: Factura de Crédito electrónica MiPyMEs (FCE) A? HOT 9
- Se subio el changelog 11.2.0? HOT 3
- Crash with urllib3 >= 2.0.0
- Error al momento de registrar una Nota de Crédito electrónica MiPyMEs (FCE) A HOT 20
- Integrate with django's custom file storage settings HOT 1
- CI jobs with MySQL are broken.
- Duda respecto al campo quantity en ReceiptEntry HOT 7
- Generación de PDF con múltiples paginas HOT 14
- Use an SVG-based QR code
- Use snapshots for PDF/HTML generation tests
- error 10048 afip monotributo
- Investigate failing CI tasks
- Live tests fail HOT 8
- Problema al obtener los puntos de ventas o al validad un Comprobante HOT 3
- Codigo ejemplo HOT 1
- Consider dropping ReceiptValidation.RESULT_REJECTED
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 django-afip.