On Sep 17, 5:07 am, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> How did you guys install Review Board and Djblets?

Reviewboard is installed from scratch in this case, using sqlite and
the standard instructions on Getting Started.  Django was installed
from an egg file using an egg file and easy_install (IIRC).  This is
using Python25 on Windows XP.

> Please try the following and report the output.
>
> Run:
>
> $ ./manage.py shell
>
> >>> from djblets.siteconfig.models import SiteConfiguration
> >>> siteconfig = SiteConfiguration.objects.get_current()

No errors, and no output:

C:\reviewboard>manage.py shell
Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from djblets.siteconfig.models import SiteConfiguration
>>> siteconfig = SiteConfiguration.objects.get_current()
>>>


Reading through the Django/mod_python docs, it does indicate that
Django eats the error messages.  Is there any place to look to see the
errors or any way to enable error reporting?  I've turned on
PythonDebug in my httpd.conf file to no avail.  I also tried following
the egg-specific instructions in the Django mod_python setup
instructions.  I created a writable directory in "C:/reviewboard/
enable_eggs" and added the following lines to my httpd.conf file
outside the VirtualHost block:

PythonInterpreter reviewboard
PythonImport "c:/reviewboard/enable_eggs.py" reviewboard

And then, inside the VirtualHost block, I enable the PythonInterpreter
with:

                PythonInterpreter reviewboard

No change.  Same problem.

>
> This will help to track it down.
>
> Christian
>
> --
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
>
> On Wed, Sep 17, 2008 at 4:49 AM, Daniel Wexler <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the replies.  Good to see this is happening to others!
>
> > The tan manual server updates required box is followed by a single
> > light blue "Database changes" box that indicates that the schema has
> > changed since my last upgrade and I need to run syncdb.
>
> > I get no errors when I run syncdb.  Even better, there has been no
> > upgrade.  This is a completely fresh install.
>
> > Also, reviewboard works properly when I use the built-in server on
> > port 8000.  I only get these messages via Apache on port 80.
>
> > My directories are all chmod'ed 777.
>
> > I think that, like Guillaume, I initially had the "images" error, but
> > that's gone away.
>
> > On Sep 17, 3:16 am, Guillaume Dufrêne <[EMAIL PROTECTED]>
> > wrote:
> > > Hi,
>
> > > About rights, I made a chown of my media dir ...
> > > Do i need to do a chmod 777 on it ?
>
> > > ps of my server :
> > > root     31830  0.0  0.3  26248  9764 ?        Ss   Sep16   0:01
> > > /usr/sbin/apache2 -k start
> > > www-data 25219  0.2  0.4  33816 14636 ?        S    11:39   0:04  \_
> > > /usr/sbin/apache2 -k start
> > > www-data 25969  0.2  0.4  33908 13852 ?        S    11:51   0:02  \_
> > > /usr/sbin/apache2 -k start
>
> > > As you can see my apache is run by www-data user
>
> > > ls -al htdocs/media
> > > drwxr-xr-x  9 www-data root 4096 2008-09-16 16:13 .
> > > drwxr-xr-x  5 www-data root 4096 2008-09-16 16:13 ..
> > > drwxr-xr-x  6 www-data root 4096 2008-09-16 16:13 admin
> > > drwxr-xr-x  6 www-data root 4096 2008-09-16 16:13 djblets
> > > drwxr-xr-x  6 www-data root 4096 2008-09-16 16:12 rb
> > > drwxr-xr-x  6 www-data root 4096 2008-09-16 16:13 .svn
> > > drwxr-xr-x  4 www-data root 4096 2008-09-16 17:57 uploaded
> > > drwxr-xr-x 28 www-data root 4096 2008-09-16 16:12 yui
> > > drwxr-xr-x  3 www-data root 4096 2008-09-16 16:12 yui-ext
>
> > > And as you can see this directory is owned by www-data this read/write
> > > privileges.
>
> > > ./manage.py syncdb
> > > Installing json fixture 'initial_data' from
> > > '/usr/share/reviewboard/scmtools/fixtures'.
> > > Installed 6 object(s) from 1 fixture(s)
>
> > > No warning at all ...
>
> > > I'm still confused about this error.
>
> > > --
> > > Guillaume.
>
> > > fharrison wrote:
> > > > Did the sync give you any warnings?
>
> > > > I also got both errors when I updated yesterday. The directories in
> > > > question needs to be owned or read/writeable by the Apache user; a
> > > > quick hack (and it is a hack) is to (from media) "chmod 777 -R
> > > > uploaded".
>
> > > > F.
>
> > > > On Sep 17, 9:41 am, Guillaume Dufrêne <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > >> Hi Christian,
> > > >> thanks for your reply,
>
> > > >> Both errors were reported by this page for me.
> > > >> So, I created the /media/uploaded/images
> > > >> I "chowned" this new directory to www-data which is the apache user
> > > >> I executed the ./manage.sh syncdb
> > > >> I reloaded apache (I don't really think it was necessary)
>
> > > >> No more error about the images directory but it is still said that i
> > > >> need to sync my db ... ever, and ever ...
>
> > > >> --
> > > >> Guillaume.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to