Error running python ilp_ingestion.py with Debian 12, Python 3.11

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
42/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Inspect ingestion/python/tsbs_send/ilp_ingestion.py, especially the Sender call at line 31, and reproduce the traceback with Debian 12 and Python 3.11. Check the installed Sender API and confirm that the ingestion script starts and connects successfully without the TypeError.

Written by the indexing model from the issue text.

Description

Ingestion started. Connecting to localhost 9009
Traceback (most recent call last):
File "/home/mark/questdb-quickstart/ingestion/python/tsbs_send/ilp_ingestion.py", line 55, in
send()
File "/home/mark/questdb-quickstart/ingestion/python/tsbs_send/ilp_ingestion.py", line 31, in send
with Sender(host, port, auth=auth, tls=TLS) as sender:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src/questdb/ingress.pyx", line 1932, in questdb.ingress.Sender.init
TypeError: init() takes exactly 3 positional arguments (2 given)

Dominant language
Python
Stars
25
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from questdb/questdb-quickstart

All issues in questdb/questdb-quickstart

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.