Re: [python-win32] py2exe issues with script using selenium

2012-07-23 Thread Ferdinand Sousa
Hi Mark, I tried extracting the files inside webdriver.xpi into a folder webdriverxpi and placed it in lieu of the former in the zip file. I had to tweak some code inside the firefox_profile.py file as well, so that it would add the files inside the webdriverxpi folder to the current path environm

Re: [python-win32] py2exe issues with script using selenium

2012-07-17 Thread Mark Hammond
The problem is a "conflict" between the firefox_profile module and py2exe. firefox_profile is attempting to open 'C:\\Users\\ferdinand\\Desktop\\Landmark_Ops\\dist\\library.zip\\selenium\\webdriver\\firefox\\webdriver.xpi' as a regular file (a .xpi file is a .zip file, hence the fact zipfile i

[python-win32] py2exe issues with script using selenium

2012-07-17 Thread Ferdinand Sousa
Hi List, My environment: Win 7 Professional 64-bit, Python 2.7 64-bit and appropriate 64-bit libraries installed over that. I downloaded the 64-bit py2exe package. Though I did not specifically download the Distutils package, I guess I have it from having installed 3rd party Python libraries. I'm