I have upgraded RB to 1.5 by running easy_install ReviewBorad command..

Now when i am going to create a site, i got following error:

C:\Python25\Scripts>python rb-site install e:\private\reviewboard
Traceback (most recent call last):
  File "rb-site", line 4, in <module>
    import pkg_resources
  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 2566, in
<module>
    parse_requirements(__requires__), Environment()
  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 524, in
resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: reviewboard==1.0alpha2

It still finding older RB..How to resolve this issue?

On Mon, Oct 4, 2010 at 12:16 PM, Christian Hammond <chip...@chipx86.com>wrote:

> You're installing 1.0 alpha 2, which was over a year and a half ago. Where
> did you even get that version?
>
> You should follow our installation instructions to get the latest version,
> 1.5.
>
> http://www.reviewboard.org/docs/manual/dev/admin/installation/windows/
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
>   On Sun, Oct 3, 2010 at 11:27 PM, mrunal lohar <loha...@gmail.com> wrote:
>
>>
>> Hello all,
>>
>> I am new to review board. Installing it first time. While creating
>> rb-site, i got following errors. Can anyone tell me how to resolve it ?
>>
>> * Installing the site...
>> Building site directories ... OK
>> Building site configuration files ... OK
>> Creating database ... Traceback (most recent call last):
>>   File "C:\Python25\Scripts\rb-site", line 5, in <module>
>>     pkg_resources.run_script('ReviewBoard==1.0alpha2', '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_script
>>     execfile(script_filename, namespace, namespace)
>>   File
>> "c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site",
>> line 1283, in <module>
>>     main(sys.argv[1:])
>>   File
>> "c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site",
>> line 1278, in main
>>     command.run()
>>   File
>> "c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site",
>> line 915, in run
>>     self.show_install_status()
>>   File
>> "c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site",
>> line 1137, in show_install_status
>>     site.sync_database)
>>   File
>> "c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site",
>> line 522, in step
>>     func()
>>   File
>> "c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site",
>> line 227, in sync_database
>>     self.run_manage_command("syncdb", ["--noinput"])
>>   File
>> "c:\python25\lib\site-packages\reviewboard-1.0alpha2-py2.5.egg\EGG-INFO\scripts\rb-site",
>> line 265, in run_manage_command
>>     execute_manager(reviewboard.settings, [__file__, cmd] + params)
>>   File "C:\Python25\Lib\site-packages\django\core\management\__init__.py",
>> line 340, in execute_manager
>>     utility.execute()
>>   File "C:\Python25\Lib\site-packages\django\core\management\__init__.py",
>> line 295, in execute
>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File "C:\Python25\Lib\site-packages\django\core\management\base.py",
>> line 192, in run_from_argv
>>     self.execute(*args, **options.__dict__)
>>   File "C:\Python25\Lib\site-packages\django\core\management\base.py",
>> line 219, in execute
>>     output = self.handle(*args, **options)
>>   File "C:\Python25\Lib\site-packages\django\core\management\base.py",
>> line 348, in handle
>>     return self.handle_noargs(**options)
>>   File
>> "C:\Python25\Lib\site-packages\django\core\management\commands\syncdb.py",
>> line 101, in handle_noargs
>>     emit_post_sync_signal(created_models, verbosity, interactive)
>>   File "C:\Python25\Lib\site-packages\django\core\management\sql.py", line
>> 205, in emit_post_sync_signal
>>     interactive=interactive)
>>   File "C:\Python25\Lib\site-packages\django\dispatch\dispatcher.py", line
>> 148, in send
>>     response = receiver(signal=self, sender=sender, **named)
>>   File
>> "c:\python25\lib\site-packages\ReviewBoard-1.0alpha2-py2.5.egg\reviewboard\admin\management\sites.py",
>> line 22, in init_siteconfig
>>     site = Site.objects.get_current()
>>   File "C:\Python25\Lib\site-packages\django\contrib\sites\models.py",
>> line 22, in get_current
>>     current_site = self.get(pk=sid)
>>   File "C:\Python25\Lib\site-packages\django\db\models\manager.py", line
>> 93, in get
>>     return self.get_query_set().get(*args, **kwargs)
>>   File "C:\Python25\Lib\site-packages\django\db\models\query.py", line
>> 309, in get
>>     % self.model._meta.object_name)
>> django.contrib.sites.models.DoesNotExist: Site matching query does not
>> exist.
>>
>> Need it urgently.
>>
>>
>> Thanks,
>> Mrunal
>>
>> --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to