Re: reviewboard.settings lost?

2010-08-26 Thread tag_98007work
Through trial and error and re-installing (easy_install just doesn't
work for me) tracked it down to the Reviewboard egg entry missing from
easy-install.pth (removed it trying to solve another problem, which
didn't work).  Once the Reviewboard egg entry was added back to easy-
install.pth the website works fine.

On Aug 26, 1:52 am, Christian Hammond  wrote:
> It's a file called settings.py inside the reviewboard/ directory. It's not
> something you should ever have to even know about. If anything was ever
> wrong with the file, then your installation is basically corrupt or
> something.
>
> Can you show me your server's configuration file?
>
> Also, try deleting your reviewboard*.egg directories in
> /usr/lib/python2.5/site-packages and re-installing it. It's possible that
> for whatever reason, that directory is no longer in your Python include
> path. Redoing easy_install should guarantee it goes into the path.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Wed, Aug 25, 2010 at 9:15 AM, tag_98007work wrote:
>
>
>
> > RB is definitely installed for Python 2.5.  So is reviewboard.settings
> > a file?  I've done a find . -name reviewboard.settings in /usr/lib/
> > python2.5 and /var/www/reviewboard and the file is not there.  As far
> > as I know until the restart on Sunday, no files have been changed.
> > What do I need to do to fix this? Do I need to re-install? Guidence
> > would be appreciated.  Thanks
>
> > On Aug 24, 3:26 pm, Christian Hammond  wrote:
> > > reviewboard.settings is part of Review Board itself. It could be that
> > your
> > > install is broken or your web server is pointing to the wrong path. The
> > file
> > > itself does not change, so the syntax errors warning shouldn't be a
> > concern.
>
> > > Another thing to make sure is that Review Board is installed for Python
> > 2.5
> > > and not some other version.
>
> > > Christian
>
> > > --
> > > Christian Hammond - chip...@chipx86.com
> > > Review Board -http://www.reviewboard.org
> > > VMware, Inc. -http://www.vmware.com
>
> > > On Tue, Aug 24, 2010 at 2:30 PM, tag_98007work  > >wrote:
>
> > > > I've been running Reviewboard 1.5 RC1 for about a week.  According to
> > > > the logs sometime Sunday morning there was a restart, after that I'm
> > > > getting the messages:
>
> > > > Error log:
>
> > > > [Sun Aug 22 08:03:41 2010] [notice] SIGUSR1 received.  Doing graceful
> > > > restart
> > > > /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> > > > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> > > > application uses RandomPool, which is BROKEN in older releases.  See
> > > >http://www.pycrypto.org/randpool-broken
> > > >  RandomPool_DeprecationWarning)
> > > > /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> > > > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> > > > application uses RandomPool, which is BROKEN in older releases.  See
> > > >http://www.pycrypto.org/randpool-broken
> > > >  RandomPool_DeprecationWarning)
> > > > [Sun Aug 22 08:03:41 2010] [notice] mod_python: Creating 8 session
> > > > mutexes based on 3 max processes and 25 max threads.
> > > > [Sun Aug 22 08:03:41 2010] [notice] mod_python: using mutex_directory /
> > > > tmp
> > > > [Sun Aug 22 08:03:42 2010] [notice] Apache/2.2.9 (Debian) mod_python/
> > > > 3.3.1 Python/2.5.2 configured -- resuming normal operations
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] mod_python
> > > > (pid=12535, interpreter='reviewboard_reviewboard',
> > > > phase='PythonHandler', handler='django.core.handlers.modpython'):
> > > > Application error, referer:http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] ServerName:
> > > > 'reviewboard', referer:http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]
> > > > DocumentRoot: '/var/www/reviewboard/htdocs', referer:
> > > >http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] URI: '/
> > > > reviews/api/json/reviewrequests/17/last-update/', referer:
> > > >http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Location: '/
> > > > reviews/', referer:http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Directory:
> > > > None, referer:http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Filename: '/
> > > > var/www/reviewboard/htdocs/reviews', referer:
> > > >http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] PathInfo: '/
> > > > api/json/reviewrequests/17/last-update/', referer:
> > > >http://thall.wgti.net/reviews/r/17/
> > > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Traceback

Re: reviewboard.settings lost?

2010-08-26 Thread Christian Hammond
It's a file called settings.py inside the reviewboard/ directory. It's not
something you should ever have to even know about. If anything was ever
wrong with the file, then your installation is basically corrupt or
something.

Can you show me your server's configuration file?

Also, try deleting your reviewboard*.egg directories in
/usr/lib/python2.5/site-packages and re-installing it. It's possible that
for whatever reason, that directory is no longer in your Python include
path. Redoing easy_install should guarantee it goes into the path.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Wed, Aug 25, 2010 at 9:15 AM, tag_98007work wrote:

> RB is definitely installed for Python 2.5.  So is reviewboard.settings
> a file?  I've done a find . -name reviewboard.settings in /usr/lib/
> python2.5 and /var/www/reviewboard and the file is not there.  As far
> as I know until the restart on Sunday, no files have been changed.
> What do I need to do to fix this? Do I need to re-install? Guidence
> would be appreciated.  Thanks
>
> On Aug 24, 3:26 pm, Christian Hammond  wrote:
> > reviewboard.settings is part of Review Board itself. It could be that
> your
> > install is broken or your web server is pointing to the wrong path. The
> file
> > itself does not change, so the syntax errors warning shouldn't be a
> concern.
> >
> > Another thing to make sure is that Review Board is installed for Python
> 2.5
> > and not some other version.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> >
> > On Tue, Aug 24, 2010 at 2:30 PM, tag_98007work  >wrote:
> >
> >
> >
> > > I've been running Reviewboard 1.5 RC1 for about a week.  According to
> > > the logs sometime Sunday morning there was a restart, after that I'm
> > > getting the messages:
> >
> > > Error log:
> >
> > > [Sun Aug 22 08:03:41 2010] [notice] SIGUSR1 received.  Doing graceful
> > > restart
> > > /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> > > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> > > application uses RandomPool, which is BROKEN in older releases.  See
> > >http://www.pycrypto.org/randpool-broken
> > >  RandomPool_DeprecationWarning)
> > > /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> > > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> > > application uses RandomPool, which is BROKEN in older releases.  See
> > >http://www.pycrypto.org/randpool-broken
> > >  RandomPool_DeprecationWarning)
> > > [Sun Aug 22 08:03:41 2010] [notice] mod_python: Creating 8 session
> > > mutexes based on 3 max processes and 25 max threads.
> > > [Sun Aug 22 08:03:41 2010] [notice] mod_python: using mutex_directory /
> > > tmp
> > > [Sun Aug 22 08:03:42 2010] [notice] Apache/2.2.9 (Debian) mod_python/
> > > 3.3.1 Python/2.5.2 configured -- resuming normal operations
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] mod_python
> > > (pid=12535, interpreter='reviewboard_reviewboard',
> > > phase='PythonHandler', handler='django.core.handlers.modpython'):
> > > Application error, referer:http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] ServerName:
> > > 'reviewboard', referer:http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]
> > > DocumentRoot: '/var/www/reviewboard/htdocs', referer:
> > >http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] URI: '/
> > > reviews/api/json/reviewrequests/17/last-update/', referer:
> > >http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Location: '/
> > > reviews/', referer:http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Directory:
> > > None, referer:http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Filename: '/
> > > var/www/reviewboard/htdocs/reviews', referer:
> > >http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] PathInfo: '/
> > > api/json/reviewrequests/17/last-update/', referer:
> > >http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Traceback
> > > (most recent call last):, referer:http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> > > usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in
> > > HandlerDispatch\ndefault=default_handler, arg=req,
> > > silent=hlist.silent), referer:http://thall.wgti.net/reviews/r/17/
> > > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> > > usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, i

Re: reviewboard.settings lost?

2010-08-25 Thread tag_98007work
RB is definitely installed for Python 2.5.  So is reviewboard.settings
a file?  I've done a find . -name reviewboard.settings in /usr/lib/
python2.5 and /var/www/reviewboard and the file is not there.  As far
as I know until the restart on Sunday, no files have been changed.
What do I need to do to fix this? Do I need to re-install? Guidence
would be appreciated.  Thanks

On Aug 24, 3:26 pm, Christian Hammond  wrote:
> reviewboard.settings is part of Review Board itself. It could be that your
> install is broken or your web server is pointing to the wrong path. The file
> itself does not change, so the syntax errors warning shouldn't be a concern.
>
> Another thing to make sure is that Review Board is installed for Python 2.5
> and not some other version.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Tue, Aug 24, 2010 at 2:30 PM, tag_98007work wrote:
>
>
>
> > I've been running Reviewboard 1.5 RC1 for about a week.  According to
> > the logs sometime Sunday morning there was a restart, after that I'm
> > getting the messages:
>
> > Error log:
>
> > [Sun Aug 22 08:03:41 2010] [notice] SIGUSR1 received.  Doing graceful
> > restart
> > /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> > application uses RandomPool, which is BROKEN in older releases.  See
> >http://www.pycrypto.org/randpool-broken
> >  RandomPool_DeprecationWarning)
> > /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> > application uses RandomPool, which is BROKEN in older releases.  See
> >http://www.pycrypto.org/randpool-broken
> >  RandomPool_DeprecationWarning)
> > [Sun Aug 22 08:03:41 2010] [notice] mod_python: Creating 8 session
> > mutexes based on 3 max processes and 25 max threads.
> > [Sun Aug 22 08:03:41 2010] [notice] mod_python: using mutex_directory /
> > tmp
> > [Sun Aug 22 08:03:42 2010] [notice] Apache/2.2.9 (Debian) mod_python/
> > 3.3.1 Python/2.5.2 configured -- resuming normal operations
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] mod_python
> > (pid=12535, interpreter='reviewboard_reviewboard',
> > phase='PythonHandler', handler='django.core.handlers.modpython'):
> > Application error, referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] ServerName:
> > 'reviewboard', referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]
> > DocumentRoot: '/var/www/reviewboard/htdocs', referer:
> >http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] URI: '/
> > reviews/api/json/reviewrequests/17/last-update/', referer:
> >http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Location: '/
> > reviews/', referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Directory:
> > None, referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Filename: '/
> > var/www/reviewboard/htdocs/reviews', referer:
> >http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] PathInfo: '/
> > api/json/reviewrequests/17/last-update/', referer:
> >http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Traceback
> > (most recent call last):, referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> > usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in
> > HandlerDispatch\n    default=default_handler, arg=req,
> > silent=hlist.silent), referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> > usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in
> > _process_target\n    result = _execute_target(config, req, object,
> > arg), referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> > usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in
> > _execute_target\n    result = object(arg), referer:
> >http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> > usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/
> > handlers/modpython.py", line 228, in handler\n    return
> > ModPythonHandler()(req), referer:http://thall.wgti.net/reviews/r/17/
> > [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> > usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/
> > handlers/modpython.py", line 191, in __call__\n
> > self.load_middleware(), referer:http://thall.wgti.net/revi

Re: reviewboard.settings lost?

2010-08-24 Thread Christian Hammond
reviewboard.settings is part of Review Board itself. It could be that your
install is broken or your web server is pointing to the wrong path. The file
itself does not change, so the syntax errors warning shouldn't be a concern.

Another thing to make sure is that Review Board is installed for Python 2.5
and not some other version.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Tue, Aug 24, 2010 at 2:30 PM, tag_98007work wrote:

> I've been running Reviewboard 1.5 RC1 for about a week.  According to
> the logs sometime Sunday morning there was a restart, after that I'm
> getting the messages:
>
> Error log:
>
> [Sun Aug 22 08:03:41 2010] [notice] SIGUSR1 received.  Doing graceful
> restart
> /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> application uses RandomPool, which is BROKEN in older releases.  See
> http://www.pycrypto.org/randpool-broken
>  RandomPool_DeprecationWarning)
> /usr/lib/python2.5/site-packages/pycrypto-2.2-py2.5-linux-i686.egg/
> Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This
> application uses RandomPool, which is BROKEN in older releases.  See
> http://www.pycrypto.org/randpool-broken
>  RandomPool_DeprecationWarning)
> [Sun Aug 22 08:03:41 2010] [notice] mod_python: Creating 8 session
> mutexes based on 3 max processes and 25 max threads.
> [Sun Aug 22 08:03:41 2010] [notice] mod_python: using mutex_directory /
> tmp
> [Sun Aug 22 08:03:42 2010] [notice] Apache/2.2.9 (Debian) mod_python/
> 3.3.1 Python/2.5.2 configured -- resuming normal operations
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] mod_python
> (pid=12535, interpreter='reviewboard_reviewboard',
> phase='PythonHandler', handler='django.core.handlers.modpython'):
> Application error, referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] ServerName:
> 'reviewboard', referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]
> DocumentRoot: '/var/www/reviewboard/htdocs', referer:
> http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] URI: '/
> reviews/api/json/reviewrequests/17/last-update/', referer:
> http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Location: '/
> reviews/', referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Directory:
> None, referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Filename: '/
> var/www/reviewboard/htdocs/reviews', referer:
> http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] PathInfo: '/
> api/json/reviewrequests/17/last-update/', referer:
> http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132] Traceback
> (most recent call last):, referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in
> HandlerDispatch\ndefault=default_handler, arg=req,
> silent=hlist.silent), referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in
> _process_target\nresult = _execute_target(config, req, object,
> arg), referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in
> _execute_target\nresult = object(arg), referer:
> http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/
> handlers/modpython.py", line 228, in handler\nreturn
> ModPythonHandler()(req), referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/core/
> handlers/modpython.py", line 191, in __call__\n
> self.load_middleware(), referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/utils/
> functional.py", line 276, in __getattr__\nself._setup(), referer:
> http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [error] [client 192.168.54.132]   File "/
> usr/lib/python2.5/site-packages/Django-1.2.1-py2.5.egg/django/conf/
> __init__.py", line 40, in _setup\nself._wrapped =
> Settings(settings_module), referer: http://thall.wgti.net/reviews/r/17/
> [Sun Aug 22 08:08:10 2010] [e

Re: reviewboard.settings

2008-09-09 Thread Hemanshu Patel
first of all your settings.py file is your reviewboard.settings file. if you
can tell me your directory structure and your appache config file i can help
you further.

On Fri, Sep 5, 2008 at 7:52 PM, Dean <[EMAIL PROTECTED]> wrote:

>
> I'll have to re-do this. When we installed reviewboard, we must have
> overlooked something, because no reviewboard.settings file was
> created, and we also never got the sample apache config files created,
> either. Do you recommend re-running the install scripts?
>
> We are using Fedora8. I am working with the embedded httpd server and
> working towards setting it up as a virtual host in Apache2.
>
> Dean
>
>
> >
>


-- 
Hemanshu.D.Patel

[EMAIL PROTECTED]
[EMAIL PROTECTED]
(860)995-6771
(860)875-2854

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



Re: reviewboard.settings and exporting db

2008-09-09 Thread Hemanshu Patel
the setings.py file is your reviewboard.settings can you tell me what is
your directory structure for reviewboard. and your config file for apache.
so i can further help you

On Mon, Sep 8, 2008 at 2:25 PM, Dean <[EMAIL PROTECTED]> wrote:

>
> I do not think we ran any install scripts for reviewboard when
> following the Getting Started and Ubuntu instructions... So I have
> some questions:
> 1) Can I run "ez_setup.py" or "setup.py" now without damaging the data
> we have been playing with?
>
> 2) If not, what might I have missed in the instructions to create the
> reviewboard.settings and sample apache2 conf files?
>
> 3) Once we have worked with Reviewboard for a bit and decided we want
> to move it into production, what procedure I can use to export our
> data from sqlite in order to migrate it to mysql?
>
> Our setup: Fedora8, /usr/lib/python2.5, django Revision: 8471,
> reviewboard Revision: 1453.
>
> Thanks for your help,
>
> Dean
> >
>


-- 
Hemanshu.D.Patel

[EMAIL PROTECTED]
[EMAIL PROTECTED]
(860)995-6771
(860)875-2854

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



Re: reviewboard.settings and exporting db

2008-09-08 Thread Christian Hammond
manage.py loaddata/dumpdata don't scale. Instead, use contrib/db/load-db.py
and contrib/db/backup-db.py.

Dean, you should be able to use setup.py these days. I'm going to update the
wiki pretty soon with the new instructions. I don't think you'll have any
problems, since it will pretty much just override the existing files.

setup.py, unlike the configure/make solution, doesn't generate web server
config files to use as a base. I'm developing a script that will help
generate this and set up a directory structure, but it's not there yet. You
can still run ./configure && make to generate files in contrib/conf/ to use
as a base for the time being, though.

Christian

-- 
Christian Hammond - [EMAIL PROTECTED]
VMware, Inc.


On Mon, Sep 8, 2008 at 12:24 PM, Joseph Liu <[EMAIL PROTECTED]> wrote:

>
> On Mon, Sep 8, 2008 at 11:25 AM, Dean <[EMAIL PROTECTED]> wrote:
> >
> > I do not think we ran any install scripts for reviewboard when
> > following the Getting Started and Ubuntu instructions... So I have
> > some questions:
> > 1) Can I run "ez_setup.py" or "setup.py" now without damaging the data
> > we have been playing with?
>
> I'm pretty sure the anwser is yes, but you should probably back up the
> data anyways. I think installing via setup.py is necessary for
> mod_python. I've been playing around using fast_cgi and lighttpd.
>
> > 2) If not, what might I have missed in the instructions to create the
> > reviewboard.settings and sample apache2 conf files?
> >
> > 3) Once we have worked with Reviewboard for a bit and decided we want
> > to move it into production, what procedure I can use to export our
> > data from sqlite in order to migrate it to mysql?
>
> I haven't done this but manage.py dumpdata and manage.py loaddata
> looks promising. More information can be found:
> http://www.djangoproject.com/documentation/django-admin/
>
> Joseph
>
> >
>

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



Re: reviewboard.settings and exporting db

2008-09-08 Thread Joseph Liu

On Mon, Sep 8, 2008 at 11:25 AM, Dean <[EMAIL PROTECTED]> wrote:
>
> I do not think we ran any install scripts for reviewboard when
> following the Getting Started and Ubuntu instructions... So I have
> some questions:
> 1) Can I run "ez_setup.py" or "setup.py" now without damaging the data
> we have been playing with?

I'm pretty sure the anwser is yes, but you should probably back up the
data anyways. I think installing via setup.py is necessary for
mod_python. I've been playing around using fast_cgi and lighttpd.

> 2) If not, what might I have missed in the instructions to create the
> reviewboard.settings and sample apache2 conf files?
>
> 3) Once we have worked with Reviewboard for a bit and decided we want
> to move it into production, what procedure I can use to export our
> data from sqlite in order to migrate it to mysql?

I haven't done this but manage.py dumpdata and manage.py loaddata
looks promising. More information can be found:
http://www.djangoproject.com/documentation/django-admin/

Joseph

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