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 <matthew.rathb...@gmail.com>
Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>>
Date: February 4, 2015 at 2:56:19 PM
To: reviewboard@googlegroups.com <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.

Reply via email to