> I get the following error while loading system tables with an > OWN build. > (so it's most likely only my problem) > > -24964,ERR_EXECUTE: error in program execution > 256,/opt/sapdb/depend/bin/x_python > /opt/sapdb/depend/env/lsystab.py -d TST > -u dba,* -dompwd domain en ENG > Traceback (most recent call last): > File "/opt/sapdb/depend/env/lsystab.py", line 40, in ? > from installib import * > File "/opt/sapdb/depend/env/installib.py", line 26, in ? > import re > File "/opt/sapdb/depend/lib/python1.5/re.py", line 3, in ? > from pcre import * > ImportError: No module named pcre
You're using Python 2.*, which has replaced the internal regular expression module pre with one called sre. To fix this, copy the file re.py from your python distribution to sys/src/redist/python/re.py.rpy and execute 'imf.pl pyredist'. Daniel Dittmar -- Daniel Dittmar SAP DB, SAP Labs Berlin [EMAIL PROTECTED] http://www.sapdb.org/ > -----Original Message----- > From: Rosenauer, Wolfgang > Sent: Tuesday, March 25, 2003 10:20 AM > To: [EMAIL PROTECTED] > Subject: load systab python error > > > Hi, > > I get the following error while loading system tables with an > OWN build. > (so it's most likely only my problem) > > -24964,ERR_EXECUTE: error in program execution > 256,/opt/sapdb/depend/bin/x_python > /opt/sapdb/depend/env/lsystab.py -d TST > -u dba,* -dompwd domain en ENG > Traceback (most recent call last): > File "/opt/sapdb/depend/env/lsystab.py", line 40, in ? > from installib import * > File "/opt/sapdb/depend/env/installib.py", line 26, in ? > import re > File "/opt/sapdb/depend/lib/python1.5/re.py", line 3, in ? > from pcre import * > ImportError: No module named pcre > > My knowledge about Python is "nothing" so I would appreciate any hint, > what happens here and what to check. > > > CU, > > Wolfgang > > > _______________________________________________ > sapdb.general mailing list > [EMAIL PROTECTED] > http://listserv.sap.com/mailman/listinfo/sapdb.general > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
