Bug 1311141

Summary: exo-compose-mail-1 port from Perl to Python is broken
Product: [Fedora] Fedora EPEL Reporter: Paul-Antoine Arras <listes>
Component: exoAssignee: Mukundan Ragavan <nonamedotc>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: kevin, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-04 23:44:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Paul-Antoine Arras 2016-02-23 13:30:54 UTC
Description of problem:
exo-compose-mail-1 fails to execute the generated command.

Version-Release number of selected component (if applicable):
Nom                 : exo
Architecture        : x86_64
Version             : 0.10.2
Révision            : 8.el7

How reproducible:
Always

Steps to Reproduce:
1. Open default mail client (e.g. Thunderbird)
2. Open a terminal and run the following command:
$ /usr/lib64/xfce4/exo-1/exo-compose-mail-1 mozilla-remote /usr/bin/thunderbird foo

Actual results:
Nothing happens.
Running pdb shows that the script exits at line 171 while trying to execute the command built:
/usr/bin/thunderbird -remote xfeDoCommand(composeMessage,to='foo',cc='',bcc='',attachment='')
Running this command directly from the shell produces the expected result.

Expected results:
Opening a new mail window in the default client with headers filled using parameters to the mailto URI.

Additional info:
Replacing the Python script by the original Perl version solves the issue.

Comment 1 Mukundan Ragavan 2016-02-25 01:50:05 UTC
I am able to reproduce this - at least I am not getting a mail compose window. Let me look.