[issue18490] Error embedding datetime in C++

2013-07-18 Thread abdulet

New submission from abdulet:

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 
import sqlite3
', '  File "/usr/lib/python2.7/sqlite3/__init__.py", line 24, in 
from dbapi2 import *
', '  File "/usr/lib/python2.7/sqlite3/dbapi2.py", line 24, in 
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

--
components: Extension Modules
messages: 193280
nosy: abduelt
priority: normal
severity: normal
status: open
title: Error embedding datetime in C++
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue18490>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18490] Error embedding datetime in C++

2013-07-18 Thread abdulet

abdulet added the comment:

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.palla...@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. http://mail.python.org/mailman/listinfo

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

___
Python tracker 
<http://bugs.python.org/issue18490>
___

--

___
Python tracker 
<http://bugs.python.org/issue18490>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com