Python Forum
Trying to send input from html form to database SQLite3
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to send input from html form to database SQLite3
#3
Thanks for having a look!

Sorry I forgot to post the error,.

The error i'm getting:

File "/home/ronny/Desktop/registratieinc/app.py", line 70, in my_form
c = conn.cursor()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 139874622285632 and this is thread id 139874510690048.
Reply


Messages In This Thread
RE: Trying to send input from html form to database SQLite3 - by RonnyGiezen - Dec-20-2019, 07:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Create SQLite3 database with peewee Jim53_1980 2 739 Dec-20-2023, 02:38 PM
Last Post: buran
  Regex replace in SQLite3 database WJSwan 1 846 Dec-04-2023, 05:55 PM
Last Post: Larz60+
  Webscrape from my webpage and store in database and send to grafana Armond 2 973 Jul-12-2023, 06:29 PM
Last Post: Armond
  Rows not adding to sqlite3 database using SQLAlchemy Calab 11 1,877 Jun-02-2023, 05:53 PM
Last Post: bowlofred
  pyscript index error while calling input from html form pyscript_dude 2 1,039 May-21-2023, 08:17 AM
Last Post: snippsat
  Tkinterweb (Browser Module) Appending/Adding Additional HTML to a HTML Table Row AaronCatolico1 0 983 Dec-25-2022, 06:28 PM
Last Post: AaronCatolico1
  Basic SQL query using Py: Inserting or querying sqlite3 database not returning data marlonbown 3 1,451 Nov-08-2022, 07:16 PM
Last Post: marlonbown
Sad how to validate user input from database johnconar 3 2,029 Sep-11-2022, 12:36 PM
Last Post: ndc85430
  Use pexpect to send user input alisha17 0 1,957 May-10-2022, 02:44 AM
Last Post: alisha17
  Error creating database with python and form? shams 3 2,414 Aug-02-2021, 02:00 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020