Modify

Opened 4 years ago

Last modified 3 years ago

#7452 new defect

Trac detected an internal error: com.sun.star.uno.Exception+

Reported by: alora Owned by: sfhynx
Priority: normal Component: WikiExportPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

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

Extract of openoffice.py :

    def generateBreakContent(self):
        self.text.insertControlCharacter(self.cursor, PARAGRAPH_BREAK, 0)
        self.cursor.setAllPropertiesToDefault()
        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 4 years ago.
WikiExportPlugin.zip (13.4 KB) - added by alora 3 years ago.
New version of plugin proposed by L. ROUX @ ADENEO

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by alora

comment:1 Changed 3 years ago by sfhynx

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

comment:2 Changed 3 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

See WikiExportPlugin.zip

Changed 3 years ago by alora

New version of plugin proposed by L. ROUX @ ADENEO

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.