Hi Matthew,

When doing an easy_install, Review Board will be installed into an 
ReviewBoard-x.y.z-pyX.Y.egg in site-packages, which isn't what was showing up 
in the backtrace. Instead, it's showing up as being in just a "reviewboard" 
directory, which is what you'd get when installing via yum.

Christian

--  
Christian Hammond - christ...@beanbaginc.com  
Review Board - https://www.reviewboard.org  
Beanbag, Inc. - https://www.beanbaginc.com

-----Original Message-----
From: Matthew Rathbone <matthew.rathb...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: February 4, 2015 at 3:37:19 PM
To: Christian Hammond <christ...@beanbaginc.com>>
Cc: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Subject:  Re: ReviewBoard installation succeeded, but errors when I try to use 
it

> Hey Christian,
>  
> Thanks for helping.
>  
> It's a mysql database, so I dropped it and recreated it.
>  
> I reinstalled the site using the rb-site command line tool, command:
>  
>  
> rb-site install --noinput \
> --copy-media \
> --domain-name=review.beekeeperdata.com \
> --site-root="/" \
> --media-url="/media/" \
> --db-type=mysql --db-name=reviewboard --db-user=reviewboard
> --db-pass=foobar123 --db-host=host1 \
> --cache-type=memcached \
> --cache-info="host2:11211" \
> --web-server-type=apache \
> --python-loader=fastcgi \
> --admin-user=admin \
> --admin-password=beekeeper \
> --admin-email=accounts+reviewbo...@beekeeperdata.com \
> --company="Beekeeper Data" \
> /var/www/review.beekeeperdata.com
>  
> running rb-site --version shows it's the right version (2.0.12).
>  
>  
> It creates all the tables fine.
>  
> I've confirmed the ReviewBoard install path is the one controlled by
> easy_install, I've even looked for other ReviewBoard files elsewhere on the
> filesystem, there aren't any.
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> Matthew Rathbone
> ==
> matthew.rathb...@gmail.com
>  
> On Wed, Feb 4, 2015 at 5:05 PM, Christian Hammond  
> wrote:
>  
> > Hi Matthew,
> >
> > This looks like it's not actually using a 2.0.12 database. How did you
> > wipe the database, and how did you then re-install the site?
> >
> > The file paths shown in the backtrace look like yum-installed paths and
> > not easy_install'd paths.
> >
> > Christian
> >
> > --
> > Christian Hammond - christ...@beanbaginc.com
> > Review Board - https://www.reviewboard.org
> > Beanbag, Inc. - https://www.beanbaginc.com
> >
> > -----Original Message-----
> > From: Matthew Rathbone  
> > Reply: reviewboard@googlegroups.com >
> > Date: February 4, 2015 at 2:56:19 PM
> > To: reviewboard@googlegroups.com >
> > Subject: ReviewBoard installation succeeded, but errors when I try to use
> > it
> >
> > > Hey folks,
> > >
> > > I'm running on Amazon's AMI, so initially I installed reviewboard from
> > the
> > > EPEL repo. However that version seemed very out of date so I moved to
> > > installation from easy_install.
> > >
> > > I totally wiped the database, and the /var/www/ files, uninstalled the
> > yum
> > > version of reviewboard, and installed version 2.0.12 from easy_install,
> > > following all the installation directions in the reviewboard docs.
> > >
> > > Installing a new site works find using the command line rb-site tool,
> > > however when I browse to my reviewboard url I get this error:
> > >
> > > Traceback (most recent call last):
> > >
> > > File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py",
> > > line 87, in get_response
> > > response = middleware_method(request)
> > >
> > > File
> > "/usr/lib/python2.6/site-packages/reviewboard/accounts/middleware.py",  
> > > line 12, in process_request
> > >
> > > File "/usr/lib/python2.6/site-packages/django/db/models/manager.py", line 
> > >  
> > > 131, in get
> > > return self.get_query_set().get(*args, **kwargs)
> > >
> > > File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line  
> > > 361, in get
> > > num = len(clone)
> > >
> > > File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line  
> > > 85, in __len__
> > > self._result_cache = list(self.iterator())
> > >
> > > File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line  
> > > 291, in iterator
> > > for row in compiler.results_iter():
> > >
> > > File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", 
> > >  
> > > line 763, in results_iter
> > > for rows in self.execute_sql(MULTI):
> > >
> > > File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", 
> > >  
> > > line 818, in execute_sql
> > > cursor.execute(sql, params)
> > >
> > > File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py", 
> > >  
> > > line 114, in execute
> > > return self.cursor.execute(query, args)
> > >
> > > File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 174,
> > > in execute
> > > self.errorhandler(self, exc, value)
> > >
> > > File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line
> > > 36, in defaulterrorhandler
> > > raise errorclass, errorvalue
> > >
> > > DatabaseError: (1054, "Unknown column 'accounts_profile.show_submitted'
> > in
> > > 'field list'")
> > >
> > >
> > >
> > > Googling around seems to show that this usually happens when running a
> > > version 1.x.x site on a 2.x.x database, but that's not the case here. Any
> > > ideas? I'm at a loss.
> > >
> > > Thanks for any help!
> > >
> > > Matthew
> > >
> > > --
> > > 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.
>  

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

Reply via email to