mam-p
unread,May 22, 2013, 6:53:25 PM5/22/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Saunter
I just finished solving what seemed like a bizarre problem. My
PYTHONPATH was set to:
../common:..
I was running pysaunter from /Users/mmaypump/Desktop/PYSAUNTER-678/WD
Several tests were failing with this error....
AttributeError: 'module' object has no attribute
'extract_change_password_link'
But that method did indeed exist in /Users/mmaypump/Desktop/
PYSAUNTER-678/common/extract.py, which had been imported to the PO
file that called extract_change_password_link() via this statement....
import helpers, retrieve, extract
What I figured out with pdb's help is that the extract module being
used was a very old one that had been left laying around in /Users/
mmaypump/Desktop. Since that dir wasn't on the PYTHONPATH set by me,
I'm left wondering....
What PYTHONPATH (or equivalent) is pysaunter using so that I'm careful
not to leave files in those locations in the future?
--mam-p