InstaPy / InstaPy/instapy-quickstart

mac_start.command Issue/Error

Open
#40 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
777
Forks
763
PR merge metrics
No merged PRs in 30d

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!

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.