InstaPy / InstaPy/instapy-quickstart

mac_start.command Issue/Error

Ouverte
#40 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
777
Forks
763
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I have successfully installed instapy but when trying to run **mac_start.command** from instapy quickstart, I get the following:

Ivans-MacBook:~ ivan$ /Users/ivan/Downloads/instapy-quickstart-master/run/mac_start.command ; exit;
Starting InstaPy with quickstart
====================

._. ._. ._. ._. ._. ._. ._.
Workspace in use: "/Users/ivan/InstaPy"
WARNING [2019-05-30 13:02:15] [None] Heeh! Error occurred while getting a DB profile for 'None':
NOT NULL constraint failed: profiles.name
Traceback (most recent call last):
File "../quickstart.py", line 24, in
headless_browser=False)
File "/Library/Python/2.7/site-packages/instapy/instapy.py", line 292, in __init__
get_database(make=True) # IMPORTANT: think twice before relocating
File "/Library/Python/2.7/site-packages/instapy/database_engine.py", line 60, in get_database
id = get_profile(name, address, logger) if id is None or make else id
File "/Library/Python/2.7/site-packages/instapy/database_engine.py", line 147, in get_profile
profile = dict(profile)
TypeError: 'NoneType' object is not iterable
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

[Process completed]

Any help would be appreciated!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by running run/mac_start.command and trace quickstart.py line 24 through the reported instapy/instapy.py and database_engine.py calls. Reproduce the NOT NULL and NoneType errors, then verify that the quickstart completes without the traceback and starts InstaPy successfully.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
developer-experience
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.