I'm using Python 2.6.2, cx_oracle 4.4.1 and django 1.1 beta 1
SVN-10620

anyone know what happend??

On 22 abr, 17:48, Petry <marcospe...@gmail.com> wrote:
> I have the same problem.
>
> I ran the command "python manage.py syncdb" and the tables were
> created.
>
> In the shell I run:
> from django.contrib.auth.models import *
> Permission.objects.all ()
>
> and returned the objects
>
> but when I tried to use the runserver
>
> the error appears: Databaseerror: ORA-00942: table or view does not
> exist
>
> On 24 fev, 11:10, Brandon Taylor <btaylordes...@gmail.com> wrote:
>
> > Hi Karen,
>
> > Yes, that is exactly what I'm seeing.
>
> > On Feb 23, 6:02 pm, Karen Tracey <kmtra...@gmail.com> wrote:
>
> > > On Mon, Feb 23, 2009 at 10:15 AM, Brandon Taylor 
> > > <btaylordes...@gmail.com>wrote:
>
> > > > Hi everyone,
>
> > > > Still fighting with Oracle :(
>
> > > > Quick recap...my setup is:
>
> > > > OS X 10.5.6 (Intel), cx_Oracle-5.0.1 (Intel), instantclient_10_2,
> > > > Django Trunk, Python 2.6.1
>
> > > > If I run Django in shell, I am able to connect to Oracle, retrieve
> > > > objects via the ORM, etc. However, when I executing a view action
> > > > while running Django using the built-in server, I get the error:
>
> > > > DatabaseError:ORA-00942: table or view does not exist
>
> > > > My Oracle person has confirmed that the username I'm using has
> > > > permissions to view/create/drop/update.
>
> > > > Why would it work from the shell, using all of the same connection
> > > > information from settings.py and fail from the built-in server? I
> > > > don't know what else to try.
>
> > > Just to be clear -- you're seeing a difference in the ability to run (the
> > > exact same) queries against Oracle when you use:
>
> > > python manage.py shell
>
> > > versus
>
> > > python manage.py runserver
>
> > > ?
>
> > > And you start both of those from the exact same command shell environment?
>
> > > Karen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to