You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/06 20:54:04 UTC

[jira] [Commented] (PROTON-595) Python test function MessengerApp.start fails on Windows

    [ https://issues.apache.org/jira/browse/PROTON-595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020223#comment-14020223 ] 

ASF subversion and git services commented on PROTON-595:
--------------------------------------------------------

Commit 1600981 from chug@apache.org in branch 'proton/trunk'
[ https://svn.apache.org/r1600981 ]

PROTON-595: Accomodate windows when launching Popen(xxx.py,...)

Detects running on windows and in that case runs Popen with shell=True.

> Python test function MessengerApp.start fails on Windows
> --------------------------------------------------------
>
>                 Key: PROTON-595
>                 URL: https://issues.apache.org/jira/browse/PROTON-595
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.7
>         Environment: Windows ctest
>            Reporter: Chuck Rolke
>
> The function uses Popen() where the first cmd arg is the name of a python file. Windows doesn't honor the #! at the beginning of the file and then fails with 
> {noformat}
>   [Error 193] %1 is not a valid Win32 application
> {noformat}
> This code could also be improved by printing the exception error text along with the path setting hint.



--
This message was sent by Atlassian JIRA
(v6.2#6252)