Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1875 closed defect (fixed)

Adding a new forum does not work

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


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/", line 216, in dispat
  File "/var/lib/python-support/python2.4/trac/web/", line 269, in _post_
  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:

  • Trac 0.10.3
  • TracDiscussion 0.5

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Blackhex

  • Priority changed from normal to low
  • Severity changed from blocker to normal
  • Status changed from new to assigned

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.

comment:2 Changed 7 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from assigned to closed

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.

comment:3 Changed 7 years ago 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 Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Blackhex. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.