syrotas / openconcerto

Automatically exported from code.google.com/p/openconcerto
0 stars 0 forks source link

Envoi document par email : le logiciel de messagerie doit être fermé #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Gestion -> Liste des factures
2. clic droit sur une facture
3. Envoyer le document PDF par email
4. Si le logiciel de messagerie est déjà ouvert, message : "Fermer 
Thunderbird : Une copie de Thunderbird est déjà ouverte. Une seule copie de 
Thunderbird peut être ouverte à la fois"

What is the expected output? What do you see instead?
Utilisation de la session déjà ouverte

What version of the product are you using? On what operating system?
OpenConcerto 1.3b3; client Mac OS 10.6.8; Serveur Ubuntu 10.04; base de 
données Postgresql 8.4; Messagerie Thunderbird 17.0.8
Préférence email : le logiciel email par défaut

Please provide any additional information below.

Original issue reported on code.google.com by ac2ssoft...@gmail.com on 30 Aug 2013 at 4:05

GoogleCodeExporter commented 9 years ago
A tester en 1.3b4 avec la préférence "Thunderbird"   

Original comment by guillaum...@gmail.com on 7 Sep 2013 at 1:37

GoogleCodeExporter commented 9 years ago
Problème reproduit en version 1.3b4.

Dans les Préférences, si je choisis l'option Mozilla Thunderbird avec le 
chemin /Applications/Thunderbird.app, j'obtiens le message d'erreur suivant :

Impossible de charger le document PDF dans l'email!

Cannot run program "/Applications/Thunderbird.app": error=13, Permission denied
org.openconcerto.utils.ExceptionHandler: Impossible de charger le document PDF 
dans l'email!
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:99)
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:103)
    at org.openconcerto.erp.model.MouseSheetXmlListeListener$1$1.run(MouseSheetXmlListeListener.java:208)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.io.IOException: Cannot run program 
"/Applications/Thunderbird.app": error=13, Permission denied
    at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
    at java.lang.Runtime.exec(Runtime.java:593)
    at java.lang.Runtime.exec(Runtime.java:466)
    at org.openconcerto.utils.EmailClient$ThunderbirdPath.composeNative(EmailClient.java:402)
    at org.openconcerto.utils.EmailClient.compose(EmailClient.java:217)
    at org.openconcerto.ui.EmailComposer.compose(EmailComposer.java:53)
    at org.openconcerto.erp.model.MouseSheetXmlListeListener$1$1.run(MouseSheetXmlListeListener.java:206)
    ... 14 more
Caused by: java.io.IOException: error=13, Permission denied
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
    at java.lang.ProcessImpl.start(ProcessImpl.java:91)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    ... 20 more

Original comment by ac2ssoft...@gmail.com on 1 Oct 2013 at 7:43

GoogleCodeExporter commented 9 years ago
Problème non reproduit sur OpenConcerto 1.3b5 avec config Client multiposte 
Linux Mint 15. A retester sur config Client multiposte Mac OS.

Original comment by ac2ssoft...@gmail.com on 27 Dec 2013 at 5:51