Modify ↓
Opened 14 years ago
Last modified 14 years ago
#7452 new defect
Trac detected an internal error: com.sun.star.uno.Exception+
Reported by: | alora | Owned by: | Claudio Manuel Fernández Barreiro |
---|---|---|---|
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)
Change History (4)
Changed 14 years ago by
Attachment: | Internal_Error_WikiExportPlugin.pdf added |
---|
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
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 14 years ago by
Attachment: | WikiExportPlugin.zip added |
---|
New version of plugin proposed by L. ROUX @ ADENEO
Note: See
TracTickets for help on using
tickets.
Sorry for the delay. What version of OO have installed? Are you defined the Styles in the trac.ini file?