This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Error embedding datetime in C++
Type: Stage:
Components: Extension Modules Versions: Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: abduelt, christian.heimes
Priority: normal Keywords:

Created on 2013-07-18 10:33 by abduelt, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg193280 - (view) Author: abdulet (abduelt) Date: 2013-07-18 10:33
Hi all,

I'm ebedding a python program into C++ ecap library. Everything works fine until I'v try to import sqlite3. When I try to import it I give the following exception:
Traceback (most recent call last):
', '  File "/usr/local/squid/bin/putAdds.py", line 4, in <module>
    import sqlite3
', '  File "/usr/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
', '  File "/usr/lib/python2.7/sqlite3/dbapi2.py", line 24, in <module>
    import datetime
', 'ImportError: /usr/lib/python2.7/lib-dynload/datetime.i386-linux-gnu.so: undefined symbol: PyExc_SystemError

So it seems that is a problem in datetime module. How can i solve that?

Thanks and regards
Abdul
msg193281 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-07-18 11:13
Hello Abdulet,

the issue tracker isn't the best place to get help for your problem. May I suggest that you write a mail to the Python user list or one of the more specialized lists like the CAPI SIG and C++ SIG?

http://mail.python.org/mailman/listinfo
msg193284 - (view) Author: abdulet (abduelt) Date: 2013-07-18 11:52
Ok it looks like a bug for me, sorry for the inconveniences

Thanks and regards
Abdul

TECNOCOM

Abdul Pallarès Calvi

Técnico Especialista

Sistemas gestionados

Entença, 335

Barcelona 08029

Tel. Fijo: (+34) 934953167

Tel. Móvil / Fax: (+34) 647970296 / (+34)

email: abdul.pallares@tecnocom.es

http://www.tecnocom.es

Por favor, antes de imprimir este mensaje, asegúrate de que es necesario. Ayudemos a cuidar el medio ambiente
Este mensaje puede contener información confidencial o privilegiada. Si le ha llegado por error, rogamos no haga uso del mismo, avise al remitente y bórrelo. Consulte aviso legal
This message may contain confidential or privileged information. If it has been sent to you in error, please do not use it, notify the sender of the error and delete it. <SPAN style="FONT-SIZE: 7pt; COLOR: gr

________________________________________
De: Christian Heimes <report@bugs.python.org>
Enviat el: dijous, 18 / juliol / 2013 13:13
Per a: Pallares Calvi, Abdul Sabur
Tema: [issue18490] Error embedding datetime in C++

Christian Heimes added the comment:

Hello Abdulet,

the issue tracker isn't the best place to get help for your problem. May I suggest that you write a mail to the Python user list or one of the more specialized lists like the CAPI SIG and C++ SIG?

http://mail.python.org/mailman/listinfo

----------
nosy: +christian.heimes
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue18490>
_______________________________________
History
Date User Action Args
2022-04-11 14:57:48adminsetgithub: 62690
2013-07-18 11:52:38abdueltsetmessages: + msg193284
2013-07-18 11:13:51christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg193281

resolution: not a bug
2013-07-18 10:33:56abdueltcreate