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

2016-06-02 Thread Александр Нечаев
I did all again:

1) sudo easy_install -U ReviewBoard
Searching for ReviewBoard
Reading https://pypi.python.org/simple/ReviewBoard/
Best match: ReviewBoard 2.5.5
Downloading 
https://pypi.python.org/packages/4c/48/fa7bb2e89cfa9ea149eae55c9db7a   

  
2ed01082314f8d3278fdbbc5f418b8b/ReviewBoard-2.5.5-py2.7.egg#md5=d40fdf8645cc6a60
 


43fb3b270e579554
Processing ReviewBoard-2.5.5-py2.7.egg
removing '/usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg' 
(and eve   

  rything under it)
creating /usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg
Extracting ReviewBoard-2.5.5-py2.7.egg to /usr/lib/python2.7/site-packages
ReviewBoard 2.5.5 is already the active version in easy-install.pth
Installing rbssh script to /usr/bin
Installing rb-site script to /usr/bin

Installed /usr/lib/python2.7/site-packages/ReviewBoard-2.5.5-py2.7.egg
Reading http://downloads.reviewboard.org/mirror/
Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
Processing dependencies for ReviewBoard
Finished processing dependencies for ReviewBoard
 

2)sudo rb-site install /var/www/**.reviews.board


* Welcome to the Review Board site installation wizard

This will prepare a Review Board site installation in:

/var/www/**.reviews.board

We need to know a few things before we can prepare your site for
installation. This will only take a few minutes.


* Make sure you have the modules you need

Depending on your installation, you may need certain Python
modules and servers that are missing.

If you need support for any of the following, you will need to
install the necessary modules and restart the install.

Databases (optional):
* MySQL (MySQLdb)


* What's the host name for this site?

This should be the fully-qualified host name without the http://,
port or path.

Domain Name: **


* What URL path points to Review Board?

Typically, Review Board exists at the root of a URL. For example,
http://reviews.example.com/. In this case, you would specify "/".

However, if you want to listen to, say,
http://example.com/reviews/, you can specify "/reviews/".

Note that this is the path relative to the domain and should not
include the domain name.

The default is /

Root Path [/]: /reviewboard


* What database type will you be using?

You can type either the name or the number from the list below.

(1) postgresql
(2) sqlite3 (not supported for production use)

Database Type: 1


* What database name should Review Board use?

NOTE: You need to create this database and grant user modification
rights before continuing. See your database documentation for more
information.

The default is reviewboard

Database Name [reviewboard]:


* What is the database server's address?

This should be specified in hostname:port form. The port is
optional if you're using a standard port for the database type.

The default is localhost

Database Server [localhost]:


* What is the login and password for this database?

This must be a user that has table creation and modification
rights on the database you already specified.

Database Username: reviewboard

Database Password:

Confirm Database Password:


* What memcached host should be used?

This is in the format of hostname:port

The default is localhost:11211

Memcache Server [localhost:11211]:


* Create an administrator account

To configure Review Board, you'll need an administrator account.
It is advised to have one administrator and then use that account
to grant administrator permissions to your personal user account.

If you plan to use NIS or LDAP, use an account name other than
your NIS/LDAP account so as to prevent conflicts.

The default is admin

Username [admin]: admin

Password:

Confirm Password:

E-Mail Address: reviewboard@**.ru

Company/Organization Name (optional): **


* Enable collection of data for better support

We would like to periodically collect data and statistics about
your installation to provide a better support experience for you
and your users.

The data collected includes basic information such as your company
name, the version of Review Board, and the size of your install.
It does NOT include confidential data such as source code. Data
collected never leaves our server and is never given to any third
parties for any 

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

2016-06-02 Thread Christian Hammond
Can you run:

rb-site manage /var/www/review.cuitrip.com syncdb

And show me what happens?

Christian

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

On Wed, Jun 1, 2016 at 11:46 PM,  wrote:

>
> Hi Christian,
>
> Below please  check the details.
>
> ==beginning of console output
>
> root@ubuntu-wefind:/var/www# apt-get install python-setuptools
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> python-setuptools is already the newest version.
>
> 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
>
> root@ubuntu-wefind:/var/www# apt-get install python-dev
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> python-dev is already the newest version.
>
> 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
>
> root@ubuntu-wefind:/var/www# apt-get install memcached
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> memcached is already the newest version.
>
> 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
>
> root@ubuntu-wefind:/var/www# easy_install python-memcached
>
> Searching for python-memcached
>
> Best match: python-memcached 1.58
>
> Processing python_memcached-1.58-py2.7.egg
>
> python-memcached 1.58 is already the active version in easy-install.pth
>
>
> Using
> /usr/local/lib/python2.7/dist-packages/python_memcached-1.58-py2.7.egg
>
> Processing dependencies for python-memcached
>
> Finished processing dependencies for python-memcached
>
> root@ubuntu-wefind:/var/www# apt-get install patch
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> patch is already the newest version.
>
> 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
>
> root@ubuntu-wefind:/var/www# easy_install ReviewBoard
>
> Searching for ReviewBoard
>
> Best match: ReviewBoard 2.5.5
>
> Processing ReviewBoard-2.5.5-py2.7.egg
>
> ReviewBoard 2.5.5 is already the active version in easy-install.pth
>
> Installing rbssh script to /usr/local/bin
>
> Installing rb-site script to /usr/local/bin
>
>
> Using /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.5.5-py2.7.egg
>
> Processing dependencies for ReviewBoard
>
> Finished processing dependencies for ReviewBoard
>
> root@ubuntu-wefind:/var/www# easy_install mysql-python
>
> Searching for mysql-python
>
> Best match: MySQL-python 1.2.3
>
> Adding MySQL-python 1.2.3 to easy-install.pth file
>
>
> Using /usr/lib/python2.7/dist-packages
>
> Processing dependencies for mysql-python
>
> Finished processing dependencies for mysql-python
>
> root@ubuntu-wefind:/var/www# apt-get install python-mysqldb
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> python-mysqldb is already the newest version.
>
> 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
>
> root@ubuntu-wefind:/var/www# apt-get install subversion python-svn
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> python-svn is already the newest version.
>
> subversion is already the newest version.
>
> 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
>
> root@ubuntu-wefind:/var/www# mysql -u root -p
>
> Enter password:
>
> Welcome to the MySQL monitor.  Commands end with ; or \g.
>
> Your MySQL connection id is 19116
>
> Server version: 5.6.24 Source distribution
>
>
> Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights
> reserved.
>
>
> Oracle is a registered trademark of Oracle Corporation and/or its
>
> affiliates. Other names may be trademarks of their respective
>
> owners.
>
>
> Type 'help;' or '\h' for help. Type '\c' to clear the current input
> statement.
>
>
> mysql> use reviewboard;
>
> Database changed
>
> mysql> show tables;
>
> Empty set (0.00 sec)
>
>
> mysql> exit
>
> Bye
>
> root@ubuntu-wefind:/var/www# ls
>
> root@ubuntu-wefind:/var/www# rb-site install review.cuitrip.com
>
>
>
> * Welcome to the Review Board site installation wizard
>
>
> This will prepare a Review Board site installation in:
>
>
> /var/www/review.cuitrip.com
>
>
> We need to know a few things before we can prepare your site for
>
> installation. This will only take a few minutes.
>
>
>
> * Make sure you have the modules you need
>
>
> Depending on your installation, you may need certain Python
>
> modules and servers that are missing.
>
>
> If you need support for any of the following, you will need to
>
> install the necessary modules and restart the install.
>
>
> Databases (optional):
>
> * PostgreSQL (psycopg2)
>
>
>
> * What's the host name for this site?
>
>
> This should be the fully-qualified host name without the http://,
>
> port or path.
>
>
> Domain Name: 

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

2016-06-02 Thread edonwei
Sure. Actually I installed review board step by step following the document.

My environment:
14.04.1-Ubuntu on virtual box
python 2.7
django 1.6.11

I got the similar error with Rahaman. I will paste below:

root@ubuntu-wefind:/var/www# rb-site install review.cuitrip.com



* Welcome to the Review Board site installation wizard


This will prepare a Review Board site installation in:


/var/www/review.cuitrip.com


We need to know a few things before we can prepare your site for

installation. This will only take a few minutes.



* Make sure you have the modules you need


Depending on your installation, you may need certain Python

modules and servers that are missing.


If you need support for any of the following, you will need to

install the necessary modules and restart the install.


Databases (optional):

* PostgreSQL (psycopg2)



* What's the host name for this site?


This should be the fully-qualified host name without the http://,

port or path.


Domain Name: localhost



* What URL path points to Review Board?


Typically, Review Board exists at the root of a URL. For example,

http://reviews.example.com/. In this case, you would specify "/".


However, if you want to listen to, say,

http://example.com/reviews/, you can specify "/reviews/".


Note that this is the path relative to the domain and should not

include the domain name.


The default is /


Root Path [/]: 



* What database type will you be using?


You can type either the name or the number from the list below.


(1) mysql

(2) sqlite3 (not supported for production use)


Database Type: 1



* What database name should Review Board use?


NOTE: You need to create this database and grant user modification

rights before continuing. See your database documentation for more

information.


The default is reviewboard


Database Name [reviewboard]: 



* What is the database server's address?


This should be specified in hostname:port form. The port is

optional if you're using a standard port for the database type.


The default is localhost


Database Server [localhost]: 



* What is the login and password for this database?


This must be a user that has table creation and modification

rights on the database you already specified.


Database Username: huan


Database Password: 


Confirm Database Password: 



* What memcached host should be used?


This is in the format of hostname:port


The default is localhost:11211


Memcache Server [localhost:11211]: 



* Create an administrator account


To configure Review Board, you'll need an administrator account.

It is advised to have one administrator and then use that account

to grant administrator permissions to your personal user account.


If you plan to use NIS or LDAP, use an account name other than

your NIS/LDAP account so as to prevent conflicts.


The default is admin


Username [admin]: huan


Password: 


Confirm Password: 


E-Mail Address: xxx


Company/Organization Name (optional):  



* Enable collection of data for better support


We would like to periodically collect data and statistics about

your installation to provide a better support experience for you

and your users.


The data collected includes basic information such as your company

name, the version of Review Board, and the size of your install.

It does NOT include confidential data such as source code. Data

collected never leaves our server and is never given to any third

parties for any purposes.


We use this to provide a user support page that's more specific to

your server. We also use it to determine which versions to

continue to support, and to help track how upgrades affect our

number of bug reports and support incidents.


You can choose to turn this off at any time in Support Settings in

Review Board.


Allow us to collect support data? [Y/n]: n



* 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 

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

2016-06-02 Thread Christian Hammond
I need to see exactly how you installed Review Board itself, the packages.
Do you still have that console output?

Christian

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

On Wed, Jun 1, 2016 at 11:26 PM,  wrote:

> Sure. Actually I installed review board step by step following the
> document.
>
> My environment:
> 14.04.1-Ubuntu on virtual box
> python 2.7
> django 1.6.11
>
> I got the similar error with Rahaman. I will paste below:
>
> root@ubuntu-wefind:/var/www# rb-site install review.cuitrip.com
>
>
>
> * Welcome to the Review Board site installation wizard
>
>
> This will prepare a Review Board site installation in:
>
>
> /var/www/review.cuitrip.com
>
>
> We need to know a few things before we can prepare your site for
>
> installation. This will only take a few minutes.
>
>
>
> * Make sure you have the modules you need
>
>
> Depending on your installation, you may need certain Python
>
> modules and servers that are missing.
>
>
> If you need support for any of the following, you will need to
>
> install the necessary modules and restart the install.
>
>
> Databases (optional):
>
> * PostgreSQL (psycopg2)
>
>
>
> * What's the host name for this site?
>
>
> This should be the fully-qualified host name without the http://,
>
> port or path.
>
>
> Domain Name: localhost
>
>
>
> * What URL path points to Review Board?
>
>
> Typically, Review Board exists at the root of a URL. For example,
>
> http://reviews.example.com/. In this case, you would specify "/".
>
>
> However, if you want to listen to, say,
>
> http://example.com/reviews/, you can specify "/reviews/".
>
>
> Note that this is the path relative to the domain and should not
>
> include the domain name.
>
>
> The default is /
>
>
> Root Path [/]:
>
>
>
> * What database type will you be using?
>
>
> You can type either the name or the number from the list below.
>
>
> (1) mysql
>
> (2) sqlite3 (not supported for production use)
>
>
> Database Type: 1
>
>
>
> * What database name should Review Board use?
>
>
> NOTE: You need to create this database and grant user modification
>
> rights before continuing. See your database documentation for more
>
> information.
>
>
> The default is reviewboard
>
>
> Database Name [reviewboard]:
>
>
>
> * What is the database server's address?
>
>
> This should be specified in hostname:port form. The port is
>
> optional if you're using a standard port for the database type.
>
>
> The default is localhost
>
>
> Database Server [localhost]:
>
>
>
> * What is the login and password for this database?
>
>
> This must be a user that has table creation and modification
>
> rights on the database you already specified.
>
>
> Database Username: huan
>
>
> Database Password:
>
>
> Confirm Database Password:
>
>
>
> * What memcached host should be used?
>
>
> This is in the format of hostname:port
>
>
> The default is localhost:11211
>
>
> Memcache Server [localhost:11211]:
>
>
>
> * Create an administrator account
>
>
> To configure Review Board, you'll need an administrator account.
>
> It is advised to have one administrator and then use that account
>
> to grant administrator permissions to your personal user account.
>
>
> If you plan to use NIS or LDAP, use an account name other than
>
> your NIS/LDAP account so as to prevent conflicts.
>
>
> The default is admin
>
>
> Username [admin]: huan
>
>
> Password:
>
>
> Confirm Password:
>
>
> E-Mail Address: xxx
>
>
> Company/Organization Name (optional):
>
>
>
> * Enable collection of data for better support
>
>
> We would like to periodically collect data and statistics about
>
> your installation to provide a better support experience for you
>
> and your users.
>
>
> The data collected includes basic information such as your company
>
> name, the version of Review Board, and the size of your install.
>
> It does NOT include confidential data such as source code. Data
>
> collected never leaves our server and is never given to any third
>
> parties for any purposes.
>
>
> We use this to provide a user support page that's more specific to
>
> your server. We also use it to determine which versions to
>
> continue to support, and to help track how upgrades affect our
>
> number of bug reports and support incidents.
>
>
> You can choose to turn this off at any time in Support Settings in
>
> Review Board.
>
>
> Allow us to collect support data? [Y/n]: n
>
>
>
> * 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 

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

2016-06-02 Thread Christian Hammond
Hi,

Can you answer the same questions I asked in my prior e-mails?

Thanks,

Christian

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

On Wed, Jun 1, 2016 at 11:16 PM,  wrote:

> Hi guys, I'm in the same situation on installation of rb-site for review
> board 2.5.5. Please update. Thanks.
>
>
> 在 2016年6月2日星期四 UTC+8上午4:51:47,Christian Hammond写道:
>>
>> The thing I still need to see from both of you is how you installed the
>> ReviewBoard package. Can you show me that?
>>
>> It's looking, from the logs, like certain modules may be missing or not
>> installed right, or there might be conflicts of some kind. Knowing exactly
>> what the entire install process looks like might help me figure this out.
>> Ideally, an install from scratch.
>>
>> Thanks,
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag 
>> Makers of Review Board 
>>
>> On Wed, Jun 1, 2016 at 1:35 AM, Александр Нечаев 
>> wrote:
>>
>>> Bitnami installer use only mysql, not postgresql. It's problem. I still
>>> haven't solution of my install problem.
>>>
>>> среда, 1 июня 2016 г., 0:11:20 UTC+3 пользователь 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
> 

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

2016-06-01 Thread Christian Hammond
The thing I still need to see from both of you is how you installed the
ReviewBoard package. Can you show me that?

It's looking, from the logs, like certain modules may be missing or not
installed right, or there might be conflicts of some kind. Knowing exactly
what the entire install process looks like might help me figure this out.
Ideally, an install from scratch.

Thanks,

Christian

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

On Wed, Jun 1, 2016 at 1:35 AM, Александр Нечаев 
wrote:

> Bitnami installer use only mysql, not postgresql. It's problem. I still
> haven't solution of my install problem.
>
> среда, 1 июня 2016 г., 0:11:20 UTC+3 пользователь 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
>>> 

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

2016-06-01 Thread Александр Нечаев
Bitnami installer use only mysql, not postgresql. It's problem. I still 
haven't solution of my install problem.

среда, 1 июня 2016 г., 0:11:20 UTC+3 пользователь 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 

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 

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

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 
> 

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
 

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 

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

2016-05-31 Thread Rahaman Mirza
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  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
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
>> line 903, in execute_sql
>> cursor.execute(sql, params)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
>> line 53, in execute
>> return self.cursor.execute(sql, params)
>>   File
>> "/usr/local/lib/python2.7/dist-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
>> 

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

2016-05-30 Thread Christian Hammond
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
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/models/sql/compiler.py",
> line 903, in execute_sql
> cursor.execute(sql, params)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
> line 53, in execute
> return self.cursor.execute(sql, params)
>   File
> "/usr/local/lib/python2.7/dist-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/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/backends/util.py",
> line 53, in execute
> return self.cursor.execute(sql, params)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/db/backends/mysql/base.py",
> line 124, in execute
> return self.cursor.execute(query, args)
>   File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 226, in
> execute
> self.errorhandler(self, exc, value)
>   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36,
> in defaulterrorhandler
> raise errorvalue
> django.db.utils.ProgrammingError: (1146, "Table 'reviewboard.auth_user'
> doesn't exist")
>
>
> Could you please unblock me.
>
> Thanks
> Mirza
>
> --
> Supercharge your Review Board with Power Pack:
>