" username field can not be blank "config/creditials.ini " ?
So im in google cloud shell, installed the Osintgram programm normaly but when i enter python3 main.py (username) it comes: config/credentials.ini "username can not be blank". I already tried to remove the ordner, but i cant, and idk how to write into it. Please help.
Im on windows but on an terminal, so the installation isnt the problem its the "config/credentials.ini".
2 Antworten
So, what's about that credentials.ini? You have to provide your data there.
def getUsername():
try:
username = config["Credentials"]["username"]
if username == '':
pc.printout('Error: "username" field cannot be blank in "config/credentials.ini"\n', pc.RED)
sys.exit(0)
return username
Read the code.
Das ist ein deutscher Forum, bitte verwende die deutsche Sprache, damit dich hier die Leute besser verstehen, oder wende dich an einen anderen, für dich passenden, Forum mit Englischsprachlern
Das Forum. Das deutscher Forum, ach nein, das deutsche Forum, nein, nicht mal ein Forum, das schaut anders aus. Eine Plattform, ja, das trifft es besser.
Teilweise verstehe ich wirklich nicht was er meinen könnte xD
Es gibt eine credentials.ini, in der die Login-Daten (oder was auch immer) erfasst werden. Er kann die .ini wohl nicht bearbeiten oder hat sie einfach nur leer gelassen.
ಠ‿ಠ