https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=730 Summary: swift command gives error message when run with explicit path Product: Swift Version: 0.93 Platform: PC OS/Version: Mac OS Status: ASSIGNED Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] When you run the 0.93 swift command from an explicit path, it gets confused when generating the "no sites file" message: login2$ swift-0.93/bin/swift -version no sites file specified, setting to default: which: no swift in (/soft/apache-ant/1.8.2/etc/sites.xml Error: XML parsing error in which: no swift in (/soft/apache-ant/1.8.2/etc/sites.xml which: no swift in (/soft/apache-ant/1.8.2/etc/sites.xml is [Errno 2] No such file or directory: 'which: no swift in (/soft/apache-ant/1.8.2/etc/sites.xml' Swift 0.93 swift-r5483 cog-r3339 when run from PATH its OK: login2$ PATH=$(pwd)/swift/bin:$PATH login2$ swift -version no sites file specified, setting to default: /home/wilde/AndreysOptimizer/src/swift/etc/sites.xml Swift 0.93 swift-r5483 cog-r3339 login2$ --- While fixing this, also fix: dont generate this message at all if user is just doing -version. Also dont generate swift.log file in this (or any???) case. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.