taosdata / taosdata/taos-connector-python

architecture arm64 会报错

Open
#246 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
61
Forks
17
PR merge metrics
No merged PRs in 30d

Description

============================= test session starts ==============================
collecting ...
test_native_cursor.py:None (test_native_cursor.py)
test_native_cursor.py:1: in
import taos
../taos/init.py:2: in
from taos.connection import TaosConnection
../taos/connection.py:2: in
from taos.cinterface import *
../taos/cinterface.py:79: in
_libtaos.taos_get_client_info.restype = c_char_p
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/init.py:377: in getattr
func = self.getitem(name)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/init.py:382: in getitem
func = self._FuncPtr((name_or_ordinal, self))
E AttributeError: dlsym(0x309683760, taos_get_client_info): symbol not found

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the arm64 failure while collecting test_native_cursor.py. Trace the import path through taos/init.py, taos/connection.py, and taos/cinterface.py, focusing on the missing taos_get_client_info symbol. Done means the module imports on arm64 and test_native_cursor.py can be collected without this AttributeError.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.