Advertisement
Guest User

Selenium newSession error

a guest
Oct 25th, 2018
1,117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.29 KB | None | 0 0
  1. 1540501901601   geckodriver INFO    geckodriver 0.19.0
  2. 1540501901602   webdriver::httpapi  DEBUG   Creating routes
  3. 1540501901605   geckodriver ERROR   Address in use (os error 98)
  4. 1540501901605   webdriver::server   DEBUG   -> POST /session {}
  5. 1540501901608   mozrunner::runner   INFO    Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.tPLWuQksCuEF"
  6. 1540501901610   geckodriver::marionette TRACE     connection attempt 0/600
  7. 1540501901710   geckodriver::marionette TRACE     connection attempt 1/600
  8. 1540501901810   geckodriver::marionette TRACE     connection attempt 2/600
  9. 1540501901910   geckodriver::marionette TRACE     connection attempt 3/600
  10. 1540501902011   geckodriver::marionette TRACE     connection attempt 4/600
  11. 1540501902076   Marionette  DEBUG   Received observer notification profile-after-change
  12. 1540501902111   geckodriver::marionette TRACE     connection attempt 5/600
  13. 1540501902126   Marionette  DEBUG   Received observer notification command-line-startup
  14. 1540501902127   Marionette  DEBUG   Received observer notification nsPref:changed
  15. 1540501902127   Marionette  DEBUG   Init aborted (running=false, enabled=true, finalUIStartup=false)
  16. 1540501902211   geckodriver::marionette TRACE     connection attempt 6/600
  17. 1540501902311   geckodriver::marionette TRACE     connection attempt 7/600
  18. 1540501902412   geckodriver::marionette TRACE     connection attempt 8/600
  19. 1540501902512   geckodriver::marionette TRACE     connection attempt 9/600
  20. 1540501902526   Marionette  DEBUG   Received observer notification toplevel-window-ready
  21. 1540501902612   geckodriver::marionette TRACE     connection attempt 10/600
  22. 1540501902713   geckodriver::marionette TRACE     connection attempt 11/600
  23. 1540501902813   geckodriver::marionette TRACE     connection attempt 12/600
  24. 1540501902913   geckodriver::marionette TRACE     connection attempt 13/600
  25. 1540501903014   geckodriver::marionette TRACE     connection attempt 14/600
  26.  
  27. (firefox:27836): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Failed to execute child process "dbus-launch" (No such file or directory)
  28. 1540501903114   geckodriver::marionette TRACE     connection attempt 15/600
  29. 1540501903214   geckodriver::marionette TRACE     connection attempt 16/600
  30. 1540501903265   Marionette  DEBUG   Received observer notification sessionstore-windows-restored
  31. 1540501903265   Marionette  DEBUG   Waiting for delayed startup...
  32. 1540501903315   geckodriver::marionette TRACE     connection attempt 17/600
  33. 1540501903396   Marionette  DEBUG   Setting recommended pref app.update.disabledForTesting to true
  34. 1540501903396   Marionette  DEBUG   Setting recommended pref security.turn_off_all_security_so_that_viruses_can_take_over_this_computer to true
  35. 1540501903397   Marionette  DEBUG   Setting recommended pref toolkit.cosmeticAnimations.enabled to false
  36. 1540501903398   Marionette  DEBUG   Setting recommended pref browser.urlbar.suggest.searches to false
  37. 1540501903399   Marionette  DEBUG   Setting recommended pref datareporting.policy.dataSubmissionPolicyAccepted to false
  38. 1540501903399   Marionette  DEBUG   Setting recommended pref dom.disable_beforeunload to true
  39. 1540501903417   geckodriver::marionette TRACE     connection attempt 18/600
  40. 1540501903443   Marionette  INFO    Listening on port 43227
  41. 1540501903443   Marionette  DEBUG   Remote service is active
  42. 1540501903518   geckodriver::marionette DEBUG   Connected to Marionette on localhost:43227
  43. 1540501903518   Marionette  DEBUG   Accepted connection 0 from 127.0.0.1:47994
  44. 1540501903519   geckodriver::marionette TRACE   <- {"applicationType":"gecko","marionetteProtocol":3}
  45. 1540501903519   geckodriver::marionette TRACE   -> 62:[0,1,"newSession",{"capabilities":{"desiredCapabilities":{}}}]
  46. 1540501903520   Marionette  TRACE   0 -> [0,1,"newSession",{"capabilities":{"desiredCapabilities":{}}}]
  47. 1540501903520   Marionette  TRACE   0 <- [1,1,{"error":"unknown command","message":"newSession","stacktrace":"WebDriverError@chrome://marionette/content/error.js:178: ... et@chrome://marionette/content/server.js:245:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9\n"},null]
  48. 1540501903520   geckodriver::marionette TRACE   <- [1,1,{"error":"unknown command","message":"newSession","stacktrace":"WebDriverError@chrome://marionette/content/error.js:178:5\nUnknownCommandError@chrome://marionette/content/error.js:472:5\ndespatch@chrome://marionette/content/server.js:290:13\nexecute@chrome://marionette/content/server.js:271:11\nonPacket/<@chrome://marionette/content/server.js:246:15\nonPacket@chrome://marionette/content/server.js:245:8\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:490:9\n"},null]
  49. 1540501903521   webdriver::server   DEBUG   Deleting session
  50. 1540501903521   geckodriver::marionette DEBUG   Stopping browser process
  51. 1540501903622   webdriver::server   DEBUG   <- 404 Not Found {"value":{"error":"unknown error","message":"newSession","stacktrace":"stack backtrace:\n   0:           0x4f388c - backtrace::backtrace::trace::h736111741fa0878e\n   1:           0x4f38c2 - backtrace::capture::Backtrace::new::h63b8a5c0787510c9\n   2:           0x442d88 - webdriver::error::WebDriverError::new::hea6d4dbf778b2b24\n   3:           0x44cecc - geckodriver::marionette::MarionetteSession::response::h98d048d51a7ee2ba\n   4:           0x42c729 - <webdriver::server::Dispatcher<T, U>>::run::hba9181b5aacf8f04\n   5:           0x402c59 - std::sys_common::backtrace::__rust_begin_short_backtrace::h19de262639927233\n   6:           0x40c065 - std::panicking::try::do_call::h6c1659fc4d01af51\n   7:           0x5e38ec - panic_unwind::__rust_maybe_catch_panic\n                        at /checkout/src/libpanic_unwind/lib.rs:98\n   8:           0x420d32 - <F as alloc::boxed::FnBox<A>>::call_box::h953e5f59694972c5\n   9:           0x5dc00b - alloc::boxed::{{impl}}::call_once<(),()>\n                        at /checkout/src/liballoc/boxed.rs:661\n                         - std::sys_common::thread::start_thread\n                        at /checkout/src/libstd/sys_common/thread.rs:21\n                         - std::sys::imp::thread::{{impl}}::new::thread_start\n                        at /checkout/src/libstd/sys/unix/thread.rs:84"}}
  52. {"value":{"error":"unknown error","message":"newSession","stacktrace":"stack backtrace:\n   0:           0x4f388c - backtrace::backtrace::trace::h736111741fa0878e\n   1:           0x4f38c2 - backtrace::capture::Backtrace::new::h63b8a5c0787510c9\n   2:           0x442d88 - webdriver::error::WebDriverError::new::hea6d4dbf778b2b24\n   3:           0x44cecc - geckodriver::marionette::MarionetteSession::response::h98d048d51a7ee2ba\n   4:           0x42c729 - <webdriver::server::Dispatcher<T, U>>::run::hba9181b5aacf8f04\n   5:           0x402c59 - std::sys_common::backtrace::__rust_begin_short_backtrace::h19de262639927233\n   6:           0x40c065 - std::panicking::try::do_call::h6c1659fc4d01af51\n   7:           0x5e38ec - panic_unwind::__rust_maybe_catch_panic\n                        at /checkout/src/libpanic_unwind/lib.rs:98\n   8:           0x420d32 - <F as alloc::boxed::FnBox<A>>::call_box::h953e5f59694972c5\n   9:           0x5dc00b - alloc::boxed::{{impl}}::call_once<(),()>\n                        at /checkout/src/liballoc/boxed.rs:661\n                         - std::sys_common::thread::start_thread\n                        at /checkout/src/libstd/sys_common/thread.rs:21\n                         - std::sys::imp::thread::{{impl}}::new::thread_start\n                        at /checkout/src/libstd/sys/unix/thread.rs:84"}}[2]+  Exit 69                 geckodriver --log trace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement