Opened 15 years ago
Closed 15 years ago
#6544 closed defect (fixed)
Trac detected an internal error: AttributeError: 'NoneType' object has no attribute 'replace'
Reported by: | Owned by: | Petr Škoda | |
---|---|---|---|
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)
Change History (2)
Changed 15 years ago by
Attachment: | tracdownloader-error-python-stack.txt added |
---|
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → 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:
I have no ideea how that row was inserted, but, after removing it from the database (sqlite) it started to work again.
HTH Paul