Comments (7)
Add this code to the beginning of your python script before "from python_aternos ...":
import logging
logging.basicConfig(level=logging.DEBUG)
Then run it and send me all output, please.
from python-aternos.
servs[0]
IndexError: list index out of range
Are you sure you have any servers?
Also, try updating to the new version using command
pip install -U python-aternos
from python-aternos.
I am facing this issue too. The list of servers returns no servers (empty list), though I do have a server
from python-aternos.
Im now just using 1.0.2.
from python-aternos.
The latest version is 1.1.1.
# Update module and run your code again
pip install -U "python-aternos>=1.1.1"
from python-aternos.
The latest version is 1.1.1.
I am on 1.1.1, still facing the same issue
from python-aternos.
@DarkCat09
I might be wrong here, but the xpaths in the atclient.py file on line 196 and 197 are not working on the aternos website. They may have changed on the website perhaps?
Removing line 196 and adding a slash on line 197 made it work for me
'//div[@class="server-body"]/@data-id'
from python-aternos.
Related Issues (20)
- Unable to bypass Cloudflare protection
- Unable to parse lastStatus object
- Download an aternos Drive backup HOT 1
- Documentation HOT 2
- Getting server domain/address/subdomain doesn't work HOT 4
- Login with username and password doesn't work HOT 5
- Aternos detects using this HOT 5
- A way to possibly Change user permissions?
- Check username and password HOT 3
- Check your username and password
- 503 Service unavaliable HOT 2
- 400 error at /players HOT 6
- Unable to parse lastStatus object HOT 5
- How to get dymanic ip? HOT 2
- Unable to start server. HOT 2
- :( HOT 1
- bruh im banned from aternos after 1 day -_- HOT 1
- ServerStartError fails to import HOT 1
- Error in Client() HOT 3
- Aternos responding `This username doesn't exist` HOT 3
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 python-aternos.