Tuesday, 15 April 2014

python - IO error for saunter.ini while setting up py.Saunter -



python - IO error for saunter.ini while setting up py.Saunter -

while setting py.saunter on system, getting io error saunter.ini file.

directory construction shown in illustration - https://github.com/element-34/py.saunter-examples

below error message -

ioerror: [errno 2] no such file or directory: '/src/conf/saunter.ini' error: module: tests not imported (file:/users/.../pythonworkspace/pysaunter/src/scripts/tests.py)

i know there lot of import related questions. of them suggest add together init.py if not there. have added init.py in every folder.

the code snippet reads saunter.ini below -

def configure(self, config = "saunter.ini"): self.config = configparser.safeconfigparser() self.config.readfp(open(os.path.join("conf", config)))

any help appreciated...

there isn't plenty here diagnose problem. but, in examples directory there 2 different projects (ebay , sauce) -- have in 1 of them, not top.

also, py.saunter won't create saunter.ini you. need create (most renaming saunter.ini.default).

oh, , don't seek , run checkout github -- need egg. if there bits missing http://element34.ca/products/saunter/pysaunter prevent getting started, allow me know , i'll modify page.

(now if remembered credentials...)

python selenium webdriver

No comments:

Post a Comment