#3396: Discussion add-in do not work
------------------------------------+---------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  jonas  
     Type:  defect                  |       Status:  closed 
 Priority:  normal                  |    Milestone:         
Component:  general                 |      Version:  0.9.6  
 Severity:  normal                  |   Resolution:  invalid
 Keywords:                          |  
------------------------------------+---------------------------------------
Changes (by eblot):

  * priority:  high => normal
  * resolution:  => invalid
  * severity:  blocker => normal
  * status:  new => closed

Old description:

> I have instaled and enabled the Discussion plugin (fllowing ALL
> instructions) and now, when I try to access it, I have an error :
>  "Trac detected an internal error: no such column: forum_group.id"
>
> My logs are:
> 13:03:07 Trac[api] DEBUG: SELECT id, name, description, (SELECT COUNT(id)
> FROM forum f WHERE f.forum_group = forum_group.id) FROM forum_group
> 13:03:07 Trac[main] ERROR: no such column: forum_group.id
> Traceback (most recent call last):
>   File "C:\Program Files\Python23\Lib\site-
> packages\trac\web\standalone.py", line 303, in _do_trac_req
>     dispatch_request(path_info, req, env)
>   File "C:\Program Files\Python23\Lib\site-packages\trac\web\main.py",
> line 139, in dispatch_request
>     dispatcher.dispatch(req)
>   File "C:\Program Files\Python23\Lib\site-packages\trac\web\main.py",
> line 107, in dispatch
>     resp = chosen_handler.process_request(req)
>   File "build\bdist.win32\egg\tracdiscussion\core.py", line 158, in
> process_request
>   File "build\bdist.win32\egg\tracdiscussion\api.py", line 125, in
> get_groups
>   File "C:\PROGRA~1\Python23\Lib\site-packages\sqlite\main.py", line 244,
> in execute
>     self.rs = self.con.db.execute(SQL)
> DatabaseError: no such column: forum_group.id
>
> Notice that I use a SQLite database and when I edit it with an explorer,
> I have all Discussion tables available and I can execute the last query
> printed on the log.

New description:

 I have instaled and enabled the Discussion plugin (fllowing ALL
 instructions) and now, when I try to access it, I have an error :
  "Trac detected an internal error: no such column: forum_group.id"

 My logs are:
 {{{
 13:03:07 Trac[api] DEBUG: SELECT id, name, description, (SELECT COUNT(id)
 FROM forum f WHERE f.forum_group = forum_group.id) FROM forum_group
 13:03:07 Trac[main] ERROR: no such column: forum_group.id
 Traceback (most recent call last):
   File "C:\Program Files\Python23\Lib\site-
 packages\trac\web\standalone.py", line 303, in _do_trac_req
     dispatch_request(path_info, req, env)
   File "C:\Program Files\Python23\Lib\site-packages\trac\web\main.py",
 line 139, in dispatch_request
     dispatcher.dispatch(req)
   File "C:\Program Files\Python23\Lib\site-packages\trac\web\main.py",
 line 107, in dispatch
     resp = chosen_handler.process_request(req)
   File "build\bdist.win32\egg\tracdiscussion\core.py", line 158, in
 process_request
   File "build\bdist.win32\egg\tracdiscussion\api.py", line 125, in
 get_groups
   File "C:\PROGRA~1\Python23\Lib\site-packages\sqlite\main.py", line 244,
 in execute
     self.rs = self.con.db.execute(SQL)
 DatabaseError: no such column: forum_group.id
 }}}

 Notice that I use a SQLite database and when I edit it with an explorer, I
 have all Discussion tables available and I can execute the last query
 printed on the log.

Comment:

 Discussion Plugin is not part of the Trac core.

 Please report plug-in issues to the original authors, see
 th:wiki:DiscussionPlugin (you can fill in a ticket against the plugin)

 Do not forget to put braces !{{{ ... }}} around your log traces, so that
 they don't get interpretated as wiki text.

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3396>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to