Falcon is not compatible with ant's exec task

Bug #246927 reported by Tristan Rivoallan
2
Affects Status Importance Assigned to Milestone
Falcon
New
Undecided
Unassigned

Bug Description

Trying to run "falcon scan" from with an ant target generates the following traceback :

   Traceback (most recent call last):
     File "/usr/bin/falcon-start", line 14, in ?
       import falcon
     File "/usr/lib/python2.4/site-packages/falcon/__init__.py", line 9, in ?
       termattr = termios.tcgetattr(0)
   termios.error: (22, 'Invalid argument')

and here's the target :

        <target name="repository">
                <exec executable="falcon-start" failonerror="true">
                        <arg value="scan" />
                </exec>
                <exec executable="falcon-start" failonerror="true">
                        <arg value="export" />
                </exec>
        </target>

as a workaround, i commented the "termattr = termios.tcgetattr(0)" line in __init__.py, but it's definitely not a good solution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.