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
BUG IN SETAVATAR #1678
Comments
I didn't test your solution, however 5 seconds in the aiohttp documentation, I found this, and made
Although this works, it led to 168118999337402368/Aleana#2643: !setavatar Once I work out the kinks with set avatar here, I'll make a PR to solve this issue. edit: formatting is hard pepehands |
See the above PR @OzoneHelix |
@AutumnClove thank you |
what I discover was a partial fix it fixed links but not uploading an image |
I tested your solution and got this result in VSC before even starting the bot
|
its odd because when I tried your solution it was looking in init.py for it which makes no sense |
darn github's formatting |
Error given when trying my solution? |
Unable to change avatar: module 'aiohttp' has no attribute 'ClientTimeout' |
its really weird |
I should probably say I'm using Pycham and not VSC |
If you update your dependencies for review, you'll most likely solve that error. The current requirements.txt for d.py rewrite requires |
so I should add aiohttp to requirements.txt |
No, d.py rewrite already requires it, and as such, doesn't need to be added to the requirements file. |
No matching distribution found for aiohttp<3.4.0,>=3.3.0 (from -r requirements.txt) |
This is a current issue that will eventually be fixed. I've found that using Python 3.6 solves this issue, however it should be noted that 3.6 can cause issues on Windows. |
its odd because I'm trying to update on python 3.5 but I have python3.6 and python3.5 installed on my windows machine |
wait correction I have python 3.5.2 installed |
ok after installing python 3.6.6 your solution works completely my solution half worked so this is much better |
I removed python 3.5.2 and now using python 3.6.6 the setavatar command works completely |
travis also seemed to have failed when trying to use python3.5 |
That's a known issue. |
well lets hope it will be resolved in the future |
Please tick all applicable boxes.
python --version
on the command line)update
scriptWhich version are you using?
master
version (1.9.7)review
versionWhat type of issue are you creating?
Description of issue
a bug in the setavatar command
there was someone who's case was not reproducible
in particular module 'aiohttp' has no attribute 'Timeout'
in the setavatar command changing
this
to this
will fix the problem
however it might not be a long term solution however it does make the link uploading work at the very least
Steps to reproduce
note: uploading images as an avatar doesn't work because of this bug
Log file
Please attach your MusicBot log file (located at
logs/musicbot.log
) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.musicbot.log
The text was updated successfully, but these errors were encountered: