Communauté Edissyum
    • Catégories
    • Non lus
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Admin
    • S'inscrire
    • Se connecter
    1. Accueil
    2. abdessamed
    A
    Hors-ligne
    • Profil
    • Abonnements 0
    • Abonnés 0
    • Sujets 2
    • Messages 6
    • Groupes 0

    abdessamed

    @abdessamed

    0
    Réputation
    1
    Vues
    6
    Messages
    0
    Abonnés
    0
    Abonnements
    Inscrit
    Dernière connexion

    abdessamed Se désabonner S'abonner

    Derniers messages publiés par abdessamed

    • RE: Lecture PDF

      "Merci beaucoup pour le correctif, je peux maintenant l’activer.

      Concernant les fournisseurs, le souci, c’est que de temps en temps nous avons des factures de nouveaux fournisseurs. Idéalement, depuis l’import de la facture, il faudrait un bouton ““Nouveau fournisseur””, et de cette manière, les champs adresses/Ville, Siret/SIREN deviennent enabled et à la validation, cela ajouterai une entrée en base.

      Merci en tout cas pour la réactivité des réponses."

      posté dans Paramétrage *(Open-Capture)*
      A
      abdessamed
    • Lecture PDF

      Bonjour,

      J’ai plusieurs questions :

      \t

      • Lorsque je traite une facture, dois-je avoir le fournisseur dans la liste du fichier ods pour que les champs Nom/Adresse/SIRET soient renseignés ? J’ai testé avec une facture d’un fournisseur qui n’est pas présent dans le fichier .ods -> Impossible de valider la facture car lorsque je saisis le nom -> ‘Aucun résultat’, du coup, impossible de saisir l’adresse/ville/CP/SIRET/SIREN (Pour info, j’ai bien les clés API Insee saisies)
        \t
      • Pour activer l’IA, le bouton Actif reste blanc même si l’on clique dessus.
      posté dans Paramétrage *(Open-Capture)*
      A
      abdessamed
    • RE: Import de la facture

      Finalement, je suis passé sur Debian, c’est beaucoup mieux. Tout a fonctionné du premier coup.
      Avec Ubuntu, ce n’est pas aussi simple à cause des dépendances qui posent problème.

      Merci en tout cas!

      posté dans Installation & architecture *(Open-Capture)*
      A
      abdessamed
    • RE: Import de la facture

      "Version d’OC (branche master):

      normal@normal:/opt/OpenCaptureForInvoices$ git describe --tags

      0.7.1

      Concernant OCCForInvoices.log, il n’y a rien mis à part le test que j’ai fait hier pour insérer des fournisseurs :

      [Open-Capture] 06-10-2020 14:32:46 INFO The following supplier was successfully added into database : Fournisseur 1

      Résultat du systemctl status OCForInvoices-web:

      OCForInvoices-web.service - Gunicorn instance to Open-Capture For Invoices
      Loaded: loaded (/etc/systemd/system/OCForInvoices-web.service; enabled; vendor preset: enabled)
      Active: active (running) since Tue 2020-10-06 14:38:06 UTC; 16h ago
      Main PID: 601 (gunicorn)
      Tasks: 4 (limit: 4621)
      Memory: 389.5M
      CGroup: /system.slice/OCForInvoices-web.service
      ├─601 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi
      ├─685 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi
      ├─686 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi
      └─687 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi

      Oct 07 07:24:56 normal gunicorn[685]: return next(self.gen)
      Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py"“, line 84, in connection
      Oct 07 07:24:56 normal gunicorn[685]: conn.connect()
      Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/amqp/connection.py”“, line 314, in connect
      Oct 07 07:24:56 normal gunicorn[685]: self.transport.connect()
      Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”“, line 76, in connect
      Oct 07 07:24:56 normal gunicorn[685]: self._connect(self.host, self.port, self.connect_timeout)
      Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”", line 160, in _connect
      Oct 07 07:24:56 normal gunicorn[685]: self.sock.connect(sa)
      Oct 07 07:24:56 normal gunicorn[685]: ConnectionRefusedError: [Errno 111] Connection refused

      Pareil pour OCForInvoices-worker :
      OCForInvoices-web.service - Gunicorn instance to Open-Capture For Invoices

      Loaded: loaded (/etc/systemd/system/OCForInvoices-web.service; enabled; vendor preset: enabled)

      Active: active (running) since Tue 2020-10-06 14:38:06 UTC; 16h ago

      Main PID: 601 (gunicorn)

      Tasks: 4 (limit: 4621)

      Memory: 389.5M

      CGroup: /system.slice/OCForInvoices-web.service

      ├─601 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi

      ├─685 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi

      ├─686 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi

      └─687 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi

      Oct 07 07:24:56 normal gunicorn[685]:     return next(self.gen)

      Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py"", line 84, in connection

      Oct 07 07:24:56 normal gunicorn[685]:     conn.connect()

      Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/amqp/connection.py"", line 314, in connect

      Oct 07 07:24:56 normal gunicorn[685]:     self.transport.connect()

      Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py"", line 76, in connect

      Oct 07 07:24:56 normal gunicorn[685]:     self._connect(self.host, self.port, self.connect_timeout)

      Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py"", line 160, in _connect

      Oct 07 07:24:56 normal gunicorn[685]:     self.sock.connect(sa)

      Oct 07 07:24:56 normal gunicorn[685]: ConnectionRefusedError: [Errno 111] Connection refused

      "

      posté dans Installation & architecture *(Open-Capture)*
      A
      abdessamed
    • RE: Import de la facture

      Pour moi, il n’y a pas de souci sur l’execution du makefile. Vu que je l’ai exécuté plusieurs fois, j’ai juste une erreur lors de l’insertion de l’users.id. Dans le doute, j’ai mis en commentaire la fonction initdb.

      En pj le log du makefile.

      posté dans Installation & architecture *(Open-Capture)*
      A
      abdessamed
    • Import de la facture

      "Bonjour,

      Je viens d’installer Open-Capture.

      L’interface est fonctionnelle. Par contre, lorsque je veux uploader une facture, j’ai une erreur juste après l’upload (upload depuis l’interface graphique.

      Lorsque je lance la commande manuellement voici la stacktrace :
      python3 /opt/OpenCaptureForInvoices/launch_worker.py -c /opt/OpenCaptureForInvoices/instance/config.ini -f /opt/OpenCaptureForInvoices/instance/upload/df17adeba756536c467356ca2532ea61.pdf
      Traceback (most recent call last):
      File “”/opt/OpenCaptureForInvoices/launch_worker.py"“, line 38, in
      launch(args)
      File “”/usr/local/lib/python3.8/dist-packages/kuyruk/task.py”“, line 64, in call
      self.send_to_queue(args, kwargs)
      File “”/usr/local/lib/python3.8/dist-packages/kuyruk/task.py”“, line 120, in send_to_queue
      with self.kuyruk.channel() as ch:
      File “”/usr/lib/python3.8/contextlib.py”“, line 113, in enter
      return next(self.gen)
      File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py”“, line 58, in channel
      with self.connection() as conn:
      File “”/usr/lib/python3.8/contextlib.py”“, line 113, in enter
      return next(self.gen)
      File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py”“, line 84, in connection
      conn.connect()
      File “”/usr/local/lib/python3.8/dist-packages/amqp/connection.py”“, line 314, in connect
      self.transport.connect()
      File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”“, line 76, in connect
      self._connect(self.host, self.port, self.connect_timeout)
      File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”", line 160, in _connect
      self.sock.connect(sa)
      ConnectionRefusedError: [Errno 111] Connection refused

      Merci pour votre aide !

      "

      posté dans Installation & architecture *(Open-Capture)*
      A
      abdessamed