[Tutor] selenium programs stopped working
Benjamin Fishbein
bfishbein79 at gmail.com
Tue Jun 4 19:49:08 CEST 2013
I think you're right: Firefox may have automatically updated itself.
I checked and I was using Selenium 2.29
The most recent is 2.33
So I downloaded the newest one and did
pip install -U selenium
in terminal but I got this:
Installing collected packages: selenium
Found existing installation: selenium 2.29.0
Uninstalling selenium:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg/pip/basecommand.py", line 107, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg/pip/commands/install.py", line 261, in run
requirement_set.install(install_options, global_options)
File "/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 1162, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 495, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 1492, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg/pip/util.py", line 273, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 290, in move
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 249, in rmtree
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 247, in rmtree
OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/selenium-2.29.0-py2.7.egg-info/dependency_links.txt'
Is it saying that 2.29 isn't letting itself be upgraded? Will I have to completely delete Selenium from my computer and then reinstall it with the updated one?
Ben
On Jun 4, 2013, at 3:27 AM, Walter Prins wrote:
> Hi,
>
> On 4 June 2013 02:27, Benjamin Fishbein <bfishbein79 at gmail.com> wrote:
> WebDriverException: Message: "Can't load the profile. Profile Dir: /var/folders/vm/8th3csp91qb47xbhqhb4gcmh0000gn/T/tmpPeqacA Firefox output: *** LOG addons.xpi: startup\n*** LOG addons.xpi: Skipping unavailable install location app-system-share\n*** LOG addons.xpi: checkForChanges\n*** LOG addons.xpi: No changes found\n"
>
> That there is your problem. There's several instances of this problem on the net if you google e.g. "Can't load the profile. Profile Dir: /var/folders" as a search string.
>
> The gist of it seems to me to be usually a firefox/selenium version mismatch of some sort. Has firefox been updated recently? Have you checked if there's any updates available for selenium?
>
> See for example:
> https://groups.google.com/forum/?fromgroups#!topic/splinter-users/MAP8yyVhqic
>
>
> Walter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130604/a5c68271/attachment.html>
More information about the Tutor
mailing list