On Dec 13, 2007 10:59 AM, Gaetan de Menten <[EMAIL PROTECTED]> wrote:
>
> On Dec 13, 2007 11:24 AM, Ed Singleton <[EMAIL PROTECTED]> wrote:
> >
> > I'm having problems with the tutorial when using ipython (but not when
> > using the normal python interpreter).  I'm using python2.4 on Mac OS X
> > 10.4, with elixir 0.5, and ipython 0.8.2
>
> I know this isn't of much help, but here it works fine on Ubuntu Gutsy
> which ships ipython 0.8.1. Tried with both python 2.4 and python 2.5.

Actually, it turns out it was a lot of help

> > AttributeError: 'str' object has no attribute 'echo'
>
> Hmmm, if it weren't for the fact that it works in normal python, I'd
> say it's because you are using an old version of SQLAlchemy. That
> syntax requires SQLAlchemy 0.3.9, I think (or possibly 0.3.10). Would
> it be possible that when run through ipython, your PYTHONPATH points
> to another SQLAlchemy?

This is what gave it away.  I forgot that I had been using
workingenv.py as I was trying out a selection of different components
(Elixir being one).  For some reason ipython when used in workingenv
was ignoring the new version of SQLAlchemy (and possibly Elixir) and
picking up the version of SQLAlchemy I installed when I first tried
out Elixir ages ago (which was SA 0.3.7).

Thank you for your help and apologies for a fairly silly error on my part.

Ed

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to