tursodatabase / tursodatabase/libsql
Issue: pyo3_runtime.PanicException: not yet implemented
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17.2k
- Forks
- 531
- Avg merge
- 1h 12m
- Merged PRs (30d)
- 1
Description
Using the Turso DB straight from my Flask python backend, i've faced an issue when trying to use a INSERT OR IGNORE sqlite clause.
The code is:
for track in tracks_info:
# Insert or ignore album information
conn.execute('''
INSERT OR IGNORE INTO apple_albums (apple_album_id, title, release_year, artist_id, picture_url)
VALUES (?, ?, ?, ?, ?)
''', (track['apple_album_id'], track['album_title'], track['release_year'], track['apple_artist_id'], track['image_url']))
This results in : pyo3_runtime.PanicException: not yet implemented
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the supplied Flask/Python snippet and trace the libSQL Python execution path for INSERT OR IGNORE. Reproduce the pyo3_runtime.PanicException, then verify that the statement executes without a panic and preserves the requested insert-or-ignore behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python, sqlite
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100