Problem with environment variables and cx_Oracle

2009-02-24 Thread Brandon Taylor
e environment handle I've been wrestling with this for quite some time. My Oracle person assures me that my user has appropriate permissions for the schema. My Oracle experience is pretty limited, but this seems like it's an issue with the environment on my Mac. Does anyone have any ide

Re: cx_Oracle-5.0 Problem

2009-02-12 Thread Brandon Taylor
On Feb 12, 9:31 am, redbaron wrote: > > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/ > > lib/python2.6/site-packages/cx_Oracle.so, 2): Symbol not found: > > ___divdi3 > > You didn't link cx_Oracle.so all libs which it use. run "ldd -r > cx_Oracle.so" and you'll have an id

cx_Oracle-5.0 Problem

2009-02-12 Thread Brandon Taylor
Hello everyone, I'm Brandon Taylor, senior web developer with the University of Texas at Austin. We're using Python 2.6.1 and having a lot of difficulty getting the cx_Oracle-5.0 library to install on one of our MacBooks running OS X 10.5.6. We can get cx_Oracle to compile, but aft

Re: Extracting file from zip archive in Python 2.6.1

2009-02-05 Thread Brandon Taylor
On Feb 4, 12:16 am, "Gabriel Genellina" wrote: > En Wed, 04 Feb 2009 00:36:40 -0200, Brandon Taylor   > escribió: > > > > > On Feb 3, 1:16 pm, Brandon Taylor wrote: > >> On Feb 3, 9:45 am, "Gabriel Genellina" wrote: > >> > En Tue,

Re: Extracting file from zip archive in Python 2.6.1

2009-02-03 Thread Brandon Taylor
On Feb 3, 9:15 pm, rdmur...@bitdance.com wrote: > Quoth Brandon Taylor : > > > > > Ok, the first thing I needed to do was add: > > > from __future__ import with_statement at the beginning of my file > > > but: > > > with zip_file.ope

Re: Extracting file from zip archive in Python 2.6.1

2009-02-03 Thread Brandon Taylor
On Feb 3, 1:16 pm, Brandon Taylor wrote: > On Feb 3, 9:45 am, "Gabriel Genellina" wrote: > > > > > En Tue, 03 Feb 2009 05:31:24 -0200, Brandon Taylor   > > escribió: > > > > I'm having an issue specifying the path for extracting fi

Re: Extracting file from zip archive in Python 2.6.1

2009-02-03 Thread Brandon Taylor
On Feb 3, 9:45 am, "Gabriel Genellina" wrote: > En Tue, 03 Feb 2009 05:31:24 -0200, Brandon Taylor   > escribió: > > > I'm having an issue specifying the path for extracting files from > > a .zip archive. In my method, I have: > > > zip_

Extracting file from zip archive in Python 2.6.1

2009-02-02 Thread Brandon Taylor
Hello everyone, I'm having an issue specifying the path for extracting files from a .zip archive. In my method, I have: zip_file.extract(zip_name + '/' + thumbnail_image, thumbnail_path) What is happening is that the extract method is creating a folder with the name of 'zip_name' and extracting