[Zope-dev] problems importing DCOracle
Andrew Jeremy Lowe
ajlowe@leo.gov
Wed, 08 Mar 2000 12:24:52 -0500
This is a multi-part message in MIME format.
--------------14FE2FD0B07320D4F637586D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am trying having problems importing DCOracle.
I am running python 1.5.2 on a standard RedHat 6.1 intel box with
version 1.3.0 of DCOracle. When I try to import DCOracle it complains
about the lack ot a "Buffer" module. I can't find a Buffer module
anywhere, but there is a builtin function called "buffer". Here is a
transcript of my experiments. Can you help?
Sincerely,
Andy Lowe
Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66
19990314/Linux (egcs- on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import DCOracle
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "DCOracle/__init__.py", line 52, in ?
import sys, Buffer
ImportError: No module named Buffer
>>> import buffer
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: No module named buffer
>>> import sys
>>> print sys.modules.keys()
['os.path', 'DCOracle', 'os', 'readline', 'exceptions', '__main__',
'posix', 'DCOracle.sys', 'sys', '__builtin__', 'site', 'signal',
'UserDict', 'posixpath', 'stat']
>>> temp=buffer()
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: buffer requires at least 1 argument; 0 given
>>> temp=buffer
>>> print temp
<built-in function buffer>
>>> temp = Buffer
Traceback (innermost last):
File "<stdin>", line 1, in ?
NameError: Buffer
>>> import Buffer
Traceback (innermost last):
File "<stdin>", line 1, in ?
Import
--------------14FE2FD0B07320D4F637586D
Content-Type: text/x-vcard; charset=us-ascii;
name="ajlowe.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Andrew Jeremy Lowe
Content-Disposition: attachment;
filename="ajlowe.vcf"
begin:vcard
n:Lowe;Andy
x-mozilla-html:FALSE
org:Law Enforcement Online
adr:;;;;;;
version:2.1
email;internet:ajlowe@leo.gov
title:Network Engineer
x-mozilla-cpt:;0
fn:Andy Lowe
end:vcard
--------------14FE2FD0B07320D4F637586D--