Closed TheFallenAngel2001 closed 6 years ago
@TheFallenAngel2001 Hi, thanks for reporting this issue. Could you please provide the output of pip freeze
?
[ruben@arch redbot]$ pip freeze appdirs==1.4.3 async-timeout==3.0.0 attrs==18.1.0 btrfsutil==1.0.0 CacheControl==0.12.5 chardet==3.0.4 colorama==0.3.9 discord.py==1.0.0a0 distlib==0.2.7 distro==1.3.0 evdev==1.0.0 fuzzywuzzy==0.16.0 html5lib==1.0.1 idna==2.7 idna-ssl==1.1.0 isc==2.0 lockfile==0.12.2 lutris==0.4.18.1 msgpack==0.5.6 multidict==4.3.1 numpy==1.15.0 packaging==17.1 progress==1.4 pycairo==1.17.0 pygobject==3.28.3 pyparsing==2.2.0 python-Levenshtein==0.12.0 python-libtorrent==1.1.9 pytoml==0.1.16 PyYAML==3.13 raven==6.9.0 raven-aiohttp==0.7.0 Red-Lavalink==0.1.1 Red-Trivia==1.1.1 requests==2.19.1 retrying==1.3.3 scapy===git-archive.devae348f861 six==1.11.0 team==1.0 urllib3==1.23 webencodings==0.5.1 websockets==6.0 yarl==1.2.6 youtube-dl==2018.8.4
[ruben@arch redbot]$ python3.6 -m pip freeze aiohttp==3.3.2 aiohttp-json-rpc==0.11 appdirs==1.4.3 async-timeout==3.0.0 attrs==18.1.0 chardet==3.0.4 colorama==0.3.9 discord.py==1.0.0a0 distro==1.3.0 fuzzywuzzy==0.16.0 idna==2.7 idna-ssl==1.1.0 multidict==4.3.1 python-Levenshtein==0.12.0 PyYAML==3.13 raven==6.9.0 raven-aiohttp==0.7.0 Red-DiscordBot==3.0.0b19 Red-Lavalink==0.1.1 Red-Trivia==1.1.1 websockets==6.0 yarl==1.2.6
Sry wrong command, that one was from python 3.7
That's all good, thanks for the quick reply. I think I can see the issue, it's to do with how we're expecting java -version
to display, that first line Picked up by _JAVA_OPTIONS:
is unexpected. I'll try open a PR today to fix this.
@TheFallenAngel2001 Could you try for me, on your machine, run the following command and restart the bot? Then try loading audio.
pip3 install --upgrade --process-dependency-links --no-cache-dir --force-reinstall https://github.com/Tobotimus/Red-DiscordBot/tarball/V3/bugfix/2033#egg=Red-DiscordBot[voice]
If you have 3rd party cogs loaded, it'll likely cause them to fail for now after installing the above version, but you can roll back to Beta 19 with the following command, and your cogs will work again:
pip3 install --upgrade --process-dependency-links --no-cache-dir --force-reinstall Red-DiscordBot[voice]==3.0.0b19
Worked right away after the change
And did load perfectly
Oh, and cogs do work, at least the ones i installed
Thanks for reporting this issue @TheFallenAngel2001 :heart:
Resolved by #2035.
Other bugs
What were you trying to do?
I was normally, like everyone does, trying to load audio cog.
What were you expecting to happen?
I was expecting it to load normally and to be usable.
What actually happened?
It failed to load, throwing in the terminal this:
How can we reproduce this issue?
Im not sure, as i only installed like in the guide on arch linux, and it failed to load the cog right after the 1st startup, and i had java installed Version below v [ruben@arch redbot]$ java -showversion Picked up _JAVA_OPTIONS: java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Edit: I was using python 3.6.6 from the aur, as the python that was in the repos was already python 3.7