Giter VIP home page Giter VIP logo

Comments (4)

Nukesor avatar Nukesor commented on August 16, 2024

Actually I already took it down years ago. There was just a bug in the code that allowed users without usernames to continue using it ;D. Your recent comment just made aware of this bug.

To get better in a linux/programming environment, I would heartily suggest to learn reading error messages. Error messages tell you 95% of the time what the actual problem is.

From there on, it's pretty easy to find out how to fix it.

    × python setup.py egg_info did not run successfully.
    │ exit code: 1
    ╰─> [1 lines of output]
        ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
        [end of output]

So it looks like setuptools is not installed on your environment.
There's most likely a python-setuptools package for your distribution, or you could try to add the setuptools package to the pyproject.toml and add it as a dependency.

from hetznerbot.

nobewayo avatar nobewayo commented on August 16, 2024

I actually fixed it.. However, when running just initdb I get this errormessage instead:

poetry run python main.py initdb
Traceback (most recent call last):
File "/home/ubuntu/hetznerbot/main.py", line 8, in
from hetznerbot.config import config
File "/home/ubuntu/hetznerbot/hetznerbot/config.py", line 32, in
with open(config_path, "w") as file_descriptor:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/.config/hetznerbot.toml'
error: Recipe initdb failed on line 7 with exit code 1

Seems like no config file was created, however, just setup ran without any errors.. :(

from hetznerbot.

nobewayo avatar nobewayo commented on August 16, 2024

Would you maybe be interested in letting me use it for a week or two, for a fee? Or set it up on my VPS for a fee.

from hetznerbot.

Nukesor avatar Nukesor commented on August 16, 2024

Sorry, I already have enough to do on my plate ;)

Try to dig around and learn a bit about python, telegram bots and app development, it's quite interesting!

I'm already providing the code of the project and convenience functions for setting it up, the rest is up to the individuals that want to use it ;)

from hetznerbot.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.