Hi Chris,

after last update (0.9.dev_20081127) there seems to be another
(packaging?) bug. If delete setting_local.py* ReviewBoard stops
working. I can see in logs that it's actually requiring the file I
deleted :)

Logs:
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython: Traceback (most recent call last):
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/mod_python/apache.py", line 299, in HandlerDispatch\n
result = object(req)
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/
modpython.py", line 228, in handler\n    return ModPythonHandler()
(req)
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/
modpython.py", line 191, in __call__\n    self.load_middleware()
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/base.py",
line 31, in load_middleware\n    for middleware_path in
settings.MIDDLEWARE_CLASSES:
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.0.2_final-py2.4.egg/django/conf/__init__.py", line
28, in __getattr__\n    self._import_settings()
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.0.2_final-py2.4.egg/django/conf/__init__.py", line
59, in _import_settings\n    self._target = Settings(settings_module)
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/Django-1.0.2_final-py2.4.egg/django/conf/__init__.py", line
92, in __init__\n    mod = __import__(self.SETTINGS_MODULE, {}, {},
[''])
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/ReviewBoard-0.9.dev_20081127-py2.4.egg/reviewboard/
settings.py", line 150, in ?\n    dependency_error('Unable to read
settings_local.py.')
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython:   File "/usr/lib/python2.4/site-
packages/ReviewBoard-0.9.dev_20081127-py2.4.egg/reviewboard/
settings.py", line 139, in dependency_error\n    sys.exit(1)
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] PythonHandler
django.core.handlers.modpython: SystemExit: 1
[Fri Nov 28 09:11:50 2008] [error] [client 10.64.1.113] File does not
exist: /opt/reviewboard/htdocs/errordocs/500.html

I hope you'll enjoy your vacation :)

Tom

On 28 Lis, 09:00, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> First, there's a bug in packaging so you'll need to delete the
> settings_local.* files in your installed ReviewBoard directory. I'll fix
> this when I get back from vacation.
>
> Second, on Windows you'll have to pass --copy-media to rb-site for now until
> we add Windows detection (also when I get back).
>
> Christian
>
> --
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
>
> On Thu, Nov 27, 2008 at 4:40 AM, KunalG <[EMAIL PROTECTED]> wrote:
>
> > I had problems using sudo, so I used some other tool to get the admin
> > rights.
> > After that I performed "easy_install ReviewBoard". It worked fine and
> > rb-site is generated in Python25\Scripts directory
> > Next step I do is "rb-site install /siteDir" which gives some error,
> > so I had to explicitly call it as "python rb-site install /siteDir".
> > This started and asked for 1. Domain name, 2. Root path........mysql
> > DB credentials. In last it asked for administrator account for
> > configuring ReviewBoard.
> > After I enter these details, it shows "Installing the Site ... " . But
> > it fails with an error
>
> > -------------------------------------------------------------------------------
>
> > Building site directories ... Traceback (most recent call last):
> >  File "rb-site", line 5, in <module>
> >    pkg_resources.run_script('reviewboard==0.9.dev-20081127', 'rb-
> > site')
> >  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 448, in
> > run_script
>
> >    self.require(requires)[0].run_script(script_name, ns)
> >  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 1166, in
> > run_scrip
> > t
> >    execfile(script_filename, namespace, namespace)
> >  File "c:\python25\lib\site-packages\reviewboard-0.9.dev_20081127-
> > py2.5.egg\EGG
> > -INFO\scripts\rb-site", line 1166, in <module>
> >    main(sys.argv[1:])
> >  File "c:\python25\lib\site-packages\reviewboard-0.9.dev_20081127-
> > py2.5.egg\EGG
> > -INFO\scripts\rb-site", line 1161, in main
> >    command.run()
> >  File "c:\python25\lib\site-packages\reviewboard-0.9.dev_20081127-
> > py2.5.egg\EGG
> > -INFO\scripts\rb-site", line 802, in run
> >    self.show_install_status()
> >  File "c:\python25\lib\site-packages\reviewboard-0.9.dev_20081127-
> > py2.5.egg\EGG
> > -INFO\scripts\rb-site", line 1019, in show_install_status
> >    site.rebuild_site_directory)
> >  File "c:\python25\lib\site-packages\reviewboard-0.9.dev_20081127-
> > py2.5.egg\EGG
> > -INFO\scripts\rb-site", line 462, in step
> >    func()
> >  File "c:\python25\lib\site-packages\reviewboard-0.9.dev_20081127-
> > py2.5.egg\EGG
> > -INFO\scripts\rb-site", line 103, in rebuild_site_directory
> >    os.path.join(media_base, media_dir))
> >  File "c:\python25\lib\site-packages\reviewboard-0.9.dev_20081127-
> > py2.5.egg\EGG
> > -INFO\scripts\rb-site", line 245, in link_pkg_dir
> >    os.symlink(src_dir, dest_dir)
> > AttributeError: 'module' object has no attribute 'symlink'
>
> > -------------------------------------------------------------------
>
> > Kindly help me in setting it up and how it can be used.
>
> > Thanks,
> > Kunal
>
> > On Nov 23, 4:12 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> > > Hi everyone.
>
> > > We've just finished moving over to a new way of installing and upgrading
> > > Review Board.
>
> > > Review Board, Djblets, Django-Evolution, PIL and Django are now packaged
> > up
> > > in such a way where you can install or upgrade them all with one command.
>
> > > Site installation and upgrading is also handled through a new tool,
> > rb-site.
>
> > > The new installation procedure is documented athttp://
> >www.review-board.org/wiki/GettingStarted. It includes information on
> > > migrating from existing installations.
>
> > > To sum up the new changes, basic installation has mostly become:
>
> > >    $ sudo easy_install ReviewBoard
> > >    $ sudo rb-site install /var/www/reviews.example.com
>
> > > For the most part, nothing too fundamental has changed. It's just easier
> > to
> > > get going now. We are, however, considering some large changes within the
> > > SVN tree that would break sites running out of the tree. This will
> > probably
> > > happen after 1.0, but may happen sooner if we decide it must be done. We
> > > recommend that everybody makes an effort to move to the new install
> > method.
>
> > > I've done a number of test installs without any problems, but if you hit
> > an
> > > issue, please let me know and I'll work to address it.
>
> > > Christian
>
> > > --
> > > Christian Hammond - [EMAIL PROTECTED]
> > > VMware, Inc.
--~--~---------~--~----~------------~-------~--~----~
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