[ grinder-Bugs-3569096 ] Script directory should be added to the python path
SourceForge.net <[email protected]> Tue, 18 Sep 2012 15:01:40 -0700
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3569096, was opened at 2012-09-18 15:01 Message generated for change (Tracker Item Submitted) made by philipa You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3569096&group_id=18598 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core engine Group: None Status: Open Resolution: None Priority: 3 Private: No Submitted By: Philip Aston (philipa) Assigned to: Philip Aston (philipa) Summary: Script directory should be added to the python path Initial Comment: If a worker process is started from a directory different to the script directory, python modules in that directory cannot be loaded automatically. This is not an problem when the console distribution feature is used because the process CWD is automatically set to the root of the distribution (which is presumably what the user wants). However, it causes confusion if the agent is started standalone from a different directory to the script. The script directory should be added automatically to the end of the python path. (Note, the use of python.path, not CLASSPATH - the latter would require mucking around with the new __pyclasspath__ stuff, see Jython issue 1181). The problem was originally reported by Poornima Mallur. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=118598&aid=3569096&group_id=18598 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/