Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1875 closed defect (fixed)

Adding a new forum does not work

Reported by: memfis Owned by: Radek Bartoň
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 15 years ago by Radek Bartoň

Priority: normallow
Severity: blockernormal
Status: newassigned

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 15 years ago by Radek Bartoň

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.