neo-instabot icon indicating copy to clipboard operation
neo-instabot copied to clipboard

Unique constraint failing

Open artjimlop opened this issue 5 years ago • 0 comments

Select one:

  • [X] Bug
  • [ ] Feature Request
  • [ ] Technical Help (Please don't create an issue, join the facebook group or telegram channel)
  • [ ] Other

Environment

  • [ ] Are you hosting the bot on a VPS or other Cloud hosting?
  • [ ] Are you running the code on your phone
  • [X] If so, have you tried running the code on your local machine?

Operating System? (include version)

  • [X] macOS
  • [ ] Windows
  • [ ] Rasbian Linux Raspberry PI (include flavour)
  • [ ] Linux (include flavour)
  • [ ] Android (include terminal)

Python Version Requirement

  • [X] I am using Python 3.6 or above

Exact Python Version?

3.7.2

Pip Version?

18.1

Instabot Version?

0.6.0

How you use the instabot

  • [ ] instabot-py -c my-configfile.yml (my-configfile.yml is an example you may have a different file )
  • [ ] instabot-py --login LOGIN --password PASSWORD
  • [X] instabot-py
  • [ ] example.py (Deprecated, please install newer version)

Description of your issue

sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint failed: medias.id
[SQL: INSERT INTO medias (id, created, status, code) VALUES (?, ?, ?, ?)]
[parameters: ('2123880500691312049', '2019-09-02 08:48:12.625028', 'Error', None)]

artjimlop avatar Sep 02 '19 06:09 artjimlop