Enviar Correo en UBUNTU 20.10 con wxPython 4.0.6

23 views
Skip to first unread message

puent...@gmail.com

unread,
Nov 2, 2020, 1:16:22 PM11/2/20
to PyAfipWs Factura Electrónica Libre y temas relacionados AFIP ARBA ANMAT
Estimados
Acabo de hace la instalacion de UBUNTU 20.10 y con Python 2.7 he logrado ejecutar :
python pyrece.py

Apartir de ahi he corregido algunos errores en el codigo para los modulos gui y wx entre otros retoques y he logrado:
AUTENTICAR
AUTORIZAR
GUARDAR EL CSV
PREVISUALIZAR EL PDF

Pero cuando quiero ENVIAR el correo electrónico con el PDF me tira este log:


LOG Enviando email: Factura Electronica Nro. 13 a rob...@XXXXX.com
LOG Traceback (most recent call last):
  File "pyrece.py", line 962, in on_btnEnviar_click
    self.progreso(len(self.items))
  File "pyrece.py", line 191, in progreso
    self.components.pbProgreso.value = per
  File "/home/rober/.local/lib/python2.7/site-packages/gui/resource.py", line 270, in __setattr__
    setattr(obj, name, value)   # then set the new value
  File "/home/rober/.local/lib/python2.7/site-packages/gui/controls/gauge.py", line 40, in <lambda>
    lambda self, value: self.wx_obj.SetValue(value),
wxAssertionError: C++ assertion "pos <= m_rangeMax" failed at /home/vagrant/wxPython-4.0.6/ext/wxWidgets/src/gtk/gauge.cpp(95) in SetValue(): invalid value in wxGauge::SetValue()

Alguna sugerencia?
Reply all
Reply to author
Forward
0 new messages