<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Import de la facture]]></title><description><![CDATA[<p dir="auto">"Bonjour,</p>
<p dir="auto">Je viens d’installer Open-Capture.</p>
<p dir="auto">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.</p>
<p dir="auto">Lorsque je lance la commande manuellement voici la stacktrace :<br />
python3 /opt/OpenCaptureForInvoices/launch_worker.py -c /opt/OpenCaptureForInvoices/instance/config.ini -f /opt/OpenCaptureForInvoices/instance/upload/df17adeba756536c467356ca2532ea61.pdf<br />
Traceback (most recent call last):<br />
File “”/opt/OpenCaptureForInvoices/launch_worker.py"“, line 38, in<br />
launch(args)<br />
File “”/usr/local/lib/python3.8/dist-packages/kuyruk/task.py”“, line 64, in <strong>call</strong><br />
self.send_to_queue(args, kwargs)<br />
File “”/usr/local/lib/python3.8/dist-packages/kuyruk/task.py”“, line 120, in send_to_queue<br />
with self.kuyruk.channel() as ch:<br />
File “”/usr/lib/python3.8/contextlib.py”“, line 113, in <strong>enter</strong><br />
return next(self.gen)<br />
File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py”“, line 58, in channel<br />
with self.connection() as conn:<br />
File “”/usr/lib/python3.8/contextlib.py”“, line 113, in <strong>enter</strong><br />
return next(self.gen)<br />
File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py”“, line 84, in connection<br />
conn.connect()<br />
File “”/usr/local/lib/python3.8/dist-packages/amqp/connection.py”“, line 314, in connect<br />
self.transport.connect()<br />
File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”“, line 76, in connect<br />
self._connect(self.host, self.port, self.connect_timeout)<br />
File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”", line 160, in _connect<br />
self.sock.connect(sa)<br />
ConnectionRefusedError: [Errno 111] Connection refused</p>
<p dir="auto">Merci pour votre aide !</p>
<p dir="auto">"</p>
]]></description><link>https://communaute.edissyum.com/topic/11/import-de-la-facture</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 01:21:16 GMT</lastBuildDate><atom:link href="https://communaute.edissyum.com/topic/11.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Oct 2020 16:48:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Import de la facture on Thu, 08 Oct 2020 18:00:13 GMT]]></title><description><![CDATA[<p dir="auto">Finalement, je suis passé sur Debian, c’est beaucoup mieux. Tout a fonctionné du premier coup.<br />
Avec Ubuntu, ce n’est pas aussi simple à cause des dépendances qui posent problème.</p>
<p dir="auto">Merci en tout cas!</p>
]]></description><link>https://communaute.edissyum.com/post/76</link><guid isPermaLink="true">https://communaute.edissyum.com/post/76</guid><dc:creator><![CDATA[abdessamed]]></dc:creator><pubDate>Thu, 08 Oct 2020 18:00:13 GMT</pubDate></item><item><title><![CDATA[Reply to Import de la facture on Wed, 07 Oct 2020 09:41:45 GMT]]></title><description><![CDATA[<p dir="auto">Et que dis le service nginx ?</p>
]]></description><link>https://communaute.edissyum.com/post/75</link><guid isPermaLink="true">https://communaute.edissyum.com/post/75</guid><dc:creator><![CDATA[nch01]]></dc:creator><pubDate>Wed, 07 Oct 2020 09:41:45 GMT</pubDate></item><item><title><![CDATA[Reply to Import de la facture on Wed, 07 Oct 2020 09:31:50 GMT]]></title><description><![CDATA[<p dir="auto">"Version d’OC (branche master):</p>
<blockquote></blockquote>
<p dir="auto">normal@normal:/opt/OpenCaptureForInvoices$ git describe --tags</p>
<p dir="auto">0.7.1</p>
<p dir="auto">Concernant OCCForInvoices.log, il n’y a rien mis à part le test que j’ai fait hier pour insérer des fournisseurs :</p>
<blockquote></blockquote>
<p dir="auto">[Open-Capture] 06-10-2020 14:32:46 INFO The following supplier was successfully added into database : Fournisseur 1</p>
<p dir="auto">Résultat du systemctl status OCForInvoices-web:</p>
<p dir="auto">OCForInvoices-web.service - Gunicorn instance to Open-Capture For Invoices<br />
Loaded: loaded (/etc/systemd/system/OCForInvoices-web.service; enabled; vendor preset: enabled)<br />
Active: active (running) since Tue 2020-10-06 14:38:06 UTC; 16h ago<br />
Main PID: 601 (gunicorn)<br />
Tasks: 4 (limit: 4621)<br />
Memory: 389.5M<br />
CGroup: /system.slice/OCForInvoices-web.service<br />
├─601 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi<br />
├─685 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi<br />
├─686 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi<br />
└─687 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]: return next(self.gen)<br />
Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py"“, line 84, in connection<br />
Oct 07 07:24:56 normal gunicorn[685]: conn.connect()<br />
Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/amqp/connection.py”“, line 314, in connect<br />
Oct 07 07:24:56 normal gunicorn[685]: self.transport.connect()<br />
Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”“, line 76, in connect<br />
Oct 07 07:24:56 normal gunicorn[685]: self._connect(self.host, self.port, self.connect_timeout)<br />
Oct 07 07:24:56 normal gunicorn[685]: File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py”", line 160, in _connect<br />
Oct 07 07:24:56 normal gunicorn[685]: self.sock.connect(sa)<br />
Oct 07 07:24:56 normal gunicorn[685]: ConnectionRefusedError: [Errno 111] Connection refused</p>
<p dir="auto">Pareil pour OCForInvoices-worker :<br />
OCForInvoices-web.service - Gunicorn instance to Open-Capture For Invoices</p>
<p dir="auto">Loaded: loaded (/etc/systemd/system/OCForInvoices-web.service; enabled; vendor preset: enabled)</p>
<p dir="auto">Active: active (running) since Tue 2020-10-06 14:38:06 UTC; 16h ago</p>
<p dir="auto">Main PID: 601 (gunicorn)</p>
<p dir="auto">Tasks: 4 (limit: 4621)</p>
<p dir="auto">Memory: 389.5M</p>
<p dir="auto">CGroup: /system.slice/OCForInvoices-web.service</p>
<p dir="auto">├─601 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p dir="auto">├─685 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p dir="auto">├─686 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p dir="auto">└─687 /usr/bin/python3 /usr/local/bin/gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock -m 007 wsgi:appwsgi</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:     return next(self.gen)</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/kuyruk/kuyruk.py"", line 84, in connection</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:     conn.connect()</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/amqp/connection.py"", line 314, in connect</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:     self.transport.connect()</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py"", line 76, in connect</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:     self._connect(self.host, self.port, self.connect_timeout)</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:   File “”/usr/local/lib/python3.8/dist-packages/amqp/transport.py"", line 160, in _connect</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]:     self.sock.connect(sa)</p>
<p dir="auto">Oct 07 07:24:56 normal gunicorn[685]: ConnectionRefusedError: [Errno 111] Connection refused</p>
<p dir="auto">"</p>
]]></description><link>https://communaute.edissyum.com/post/74</link><guid isPermaLink="true">https://communaute.edissyum.com/post/74</guid><dc:creator><![CDATA[abdessamed]]></dc:creator><pubDate>Wed, 07 Oct 2020 09:31:50 GMT</pubDate></item><item><title><![CDATA[Reply to Import de la facture on Wed, 07 Oct 2020 09:09:34 GMT]]></title><description><![CDATA[<p dir="auto">Vous avez installé quelle version d’OC ?</p>
<p dir="auto">Quand la facture ne remonte pas, merci de regarder :</p>
<p dir="auto">\t</p>
<ul>
<li>/opt/OpenCaptureForInvoices/bin/data/log/OCForInvoices.log<br />
\t</li>
<li>systemctl status OCForInvoices-web<br />
\t</li>
<li>systemctl status OCForInvoices-worker</li>
</ul>
]]></description><link>https://communaute.edissyum.com/post/73</link><guid isPermaLink="true">https://communaute.edissyum.com/post/73</guid><dc:creator><![CDATA[nch01]]></dc:creator><pubDate>Wed, 07 Oct 2020 09:09:34 GMT</pubDate></item><item><title><![CDATA[Reply to Import de la facture on Wed, 07 Oct 2020 08:57:11 GMT]]></title><description><![CDATA[<p dir="auto">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’<a href="http://users.id" target="_blank" rel="noopener noreferrer nofollow ugc">users.id</a>. Dans le doute, j’ai mis en commentaire la fonction initdb.</p>
<p dir="auto">En pj le log du makefile.</p>
]]></description><link>https://communaute.edissyum.com/post/72</link><guid isPermaLink="true">https://communaute.edissyum.com/post/72</guid><dc:creator><![CDATA[abdessamed]]></dc:creator><pubDate>Wed, 07 Oct 2020 08:57:11 GMT</pubDate></item><item><title><![CDATA[Reply to Import de la facture on Tue, 06 Oct 2020 17:09:02 GMT]]></title><description><![CDATA[<p dir="auto">"</p>
<p dir="auto">Bonjour,</p>
<p dir="auto">Est-ce que les services (qui sont créée dans le Makefile) tournent bien ?</p>
<p dir="auto">"</p>
]]></description><link>https://communaute.edissyum.com/post/71</link><guid isPermaLink="true">https://communaute.edissyum.com/post/71</guid><dc:creator><![CDATA[nch01]]></dc:creator><pubDate>Tue, 06 Oct 2020 17:09:02 GMT</pubDate></item></channel></rss>