GithubHelp home page GithubHelp logo

Comments (4)

sebthom avatar sebthom commented on May 28, 2024

Can you please re-run with --verbose and post the stacktrace.

from kleinanzeigen-bot.

dragonheart100 avatar dragonheart100 commented on May 28, 2024

Thanks for fast reply:
←[1;30m[INFO]←[0m Logging to [D:\unsortiert\Downloads\Kleinanzeigen-bot new\kleinanzeigen-bot.log]...
←[1;30m[INFO]←[0m App version: 0.1.dev1+g8e132d6
←[1;30m[DEBUG]←[0m ←[32mLoading [kleinanzeigen_bot.resources.config_defaults.yaml]...←[0m
←[1;30m[INFO]←[0m Loading config from [D:\unsortiert\Downloads\Kleinanzeigen-bot new\config.yaml]...
←[1;30m[DEBUG]←[0m ←[32mLoading categories from [kleinanzeigen_bot.resources.categories.yaml]...←[0m
←[1;30m[INFO]←[0m -> found 19 categories
←[1;30m[ERROR]←[0m ←[31mTraceback (most recent call last):
File "kleinanzeigen_bot_main_.py", line 8, in
File "kleinanzeigen_bot_init_.py", line 480, in main
File "kleinanzeigen_bot_init_.py", line 64, in run
File "kleinanzeigen_bot_init_.py", line 268, in load_config
TypeError: string indices must be integers
←[0m
[3288] Failed to execute script 'main' due to unhandled exception!

from kleinanzeigen-bot.

sebthom avatar sebthom commented on May 28, 2024

It seems to fail here

ensure(self.config["login"]["username"], f"[login.username] not specified @ [{self.config_file_path}]")
ensure(self.config["login"]["password"], f"[login.password] not specified @ [{self.config_file_path}]")
in line 268 where the username is loaded.

How did you specify your login details in the config.yaml file? It should look something like this:

login:
  username: "[email protected]"
  password: "my_password_goes_here"

from kleinanzeigen-bot.

dragonheart100 avatar dragonheart100 commented on May 28, 2024

Thank you, I forgot the quotation marks.
The script worked smoothly now and I was able to start an ad.
Issue can be closed

from kleinanzeigen-bot.

Related Issues (20)

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.