On Thu, Sep 4, 2008 at 11:21 PM, Jim Slack <[EMAIL PROTECTED]> wrote:
>
> That's what I usually do.  I took that out to make the example shorter
> and simpler.  A shorter table name makes no difference.
>
> On Sep 4, 4:15 pm, "Alex Marandon" <[EMAIL PROTECTED]> wrote:
>> 2008/9/4 Jim Slack <[EMAIL PROTECTED]>:
>>
>> > OperationalError: (OperationalError) no such table:
>> > __main___department u'SELECT __main___department.id AS
>> > __main___department_id, __main___department.name AS
>> > __main___department_name \nFROM __main___department' []
>>
>> > What am I doing wrong?

Nothing. I think it's simply that an in-memory sqlite database can
only be accessed from a single thread, and since CherryPy creates a
thread for your http request, it can't access the in-memory database.
-- 
Gaƫtan de Menten
http://openhex.org

--~--~---------~--~----~------------~-------~--~----~
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