Running on Linux gives "TypeError: init() got an unexpected keyword argument 'service'"
T4R1Q05 opened this issue · 21 comments
After removing the hash from line 279 leaving me with
line 281
genericError()
^
IndentationError: unindent does not match any outer indentation level
Could you share a screenshot of the code of the last few lines? There seems to be a minor indentation error from your editing.
You have an unwanted space before print(e)
. Spaces/Indentations are crucial in Python, remove the single space character and share he traceback generated upon re-running.
You have an unwanted space before
print(e)
. Spaces/Indentations are crucial in Python, remove the single space character and share he traceback generated upon re-running.
line 247, in
driver = initBrowser()
File "main.py", line 141, in initBrowser
driver = webdriver.Firefox(service=serv, options=firefoxOptions)
TypeError: init() got an unexpected keyword argument 'service'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 279, in
print(e)
NameError: name 'e' is not defined
When you "re-installed" MeetNinja, did you just re-download the MeetNinja.py file? Or had you used "git clone" again or re-downloaded the complete repository along with the ChromeDrivers / FirefoxDrivers folders?
When you "re-installed" MeetNinja, did you just re-download the MeetNinja.py file? Or had you used "git clone" again or re-downloaded the complete repository along with the ChromeDrivers / FirefoxDrivers folders?
I rm -rf the file and the git cloned the link and did the requirements and I did nothing with the Firefox Drivers
Perfect. However, since the Firefox browser drivers were updated in the latest version of MeetNinja, could you check what version the Firefox browser is running on for you? (Hamburger menu > Help > About Firefox)
You seem to be on an ESR version (the default version that comes with a Linux distribution). You may remove the ESR version using:
sudo apt-get remove firefox-esr
And then, you may install the latest release version of Firefox using:
sudo apt install firefox
No worries, you may follow the "Alternative way to install Firefox" section in this guide.
Was your problem solved? If so, you may close an opened Issue so it may help other users and optimize organization.
First time I've broken it, it says I have no space left even though I have given it 10GB with nothing installed on it.
Did you follow the instructions in the guide I had posted earlier? I followed it myself just to confirm and it worked just fine.
Instead of executing the first command wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
which is for 64-bit Linux systems, run this instead for a 32-bit Linux system:
wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux&lang=en-US"
Instead of executing the first command
wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
which is for 64-bit Linux systems, run this instead for a 32-bit Linux system:
wget -O firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux&lang=en-US"
I don't know what has happened but every time I try to log in it just sends me back to the login screen
Are you referring to the Linux login screen?
yep
This issue is completely unrelated to MeetNinja, and as I am not primarily a Linux user (I just use it to test my code), I am afraid I will not be able to help you. Do Google around and I am sure you will find a solution to this problem. You may re-open or open a fresh Issue here with the relevant subject regarding any MeetNinja issue and I will be happy to help!