Re: Error running rb-site install

2013-05-27 Thread adinkale
See inline

בתאריך יום שני, 27 במאי 2013 07:13:00 UTC+3, מאת Christian Hammond:
>
> Hi, 
>
> What version of paramiko is on your server? 
>  Not sure how to check this. I found a file 
> under /usr/share/doc/python-paramiko/docs/paramiko-module.html where the 
> version is 1.7.7.1

 

> Can you tell me how you installed it? And how you installed the 
> ReviewBoard package? 
>
I followed the guide in 
http://www.reviewboard.org/docs/manual/dev/admin/installation/linux/, for 
ReviewBoard installation I run 'easy_install ReviewBoard'  

>
> Also, can you verify that paramiko was installed for Python 2.7? 
>
How do I check this? 

>
> Thanks, 
>
> Christian 
>
>
> On May 26, 2013, at 1:12, adinkale > 
> wrote: 
>
> > Hi, 
> > I have Ubuntu, and I have followed installation instructions 
> > successfully until I reached the part I need to run rb-site install: 
> > rb-site install /var/www/reviews/example.com 
> > 
> > Traceback (most recent call last): 
> >  File "/usr/local/bin/rb-site", line 5, in  
> >from pkg_resources import load_entry_point 
> >  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43- 
> > py2.7.egg/pkg_resources.py", line 2854, in  
> >parse_requirements(__requires__), Environment() 
> >  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43- 
> > py2.7.egg/pkg_resources.py", line 594, in resolve 
> >raise DistributionNotFound(req) 
> > pkg_resources.DistributionNotFound: paramiko>=1.9.0 
> > 
> > I have installed python-paramiko. 
> > 
> > Any advise? 
> > 
> > Thanks, 
> > 
> > -- 
> > 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...@googlegroups.com  
> > For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups "reviewboard" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to reviewboard...@googlegroups.com . 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Error running rb-site install

2013-05-26 Thread Christian Hammond
Hi,

What version of paramiko is on your server?

Can you tell me how you installed it? And how you installed the ReviewBoard 
package?

Also, can you verify that paramiko was installed for Python 2.7?

Thanks,

Christian


On May 26, 2013, at 1:12, adinkale  wrote:

> Hi,
> I have Ubuntu, and I have followed installation instructions
> successfully until I reached the part I need to run rb-site install:
> rb-site install /var/www/reviews/example.com
> 
> Traceback (most recent call last):
>  File "/usr/local/bin/rb-site", line 5, in 
>from pkg_resources import load_entry_point
>  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-
> py2.7.egg/pkg_resources.py", line 2854, in 
>parse_requirements(__requires__), Environment()
>  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-
> py2.7.egg/pkg_resources.py", line 594, in resolve
>raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: paramiko>=1.9.0
> 
> I have installed python-paramiko.
> 
> Any advise?
> 
> Thanks,
> 
> -- 
> 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
> --- 
> You received this message because you are subscribed to the Google Groups 
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Error running rb-site install with ReviewBoard-1.5.7-1.el5 from EPEL

2012-03-16 Thread Stephen Gallagher
On Thu, 2012-03-15 at 15:25 -0700, Christian Hammond wrote:
> Looks like a bug in that version of Review Board. 1.5.x is pretty old.
> Any chance you can upgrade? Maybe install without RPMs.

This is http://code.google.com/p/reviewboard/issues/detail?id=2387 which
I reported back in November. From my bug report:


Evolutions fail with an error: Settings has no member 'DATABASES'
reviewboard/changedescs/evolutions/__init__.py is not compatible with
Django 1.1.x, only with 1.2.x and later. This should be easy to detect
(check for the existence of Settings.DATABASE_ENGINE).

We're currently negotiating an upgrade to Django 1.3 or 1.4 in EPEL 6,
but EPEL 5 is unlikely to see a similar upgrade in the immediate
future.

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


Re: Error running rb-site install with ReviewBoard-1.5.7-1.el5 from EPEL

2012-03-15 Thread Christian Hammond
Looks like a bug in that version of Review Board. 1.5.x is pretty old. Any
chance you can upgrade? Maybe install without RPMs.

Christian

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


On Thu, Mar 15, 2012 at 2:43 PM, James Sweeny wrote:

> Does anyone know where rb-site is ultimately getting the database settings
> from? I get the error below when trying to install ReviewBoard after
> installing the ReviewBoard-1.5.7-1.el5 rpm from EPEL5. The site does seem
> to install, but no user accounts are created (including the administrator),
> and probably a bunch of other database stuff I'm not yet aware of.
>
> Performing migrations ... Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 7, in ?
> sys.exit(
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 1673, in main
> command.run()
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 1214, in run
> self.show_install_status()
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 1486, in show_install_status
> site.migrate_database)
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 714, in step
> func()
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 346, in migrate_database
> self.run_manage_command("evolve", ["--noinput", "--execute"])
>   File "/usr/lib/python2.4/site-packages/reviewboard/cmdline/rbsite.py",
> line 397, in run_manage_command
> execute_manager(reviewboard.settings, [__file__, cmd] + params)
>   File
> "/usr/lib/python2.4/site-packages/django/core/management/__init__.py", line
> 362, in execute_manager
> utility.execute()
>   File
> "/usr/lib/python2.4/site-packages/django/core/management/__init__.py", line
> 303, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
> line 195, in run_from_argv
> self.execute(*args, **options.__dict__)
>   File "/usr/lib/python2.4/site-packages/django/core/management/base.py",
> line 222, in execute
> output = self.handle(*args, **options)
>   File
> "/usr/lib/python2.4/site-packages/django_evolution/management/commands/evolve.py",
> line 60, in handle
> self.evolve(*app_labels, **options)
>   File
> "/usr/lib/python2.4/site-packages/django_evolution/management/commands/evolve.py",
> line 123, in evolve
> temp_mutations = get_mutations(app, evolutions, database)
>   File "/usr/lib/python2.4/site-packages/django_evolution/evolve.py", line
> 52, in get_mutations
> evolution_module = __import__(module_name, {}, {}, [''])
>   File
> "/usr/lib/python2.4/site-packages/reviewboard/changedescs/evolutions/__init__.py",
> line 6, in ?
> if settings.DATABASES['default']['ENGINE'].endswith('mysql'):
>   File "/usr/lib/python2.4/site-packages/django/utils/functional.py", line
> 276, in __getattr__
> return getattr(self._wrapped, name)
> AttributeError: 'Settings' object has no attribute 'DATABASES'
>
>
> Any assistance would be greatly appreciated.
>
> Thanks,
>
> - James
>
> --
> 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

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