# Ticket #9654 (closed defect: fixed)

Opened 1 year ago

## Error when creating test plans

Reported by: Assigned to: anonymous seccanj normal TestManagerForTracPlugin normal 0.12

Running version 1.4.8 and Trac 0.12. Catalogs and Test Cases can be created fine with no errors. However whenever a Test Plan is created, the Plan creation works, but after that, anytime I try to view the Catalog that its associated with, I get the following error:

ParseError: malformed start tag: line 1, column 801


I'm currently working around this by commenting out line 247 in wiki.py

self._get_testplan_list_markup(formatter, cat_name, mode, fulldetails)


as the problem appears to be with this function but then I can see the Catalog but not any of its Test Plans.

## Change History

### 01/02/12 23:14:39 changed by rjollos

• description changed.

### 01/03/12 10:09:03 changed by seccanj

Hi, this problem is new to me... I didn't get it while testing out the 1.4.8 release.

I'll take a look at this asap.

Ciao, Roberto

### 01/04/12 00:42:06 changed by seccanj

Hi, the fix to this ticket is in the latest BETA 1.4.9 release, attached to #9287.

Actually there also is the need for updating the language catalogs. I have uploaded the modified versions on Transflex for anyone to contribute.

Refer to the forum post for details.

It would be great if you could take a tour and, besides looking at the new stuff, make sure nothing (big) is broken.

Thanks, ciao. Roberto

### 01/11/12 07:05:04 changed by anonymous

I reported this issue originally and have done an SVN checkout to get version 1.4.9. After installing and testing by creating a new test plan in a Catalog, I am still getting a similar error,

ParseError?: malformed start tag: line 1, column 812

### 01/11/12 08:34:14 changed by seccanj

Hi, please could you enable debug in your Trac and attach the full log file, including the startup section where Trac dumps detailed information about your environment.

Also, would you please describe it briefly here:

• Operating system and version
• Python version
• Trac version
• ...anything else that comes to your mind :D

Ciao, Roberto

### 01/11/12 08:55:40 changed by seccanj

• DB type and version
• Whether you use Apache or tracd

### 01/11/12 18:19:05 changed by anonymous

OS = Linux 2.6, Python = 2.6, Trac = 0.12, DB = SQLite, using tracd, debug log is attached.

### 01/11/12 20:55:43 changed by seccanj

Jake Westfall <jake@jpw.biz>


The angular brackets are not escaped and cause problems to the Genshi code parsing the HTML.

I'll try to fix it asap.

### 01/12/12 20:59:46 changed by seccanj

Patched wiki.py and utils.py

### 01/12/12 21:05:08 changed by seccanj

• status changed from new to assigned.

Try the attached source code. Replace on top of 1.4.9.

BTW, I also released the zip files on source forge (with this fix).

Please, let me know if this fixes the problem (and close this ticket).

### 01/17/12 19:31:04 changed by anonymous

Yes, confirming that the problem is fixed.

### 02/01/12 06:08:40 changed by anonymous

• status changed from assigned to closed.
• resolution set to fixed.

### Add/Change #9654 (Error when creating test plans)

Change Properties