Opened 5 years ago

Closed 5 years ago

#6544 closed defect (fixed)

Trac detected an internal error: AttributeError: 'NoneType' object has no attribute 'replace'

Reported by: paulj2000_ro@… Owned by: peca
Priority: high Component: TracDownloaderPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11



I can't get this fixed. Any suggestions will be appreciated:

My setup:

Trac: 0.11.6
Python: 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
setuptools: 0.6c11
SQLite: 3.3.6
pysqlite: 2.5.6
Genshi: 0.5.1
mod_python: 3.2.8
Pygments: 1.2.2
jQuery: 1.2.6

Also, I have tested with python 2.5 and 2.6 but the same error.
After the plugin was patched and installed I can configure it, but, after clicking Downloader link in menu this error appears.
This plugin used to work. I have files uploaded there.
The trac db was moved from opensuse 11.1 to centos5.4 clean install.

Other installed plugins:

Full stack should be attached.

Attachments (1)

tracdownloader-error-python-stack.txt (7.4 KB) - added by paulj2000_ro@… 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by paulj2000_ro@…

comment:1 Changed 5 years ago by paulj2000_ro@…

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


I have exported the data base from the old system and reimported table by table.
In my case the problem was that the last row from "downloader_file" was odd:
Here is the exported line:

INSERT INTO "downloader_file" VALUES(19,'7',NULL,NULL,NULL,NULL,1261067753.63897,NULL);

I have no ideea how that row was inserted, but, after removing it from the database (sqlite) it started to work again.


Add Comment

Modify Ticket

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