Opened 16 years ago

Last modified 16 years ago

#3224 closed defect

AttributeError: 'array.array' object has no attribute 'replace' — at Initial Version

Reported by: anonymous Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

After trying to send my first blog entry, It fails with an error previousli submited by me, and now not only the blog, but the wiki and the timeline is also dead. This is when I click on the blog on the main bar.

How to Reproduce

While doing a GET operation on /blog, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'blog_path': ''}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu; rv:1.9) Gecko/2008052906 Firefox/3.0

System Information

Trac 0.11rc2
Python 2.4.4 (#2, Apr 15 2008, 23:43:20)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools 0.6c3
MySQL server: "5.0.32-Debian_7-log", client: "5.0.32", thread-safe: 1
MySQLdb 1.2.1_p2
Genshi 0.6dev-r888
jQuery: 1.2.3

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11rc2-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11rc2-py2.4.egg/trac/web/main.py", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/TracFullBlogPlugin-0.1-py2.4.egg/tracfullblog/web_ui.py", line 136, in process_request
    blog_posts = get_blog_posts(self.env)
  File "/usr/lib/python2.4/site-packages/TracFullBlogPlugin-0.1-py2.4.egg/tracfullblog/model.py", line 137, in get_blog_posts
    categories = _parse_categories(row[6])
  File "/usr/lib/python2.4/site-packages/TracFullBlogPlugin-0.1-py2.4.egg/tracfullblog/model.py", line 256, in _parse_categories
    categories = categories.replace(',', ' ') # drop commas
AttributeError: 'array.array' object has no attribute 'replace'

Change History (0)

Note: See TracTickets for help on using tickets.