Modify

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

Description

Hi,

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:
./Trac-0.11.6-py2.4.egg
./Genshi-0.5.1-py2.4-linux-i686.egg
./Pygments-1.2.2-py2.4.egg
./PIL-1.1.7-py2.4-linux-i686.egg
./PyCAPTCHA-0.4-py2.4.egg
./pysqlite-2.5.6-py2.4-linux-i686.egg
./TracDownloader-0.1-py2.4.egg
./TracAccountManager-0.2.1dev_r7163-py2.4.egg
./FiveStarVote-0.1-py2.4.egg
./PrivateWikis-1.0.0-py2.4.egg
./TracBurndown-1.9.2-py2.4.egg
./TracNewsFlash-1.0.1-py2.4.egg
./TracNoAnonymous-2.1-py2.4.egg
./TracScreenshots-0.7-py2.4.egg
./TracWikiRename-2.1.1-py2.4.egg
./TracWikiToPdfPlugin-2.3.1-py2.4.egg

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

Hi,

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.

HTH Paul

Add Comment

Modify Ticket

Action
as closed The owner will remain peca.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.