당 이 이전 질문 나는 버전 2.0.1에 셀레늄을 업데이트하지만 지금은 프로필 파일이 아래에있는 경우에도 다른 오류가 /tmp/webdriver-py-profilecopy:
파일 "/home/sultan/Repository/Django/monitor/app/request.py", 행 236, 수행 중
브라우저 = Firefox (프로필)
__init__에있는 파일 "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", 46 행
self.binary, timeout),
__init__에있는 파일 "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/extension_connection.py", 46 행
self.binary.launch_browser (self.profile)
launch_browser의 파일 "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/firefox_binary.py", 44 행
self._wait_until_connectable ()
_wait_until_connectable에있는 파일 "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/firefox/firefox_binary.py", 87 행
WebDriverException ( "프로필을로드 할 수 없습니다. 프로필 디렉터리 : % s"% self.profile.path)
selenium.common.exceptions.WebDriverException : 프로필을로드 할 수 없습니다. 프로필 디렉토리 : / tmp / webdriver-py-profilecopy
뭐가 잘못 되었 니? 이 문제를 어떻게 해결할 수 있습니까?
sudo루트로 로그인하지 않은 경우를 추가 해야합니다. 어쨌든 이것은 생명의 은인이었습니다! 감사!!