-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error : in `require': no such file to load -- selenium-webdriver #1
Comments
May I have some extra information regarding the linux version used, I can not reproduce the error with a ubuntu 11.10 64bit. Also it helps to include the output of "gem -list" and "gem env" commands |
Hi, I'm using Ubuntu 11.04 :
+++++++++++++++++++++++++++ $ gem list *** LOCAL GEMS *** bundler (1.3.2) Thanks. |
I still can not reproduce the error, but we can test installing the missing gem separately with: sudo gem install selenium-webdriver |
$ sudo gem install selenium-webdriver |
Ok, I'll keep looking for a solution, it is strange but as soon as I can reproduce the error completely, I'll get back to you. best |
Solved in the new version. Closing this issue |
Hi,
Following the steps noted by you in the description :
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
$ gem -v
1.3.7
pagelyzer-ruby-0.9-standalone.zip downloaded and unzipped.
Dependencies installed :
$ sudo apt-get install libxslt-dev libxml2-dev
$ sudo apt-get install openjdk-7-jdk
$ sudo apt-get install imagemagick
In the project folder :
$ bundle
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Enter your password to install the bundled RubyGems to your system:
Installing ffi (1.4.0)
Installing childprocess (0.3.9)
Installing hpricot (0.8.6)
Installing multi_json (1.6.1)
Installing nokogiri (1.5.5)
Installing rubyzip (0.9.9)
Installing sanitize (2.0.3)
Installing websocket (1.0.7)
Installing selenium-webdriver (2.29.0)
Using bundler (1.3.2)
Your bundle is complete! Use
bundle show [gemname]
to see where a bundled gem is installed.o gem install bundlerAnd a file "Gemfile.lock" was created.
Running pagelyzer :
After the dependencies were installed :
$ ./pagelyzer
USAGE: pagelyzer [--help|--version] [ <command_options>]
++++++++++++++++++++++++++++++++++++++++++++++
$ ./pagelyzer capture --url=http://google.fr
'internal:lib/rubygems/custom_require:29:in
require': no such file to load -- selenium-webdriver (LoadError) from <internal:lib/rubygems/custom_require>:29:in
require'from /home/hatem/Bureau/travail/AD-658/pagelyzer-ruby-0.9-standalone/bin/pagelyzer_capture:36:in `
++++++++++++++++++++++++++++++++++++++++++++++
$ ./pagelyzer changedetection --url1=http://google.fr --url2=http://google.com
'Using marcalizer.jar found in /home/hatem/Bureau/travail/AD-658/pagelyzer-ruby-0.9-standalone/ext/marcalizer
Notice: using 'firefox' as default browser
Pagelyzer: capturing URLhttp://google.com
internal:lib/rubygems/custom_require:29:in
require': no such file to load -- selenium-webdriver (LoadError) from <internal:lib/rubygems/custom_require>:29:in
require'from /home/hatem/Bureau/travail/AD-658/pagelyzer-ruby-0.9-standalone/bin/pagelyzer_capture:36:in
<main>' <internal:lib/rubygems/custom_require>:29:in
require': no such file to load -- selenium-webdriver (LoadError)from internal:lib/rubygems/custom_require:29:in
require' from /home/hatem/Bureau/travail/AD-658/pagelyzer-ruby-0.9-standalone/bin/pagelyzer_capture:36:in
cp: impossible d'évaluer «/home/hatem/Bureau/travail/AD-658/pagelyzer-ruby-0.9-standalone/out/firefox_google_fr.png»: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer «/home/hatem/Bureau/travail/AD-658/pagelyzer-ruby-0.9-standalone/out/firefox_URLgoogle_com.png»: Aucun fichier ou dossier de ce type
Exception in thread "main" java.lang.UnsupportedClassVersionError: Taverna/ScapeTest : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: Taverna.ScapeTest. Program will exit.
The error depends on the webdriver :
$ bundle show selenium-webdriver
/usr/local/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.29.0
Am I missing somthing in the installation?
The text was updated successfully, but these errors were encountered: