Comments (3)
This bug has been mentioned a few times in the hikari server - it's an issue with running hikari on Python 3.11.
This issue will be fixed as of version 2.0.0.dev119.
For now, please do either one of the following:
- Install fix from a temporary 2.0.0.dev119 branch:
pip install git+https://github.com/davfsa/hikari@task/dont-force-close
- Add the following lines to your bot constructor:
+from hikari.impl import config
bot = hikari.GatewayBot(
"TOKEN",
+ http_settings=config.HTTPSettings(enable_cleanup_closed=False)
)
IIRC, the second option will become the default in dev119 (and is the change that installing from the above branch makes).
from hikari.
Thanks for the report! This is actually an issue with changes in CPython 3.11, but regardless, this will be fixed by #1585
from hikari.
Thanks for the responses!
from hikari.
Related Issues (20)
- Bundle requirement files with source distribution
- Consistency around user vs member naming in rest arguments HOT 1
- GuildThreadChannel.is_nsfw should be removed
- Extract component models out of `messages.py`
- `hikari.Bytes` creates file with 0 bytes when proxing `io.BytesIO` HOT 1
- When I try to run hikari, it returns this error (yesterday it worked fine, today I didn't modify the code at all and when I ran it didn't work) HOT 3
- hikari.errors.UnrecognisedEntityError: Unrecognised channel type 15 HOT 1
- Impossible to build hikari from Pipy
- No roles stored with fetch_members REST API call HOT 2
- Add option to supress optimization warning message HOT 4
- Implement different types of selects (selects v2)
- Implement role subscriptions
- Pottential speedup: ujson or orjson HOT 4
- Add startup callback and shutdown callback traits for RESTBot HOT 1
- Forum channels unrecognised HOT 2
- Localization attribute missing for CommandChoice HOT 1
- typing context not exiting after a webhook is called HOT 2
- Add support for comparing roles HOT 1
- Editing the icon of a server fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hikari.