Re: Not able to install rb-site on lubuntu 16.04

2016-05-31 Thread Rahaman Mirza
Hi Christian,

Tried Bitnami installer, installed successfully.
More info: https://bitnami.com/stack/reviewboard

Thanks
Mirza

On Tue, May 31, 2016 at 8:32 PM, Александр Нечаев 
wrote:

>
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ...
> [!] Unable to execute the manager command syncdb: No module named apps
>
> [!] Unable to execute the manager command registerscmtools: cannot
> import name signals
> OK
> Performing migrations ...
> [!] Unable to execute the manager command evolve: cannot import name
> signals
> OK
> Creating administrator account ... Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==2.5.5', 'console_scripts', 'rb-site')()
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard
>
>
>  /cmdline/rbsite.py", line 1922, in main
> command.run()
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard
>
>
>  /cmdline/rbsite.py", line 1247, in run
> self.show_install_status()
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard
>
>
>  /cmdline/rbsite.py", line 1587, in show_install_status
> site.create_admin_user)
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard
>
>
>  /cmdline/rbsite.py", line 1084, in step
> func()
>   File
> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard
>
>
>  /cmdline/rbsite.py", line 618, in create_admin_user
> self.admin_password)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/
>
>
>  auth/models.py", line 195, in create_superuser
> **extra_fields)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/
>
>
>  auth/models.py", line 186, in _create_user
> user.save(using=self._db)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model
>
>  s/base.py",
> line 545, in save
> force_update=force_update, update_fields=update_fields)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model
>
>  s/base.py",
> line 573, in save_base
> updated = self._save_table(raw, cls, force_insert, force_update,
> using, upda
>
>  te_fields)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model
>
>  s/base.py",
> line 654, in _save_table
> result = self._do_insert(cls._base_manager, using, fields, update_pk,
> raw)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model
>
>  s/base.py",
> line 687, in _do_insert
> using=using, raw=raw)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model
>
>  s/manager.py",
> line 232, in _insert
> return insert_query(self.model, objs, fields, **kwargs)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model
>
>  s/query.py",
> line 1514, in insert_query
> return query.get_compiler(using=using).execute_sql(return_id)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model
>
>
>  s/sql/compiler.py", line 903, in execute_sql
> cursor.execute(sql, params)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backe
>
>  nds/util.py",
> line 53, in execute
> return self.cursor.execute(sql, params)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/utils
>
>  .py", line 99,
> in __exit__
> six.reraise(dj_exc_type, dj_exc_value, traceback)
>   File
> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/backe
>
>  nds/util.py",
> line 53, in execute
> return self.cursor.execute(sql, params)
> django.db.utils.ProgrammingError: relation "auth_user" does not exist
> LINE 1: INSERT INTO "auth_user" ("password", "last_login", "is_super...
>
>
> вторник, 31 мая 2016 г., 17:16:54 UTC+3 пользователь Александр Нечаев
> написал:
>
>> I have the same problem
>> reviewboard 2.5.5
>> OS: OpenSuse13.1
>> django-evolution: 0.7.6
>> python 2.7.6
>> PostgreSQL 9.2.14
>>
>> вторник, 31 мая 2016 г., 12:47:54 UTC+3 пользователь Rahaman Mirza
>> написал:
>>>
>>> Got it, pasted them below,
>>>
>>> mirza-VM:~$ sudo rb-site install /var/www/rb.localhost
>>> Domain Name: rb
>>> Root Path [/]: (blank)
>>> Database Type: 1 (mysql)
>>> Database Name [reviewboard]: re

Bugzilla integration

2016-05-31 Thread Balaji Srinivasan
Hi, is there a way to automatically post to Bugzilla when a review is 
posted or when review comments are published? If we set the bug tracker for 
the repo to bugzilla, we can click through the bug number to the bugzilla 
site, but updates in reviewboard are not posted to the bug automatically. 
Is there a way to turn that on?

Thanks,
Balaji.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Not able to install rb-site on lubuntu 16.04

2016-05-31 Thread Александр Нечаев

* Installing the site...
Building site directories ... OK
Building site configuration files ... OK
Creating database ...
[!] Unable to execute the manager command syncdb: No module named apps

[!] Unable to execute the manager command registerscmtools: cannot
import name signals
OK
Performing migrations ...
[!] Unable to execute the manager command evolve: cannot import name
signals
OK
Creating administrator account ... Traceback (most recent call last):
  File "/usr/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==2.5.5', 'console_scripts', 'rb-site')()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard   


 /cmdline/rbsite.py", line 1922, in main
command.run()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard   


 /cmdline/rbsite.py", line 1247, in run
self.show_install_status()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard   


 /cmdline/rbsite.py", line 1587, in show_install_status
site.create_admin_user)
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard   


 /cmdline/rbsite.py", line 1084, in step
func()
  File 
"/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard   


 /cmdline/rbsite.py", line 618, in create_admin_user
self.admin_password)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/   


 auth/models.py", line 195, in create_superuser
**extra_fields)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/   


 auth/models.py", line 186, in _create_user
user.save(using=self._db)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model   

 s/base.py", 
line 545, in save
force_update=force_update, update_fields=update_fields)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model   

 s/base.py", 
line 573, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, 
upda   

 te_fields)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model   

 s/base.py", 
line 654, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, 
raw)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model   

 s/base.py", 
line 687, in _do_insert
using=using, raw=raw)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model   

 s/manager.py", 
line 232, in _insert
return insert_query(self.model, objs, fields, **kwargs)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model   

 s/query.py", 
line 1514, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/db/model   


 s/sql/compiler.py", line 903, in execute_sql
cursor.execut

Re: Not able to install rb-site on lubuntu 16.04

2016-05-31 Thread Александр Нечаев
I have the same problem
reviewboard 2.5.5
OS: OpenSuse13.1
django-evolution: 0.7.6
python 2.7.6
PostgreSQL 9.2.14

вторник, 31 мая 2016 г., 12:47:54 UTC+3 пользователь Rahaman Mirza написал:
>
> Got it, pasted them below,
>
> mirza-VM:~$ sudo rb-site install /var/www/rb.localhost
> Domain Name: rb
> Root Path [/]: (blank)
> Database Type: 1 (mysql)
> Database Name [reviewboard]: reviewboard
> Database Server [localhost]: localhost
> Database Username: reviewboard
> Database Password: root
> Memcache Server [localhost:11211]: (blank)
> Username [admin]: admin
> Password: admin
> E-Mail Address: @gmail.com
> Company/Organization Name (optional): (blank)
> Allow us to collect support data? [Y/n]: n
>
> Got the same log as in previous thread.
>
> Could you please tell me the stable versions of django, djblets and 
> django_evolution, I will retry.
>
> Thanks
> Mirza
>
> On Tue, May 31, 2016 at 2:12 PM, Christian Hammond  > wrote:
>
>> Hi,
>>
>> For #2, I meant in the rb-site install log you pasted above, there are no 
>> questions being asked about, say, the hostname or administrator 
>> information. I wanted to see if there were parts intentionally left out.
>>
>> Also, how did you install Review Board?
>>
>> Christian
>>
>> -- 
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Mon, May 30, 2016 at 11:43 PM, Rahaman Mirza > > wrote:
>>
>>> Hi Christian,
>>>
>>> Thanks for quick reply, answers inline,
>>>
>>> 1) Can you tell me more about your environment? What OS/distro are you 
>>> using?
>>> LUbuntu 16.04 on VirtualBox
>>>
>>> 2) To verify, that log is leaving out the parts where it asks questions, 
>>> right?
>>> I'm sorry, I didn't get you
>>>
>>> 3) What version of django_evolution are you using?
>>> django_evolution.VERSION = (0, 7, 6, 'final', 0, True)
>>>
>>> 4) Is there a newer version of Django installed anywhere?
>>> Nope, that's a new VM created only for setting up RB, I've followed the 
>>> steps from official documentation
>>>
>>> On Tue, May 31, 2016 at 9:55 AM, Christian Hammond <
>>> chri...@beanbaginc.com > wrote:
>>>
 Hi,

 That's a strange log. Looks possibly like an environmental problem. 
 Some questions to help diagnose this:

 1) Can you tell me more about your environment? What OS/distro are you 
 using?

 2) To verify, that log is leaving out the parts where it asks 
 questions, right?

 3) What version of django_evolution are you using?

 4) Is there a newer version of Django installed anywhere?

 Christian

 -- 
 Christian Hammond
 President/CEO of Beanbag 
 Makers of Review Board 

 On Mon, May 30, 2016 at 1:13 PM, Rahaman Mirza >>> > wrote:

> django.VERSION = (1, 6, 11, 'final', 0)
> djblets.VERSION = (0, 9, 3, u'final', 0, True)
>
> ~$ sudo rb-site install /var/www/rb.localhost
>
> * Installing the site...
> Building site directories ... OK
> Building site configuration files ... OK
> Creating database ... 
> [!] Unable to execute the manager command syncdb: No module named apps
>
> [!] Unable to execute the manager command registerscmtools: cannot
> import name signals
> OK
> Performing migrations ... 
> [!] Unable to execute the manager command evolve: cannot import name
> signals
> OK
> Creating administrator account ... Traceback (most recent call last):
>   File "/usr/local/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==2.5.5', 'console_scripts', 
> 'rb-site')()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1922, in main
> command.run()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1247, in run
> self.show_install_status()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1587, in show_install_status
> site.create_admin_user)
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 1084, in step
> func()
>   File 
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>  
> line 618, in create_admin_user
> self.admin_password)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/auth/models.py",
>  
> line 195, in create_superuser
> **extra_fields)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/auth/models.py",
>  
> line 186, in _create_user

Re: Not able to install rb-site on lubuntu 16.04

2016-05-31 Thread Rahaman Mirza
Got it, pasted them below,

mirza-VM:~$ sudo rb-site install /var/www/rb.localhost
Domain Name: rb
Root Path [/]: (blank)
Database Type: 1 (mysql)
Database Name [reviewboard]: reviewboard
Database Server [localhost]: localhost
Database Username: reviewboard
Database Password: root
Memcache Server [localhost:11211]: (blank)
Username [admin]: admin
Password: admin
E-Mail Address: @gmail.com
Company/Organization Name (optional): (blank)
Allow us to collect support data? [Y/n]: n

Got the same log as in previous thread.

Could you please tell me the stable versions of django, djblets and
django_evolution, I will retry.

Thanks
Mirza

On Tue, May 31, 2016 at 2:12 PM, Christian Hammond  wrote:

> Hi,
>
> For #2, I meant in the rb-site install log you pasted above, there are no
> questions being asked about, say, the hostname or administrator
> information. I wanted to see if there were parts intentionally left out.
>
> Also, how did you install Review Board?
>
> Christian
>
> --
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Mon, May 30, 2016 at 11:43 PM, Rahaman Mirza  wrote:
>
>> Hi Christian,
>>
>> Thanks for quick reply, answers inline,
>>
>> 1) Can you tell me more about your environment? What OS/distro are you
>> using?
>> LUbuntu 16.04 on VirtualBox
>>
>> 2) To verify, that log is leaving out the parts where it asks questions,
>> right?
>> I'm sorry, I didn't get you
>>
>> 3) What version of django_evolution are you using?
>> django_evolution.VERSION = (0, 7, 6, 'final', 0, True)
>>
>> 4) Is there a newer version of Django installed anywhere?
>> Nope, that's a new VM created only for setting up RB, I've followed the
>> steps from official documentation
>>
>> On Tue, May 31, 2016 at 9:55 AM, Christian Hammond <
>> christ...@beanbaginc.com> wrote:
>>
>>> Hi,
>>>
>>> That's a strange log. Looks possibly like an environmental problem. Some
>>> questions to help diagnose this:
>>>
>>> 1) Can you tell me more about your environment? What OS/distro are you
>>> using?
>>>
>>> 2) To verify, that log is leaving out the parts where it asks questions,
>>> right?
>>>
>>> 3) What version of django_evolution are you using?
>>>
>>> 4) Is there a newer version of Django installed anywhere?
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Mon, May 30, 2016 at 1:13 PM, Rahaman Mirza  wrote:
>>>
 django.VERSION = (1, 6, 11, 'final', 0)
 djblets.VERSION = (0, 9, 3, u'final', 0, True)

 ~$ sudo rb-site install /var/www/rb.localhost

 * Installing the site...
 Building site directories ... OK
 Building site configuration files ... OK
 Creating database ...
 [!] Unable to execute the manager command syncdb: No module named apps

 [!] Unable to execute the manager command registerscmtools: cannot
 import name signals
 OK
 Performing migrations ...
 [!] Unable to execute the manager command evolve: cannot import name
 signals
 OK
 Creating administrator account ... Traceback (most recent call last):
   File "/usr/local/bin/rb-site", line 9, in 
 load_entry_point('ReviewBoard==2.5.5', 'console_scripts',
 'rb-site')()
   File
 "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 line 1922, in main
 command.run()
   File
 "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 line 1247, in run
 self.show_install_status()
   File
 "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 line 1587, in show_install_status
 site.create_admin_user)
   File
 "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 line 1084, in step
 func()
   File
 "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
 line 618, in create_admin_user
 self.admin_password)
   File
 "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/auth/models.py",
 line 195, in create_superuser
 **extra_fields)
   File
 "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/auth/models.py",
 line 186, in _create_user
 user.save(using=self._db)
   File
 "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/base.py",
 line 545, in save
 force_update=force_update, update_fields=update_fields)
   File
 "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/base.py",
 line 573, in save_base
 updated = self._save_table(raw, cls, force_insert, force_update

Re: rb-site upgrade fails

2016-05-31 Thread 'Rob Backhurst' via reviewboard
Ahaa, that looks better...

>>> print reviewboard.__file__
/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/__init__.pyc

Thanks
Rob

On Tuesday, 31 May 2016 09:44:08 UTC+1, Christian Hammond wrote:
>
> Sorry, typo. Should have been reviewboard.__file__
>
> (That's two underscores on each side.)
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst  > wrote:
>
>> Hi Christian,
>>
>> Here you go...
>>
>> # python
>> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import reviewboard
>> >>> print reviewboard.__file_
>> Traceback (most recent call last):
>>   File "", line 1, in 
>> AttributeError: 'module' object has no attribute '__file_'
>> >>>
>>
>> Obviously something not quite right with the installation..?
>>
>> Thanks
>> Rob
>>
>>
>> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>>>
>>> Hi Rob,
>>>
>>> Can you run:
>>>
>>> $ python
>>> >>> import reviewboard
>>> >>> print reviewboard.__file_
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst  
>>> wrote:
>>>
 Hi Christian,

 Sorry for the slow reply.

 It was installed using easy_install, then the DB restored from our live 
 reviewboard server.
 There is no reviewboard dir when running the rb-site upgrade.

 Thanks
 Rob

 On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>
> Hi Rob,
>
> How was Review Board installed? It looks like there's some weirdness 
> going on with the module.
>
> Can you verify that there's no "reviewboard" directory in the 
> directory you're in when running rb-site upgrade?
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
> revie...@googlegroups.com> wrote:
>
>> Hi,
>>
>> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site 
>> upgrade' fails...
>>
>> # rb-site upgrade /var/www/my-site/
>> Traceback (most recent call last):
>>   File "/usr/bin/rb-site", line 9, in 
>> load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 
>> 'rb-site')()
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1922, in main
>> command.run()
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 1704, in run
>> diff_dedup_needed = site.get_diff_dedup_needed()
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
>>  
>> line 477, in get_diff_dedup_needed
>> from reviewboard.diffviewer.models import FileDiff
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
>>  
>> line 14, in 
>> from reviewboard.diffviewer.managers import 
>> (RawFileDiffDataManager,
>>   File 
>> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
>>  
>> line 19, in 
>> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
>> FileNotFoundError
>> ImportError: No module named scmtools.core
>>
>> This is running on RHEL 6.7.
>> Doe anyone have any ideas how to fix this?
>>
>> Thanks
>> Rob
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> 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/d/optout.
>>
>
>
>>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group

Re: Table to view svn logs in reviewboard

2016-05-31 Thread Christian Hammond
Hi John,

This is not stored in the database. We talk to the repository and query the
list of branches and commits.

This information is available via the API using the following resources:

https://www.reviewboard.org/docs/manual/2.5/webapi/2.0/resources/repository-branches/

https://www.reviewboard.org/docs/manual/2.5/webapi/2.0/resources/repository-commits/

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Tue, May 31, 2016 at 1:49 AM, john levin  wrote:

>
> Hi Chris,
>
> For Creating a New review in GUI for existing commits, we could able to
> get the svn commit details in GUI (Chossing the repo will list the branches
> and logs). I just want to know how it stores the details in Reviewboard.
>
> Thanks
> John
>
> On Tuesday, May 31, 2016 at 2:13:27 PM UTC+5:30, Christian Hammond wrote:
>>
>> Hi John,
>>
>> I'm not sure exactly what you're looking for. We don't replicate the
>> results of `svn log`, if that's what you're looking for.
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Mon, May 30, 2016 at 11:53 PM, john levin  wrote:
>>
>>> Hi,
>>>
>>> May i know which table stores the svn logs in reviewboard DB ?
>>>
>>> Thanks
>>> John
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> 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/d/optout.
>>>
>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Table to view svn logs in reviewboard

2016-05-31 Thread john levin

Hi Chris,

For Creating a New review in GUI for existing commits, we could able to get 
the svn commit details in GUI (Chossing the repo will list the branches and 
logs). I just want to know how it stores the details in Reviewboard.

Thanks
John

On Tuesday, May 31, 2016 at 2:13:27 PM UTC+5:30, Christian Hammond wrote:
>
> Hi John,
>
> I'm not sure exactly what you're looking for. We don't replicate the 
> results of `svn log`, if that's what you're looking for.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Mon, May 30, 2016 at 11:53 PM, john levin  > wrote:
>
>> Hi,
>>
>> May i know which table stores the svn logs in reviewboard DB ? 
>>
>> Thanks
>> John
>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> 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/d/optout.
>>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: rb-site upgrade fails

2016-05-31 Thread Christian Hammond
Sorry, typo. Should have been reviewboard.__file__

(That's two underscores on each side.)

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Tue, May 31, 2016 at 1:37 AM, Rob Backhurst 
wrote:

> Hi Christian,
>
> Here you go...
>
> # python
> Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import reviewboard
> >>> print reviewboard.__file_
> Traceback (most recent call last):
>   File "", line 1, in 
> AttributeError: 'module' object has no attribute '__file_'
> >>>
>
> Obviously something not quite right with the installation..?
>
> Thanks
> Rob
>
>
> On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>>
>> Hi Rob,
>>
>> Can you run:
>>
>> $ python
>> >>> import reviewboard
>> >>> print reviewboard.__file_
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst 
>> wrote:
>>
>>> Hi Christian,
>>>
>>> Sorry for the slow reply.
>>>
>>> It was installed using easy_install, then the DB restored from our live
>>> reviewboard server.
>>> There is no reviewboard dir when running the rb-site upgrade.
>>>
>>> Thanks
>>> Rob
>>>
>>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:

 Hi Rob,

 How was Review Board installed? It looks like there's some weirdness
 going on with the module.

 Can you verify that there's no "reviewboard" directory in the directory
 you're in when running rb-site upgrade?

 Christian

 --
 Christian Hammond
 President/CEO of Beanbag 
 Makers of Review Board 

 On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
 revie...@googlegroups.com> wrote:

> Hi,
>
> I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site
> upgrade' fails...
>
> # rb-site upgrade /var/www/my-site/
> Traceback (most recent call last):
>   File "/usr/bin/rb-site", line 9, in 
> load_entry_point('ReviewBoard==2.5.4', 'console_scripts',
> 'rb-site')()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1922, in main
> command.run()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 1704, in run
> diff_dedup_needed = site.get_diff_dedup_needed()
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
> line 477, in get_diff_dedup_needed
> from reviewboard.diffviewer.models import FileDiff
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
> line 14, in 
> from reviewboard.diffviewer.managers import
> (RawFileDiffDataManager,
>   File
> "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
> line 19, in 
> from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN,
> FileNotFoundError
> ImportError: No module named scmtools.core
>
> This is running on RHEL 6.7.
> Doe anyone have any ideas how to fix this?
>
> Thanks
> Rob
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>


>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Table to view svn logs in reviewboard

2016-05-31 Thread Christian Hammond
Hi John,

I'm not sure exactly what you're looking for. We don't replicate the
results of `svn log`, if that's what you're looking for.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, May 30, 2016 at 11:53 PM, john levin  wrote:

> Hi,
>
> May i know which table stores the svn logs in reviewboard DB ?
>
> Thanks
> John
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> 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/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.


Re: Not able to install rb-site on lubuntu 16.04

2016-05-31 Thread Christian Hammond
Hi,

For #2, I meant in the rb-site install log you pasted above, there are no
questions being asked about, say, the hostname or administrator
information. I wanted to see if there were parts intentionally left out.

Also, how did you install Review Board?

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Mon, May 30, 2016 at 11:43 PM, Rahaman Mirza  wrote:

> Hi Christian,
>
> Thanks for quick reply, answers inline,
>
> 1) Can you tell me more about your environment? What OS/distro are you
> using?
> LUbuntu 16.04 on VirtualBox
>
> 2) To verify, that log is leaving out the parts where it asks questions,
> right?
> I'm sorry, I didn't get you
>
> 3) What version of django_evolution are you using?
> django_evolution.VERSION = (0, 7, 6, 'final', 0, True)
>
> 4) Is there a newer version of Django installed anywhere?
> Nope, that's a new VM created only for setting up RB, I've followed the
> steps from official documentation
>
> On Tue, May 31, 2016 at 9:55 AM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> Hi,
>>
>> That's a strange log. Looks possibly like an environmental problem. Some
>> questions to help diagnose this:
>>
>> 1) Can you tell me more about your environment? What OS/distro are you
>> using?
>>
>> 2) To verify, that log is leaving out the parts where it asks questions,
>> right?
>>
>> 3) What version of django_evolution are you using?
>>
>> 4) Is there a newer version of Django installed anywhere?
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Mon, May 30, 2016 at 1:13 PM, Rahaman Mirza  wrote:
>>
>>> django.VERSION = (1, 6, 11, 'final', 0)
>>> djblets.VERSION = (0, 9, 3, u'final', 0, True)
>>>
>>> ~$ sudo rb-site install /var/www/rb.localhost
>>>
>>> * Installing the site...
>>> Building site directories ... OK
>>> Building site configuration files ... OK
>>> Creating database ...
>>> [!] Unable to execute the manager command syncdb: No module named apps
>>>
>>> [!] Unable to execute the manager command registerscmtools: cannot
>>> import name signals
>>> OK
>>> Performing migrations ...
>>> [!] Unable to execute the manager command evolve: cannot import name
>>> signals
>>> OK
>>> Creating administrator account ... Traceback (most recent call last):
>>>   File "/usr/local/bin/rb-site", line 9, in 
>>> load_entry_point('ReviewBoard==2.5.5', 'console_scripts',
>>> 'rb-site')()
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>>> line 1922, in main
>>> command.run()
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>>> line 1247, in run
>>> self.show_install_status()
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>>> line 1587, in show_install_status
>>> site.create_admin_user)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>>> line 1084, in step
>>> func()
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg/reviewboard/cmdline/rbsite.py",
>>> line 618, in create_admin_user
>>> self.admin_password)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/auth/models.py",
>>> line 195, in create_superuser
>>> **extra_fields)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/contrib/auth/models.py",
>>> line 186, in _create_user
>>> user.save(using=self._db)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/base.py",
>>> line 545, in save
>>> force_update=force_update, update_fields=update_fields)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/base.py",
>>> line 573, in save_base
>>> updated = self._save_table(raw, cls, force_insert, force_update,
>>> using, update_fields)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/base.py",
>>> line 654, in _save_table
>>> result = self._do_insert(cls._base_manager, using, fields,
>>> update_pk, raw)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/base.py",
>>> line 687, in _do_insert
>>> using=using, raw=raw)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/manager.py",
>>> line 232, in _insert
>>> return insert_query(self.model, objs, fields, **kwargs)
>>>   File
>>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/query.py",
>>> line 1514, in insert_query
>>> return query.get_compiler(using=using).execute_sql(return_id)
>>>   File
>>

Re: rb-site upgrade fails

2016-05-31 Thread 'Rob Backhurst' via reviewboard
Hi Christian,

Here you go...

# python
Python 2.6.6 (r266:84292, May 22 2015, 08:34:51)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import reviewboard
>>> print reviewboard.__file_
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'module' object has no attribute '__file_'
>>>

Obviously something not quite right with the installation..?

Thanks
Rob


On Sunday, 29 May 2016 05:53:10 UTC+1, Christian Hammond wrote:
>
> Hi Rob,
>
> Can you run:
>
> $ python
> >>> import reviewboard
> >>> print reviewboard.__file_
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Fri, May 27, 2016 at 3:13 AM, Rob Backhurst  > wrote:
>
>> Hi Christian,
>>
>> Sorry for the slow reply.
>>
>> It was installed using easy_install, then the DB restored from our live 
>> reviewboard server.
>> There is no reviewboard dir when running the rb-site upgrade.
>>
>> Thanks
>> Rob
>>
>> On Friday, 13 May 2016 01:09:07 UTC+1, Christian Hammond wrote:
>>>
>>> Hi Rob,
>>>
>>> How was Review Board installed? It looks like there's some weirdness 
>>> going on with the module.
>>>
>>> Can you verify that there's no "reviewboard" directory in the directory 
>>> you're in when running rb-site upgrade?
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag 
>>> Makers of Review Board 
>>>
>>> On Thu, May 12, 2016 at 3:57 AM, 'Rob Backhurst' via reviewboard <
>>> revie...@googlegroups.com> wrote:
>>>
 Hi,

 I'm doing a test upgrade from ReviewBoard 1.7.9 to 2.5.4 but 'rb-site 
 upgrade' fails...

 # rb-site upgrade /var/www/my-site/
 Traceback (most recent call last):
   File "/usr/bin/rb-site", line 9, in 
 load_entry_point('ReviewBoard==2.5.4', 'console_scripts', 
 'rb-site')()
   File 
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
  
 line 1922, in main
 command.run()
   File 
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
  
 line 1704, in run
 diff_dedup_needed = site.get_diff_dedup_needed()
   File 
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/cmdline/rbsite.py",
  
 line 477, in get_diff_dedup_needed
 from reviewboard.diffviewer.models import FileDiff
   File 
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/models.py",
  
 line 14, in 
 from reviewboard.diffviewer.managers import (RawFileDiffDataManager,
   File 
 "/usr/lib/python2.6/site-packages/ReviewBoard-2.5.4-py2.6.egg/reviewboard/diffviewer/managers.py",
  
 line 19, in 
 from reviewboard.scmtools.core import PRE_CREATION, UNKNOWN, 
 FileNotFoundError
 ImportError: No module named scmtools.core

 This is running on RHEL 6.7.
 Doe anyone have any ideas how to fix this?

 Thanks
 Rob

 -- 
 Supercharge your Review Board with Power Pack: 
 https://www.reviewboard.org/powerpack/
 Want us to host Review Board for you? Check out RBCommons: 
 https://rbcommons.com/
 Happy user? Let us know! https://www.reviewboard.org/users/
 --- 
 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/d/optout.

>>>
>>>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
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/d/optout.