=============== Running Profile: python ===============

----------------------------------------------------------------------------
-
Commandline: C:\Python22\python.exe dbtst.py USER PWD DB HOST
Workingdirectory: G:\test
Current directory: G:\test
----------------------------------------------------------------------------
-

Traceback (most recent call last):
  File "dbtst.py", line 8, in ?
    import sapdb.sql
ImportError: No module named sql

Process "Python" completed, Exit Code 1.


Windows 2000
Python 2.2

I have the 7.3 interface version in my PYTHONPATH and the
sql.pyd from the 7.4 version in my Python DLLs directory.

Hope it helps,

Brett Cusaac
[EMAIL PROTECTED]




"Daniel Dittmar" <[EMAIL PROTECTED]> wrote in message
b2p82b$47k$[EMAIL PROTECTED]">news:b2p82b$47k$[EMAIL PROTECTED]...
> Brett Cusaac wrote:
> > There is also some discrepancy with the instructions --- They all
reference
> > import 'sapdb.sql'. This does not seem to work at all.
>
> It should work as follows:
> the directory/package sapdb contains subdirectories for all the current
> python versions. The script sapdb/sql.py tries to load the real 'sql'
> module from the appropriate subdirectory.
>
> I'd be interested in the error message when you execute 'import
> sapdb.sql' (+ the platform and the python version).
>
> There is a known problem with Red Hat 8.0: because the Python on that
> release was built using 4byte Unicode strings, the modules in
> sapdb/python22 are not compatible. The error message is something with
> 'unresolved external ...UCS2...'. The only solution is currently to use
> the modules in sapdb/python15, as they don't access any unicode
> functions at all.
>
> Daniel Dittmar
>
> --
> Daniel Dittmar
> SAP DB, SAP Labs Berlin
> [EMAIL PROTECTED]
> http://www.sapdb.org



_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to