Opened 8 years ago

Last modified 7 years ago

#7452 new defect

Trac detected an internal error:

Reported by: alora Owned by: Claudio Manuel Fernández Barreiro
Priority: normal Component: WikiExportPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11


I am getting a trac internal error when using the last version of wikiExportPlugin.

Extract of :

    def generateBreakContent(self):
        self.text.insertControlCharacter(self.cursor, PARAGRAPH_BREAK, 0)
        self.cursor.ParaStyleName = self.__PARASTYLES[0]

The last line of the generateBreakContent function is causing the problem.

Attachments (2)

Internal_Error_WikiExportPlugin.pdf (129.3 KB) - added by alora 8 years ago. (13.4 KB) - added by alora 7 years ago.
New version of plugin proposed by L. ROUX @ ADENEO

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by alora

comment:1 Changed 7 years ago by Claudio Manuel Fernández Barreiro

Sorry for the delay. What version of OO have installed? Are you defined the Styles in the trac.ini file?

comment:2 Changed 7 years ago by alora

I installed OO v. 2.4. But I have found what was the problem. It was due to the styles in the trac.ini.

Thus I propose a new version of your plugin, that I have modified so that :

  • HTML blockquote are handled
  • The trac.ini configuration is checked and an error is printed to explained why it does not work (when the configuration in trac.ini is bad)
  • When encountering a HTML BR, this is not a change of paragraph but a new line only
  • The case where a HTML PRE has a HTML LI as parent (no change of paragraph, new line only) is handled


Changed 7 years ago by alora

Attachment: added

New version of plugin proposed by L. ROUX @ ADENEO

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Claudio Manuel Fernández Barreiro.

Add Comment

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

Note: See TracTickets for help on using tickets.