Ticket #1875 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Adding a new forum does not work

Reported by: memfis Assigned to: Blackhex
Priority: low Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Clicking Submit returns to an empty forum list. Log file shows this error:

ERROR: 'NoneType' object has no attribute
Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 216, in dispat
    self._post_process_request(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 269, in _post_
    content_type)
  File "/usr/lib/python2.4/site-packages/TracPygments-0.3dev_r2113-py2.4.egg/tra
    add_link(req, 'stylesheet', self.env.href('pygments', '%s.css' %
AttributeError: 'NoneType' object has no attribute 'get'

Installed components:

Attachments

Change History

08/01/07 06:31:11 changed by Blackhex

  • priority changed from normal to low.
  • status changed from new to assigned.
  • severity changed from blocker to normal.

Although it seem that it is TracPygmentsPlugin or even Trac itself problem, I can take a closer look to this but you didn't supply me usefull informations. First of all your fragment from log file is cutted so I can't see which line of TracPygmentsPlugin caused the errror. Secondly I need relevant debug messages before that error message to see for example which values did you pass to form. And lastly I need to know your server configuration and TracPygmentsPlugin version since I didn't evoke this error on my system. For more information see BugReporting.

08/01/07 10:29:13 changed by Blackhex

  • status changed from assigned to closed.
  • resolution set to fixed.

I found where was a problem. That error messaage don't bear with it. There is not implicitly submitted database when redirecting by Trac on PostgreSQL so I've added explicit submit in changeset 2541.

08/01/07 14:34:04 changed by memfis

I must admit I didn't do a good job reporting this bug. Sorry for that and thanks for such a quick fix! I am using SQLite 3 and not PostgreSQL, though.


Add/Change #1875 (Adding a new forum does not work)




Change Properties
Action