[ubuntu-mono] [Bug 664157] Re: Export to HTML gives error with linked notes
geoffrey
664157 at bugs.launchpad.net
Sun Nov 21 10:18:48 UTC 2010
Thanks! Yes I can confirm there is a problem with italics.
To reproduce the bug:
1. Create a new note
2. write a few words including some italics
3. highlight the words, and create a link (control+L)
4. from the first new note, select export to html, check 'Export linked notes', and note the error message
--
Export to HTML gives error with linked notes
https://bugs.launchpad.net/bugs/664157
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to tomboy in ubuntu.
Status in “tomboy” package in Ubuntu: New
Bug description:
Binary package hint: tomboy
Description: Ubuntu 10.10
Release: 10.10
tomboy:
Installed: 1.4.0-0ubuntu2
Candidate: 1.4.0-0ubuntu2
Version table:
*** 1.4.0-0ubuntu2 0
500 http://ca.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
100 /var/lib/dpkg/status
When I attempt to export my notes, including all the linked notes I get the error "Custom function reported an error." I expect to get a nicely formatted document with all my notes. Instead, I get an error and only the initial note saved as an html document with all the links broken.
Here is the console output when I attempt to do this after running tomboy --debug:
[DEBUG 15:43:25.366] Exporting Note 'Comp 3440' to '/home/david/Desktop/Comp 3440.html'...
[ERROR 15:43:25.881] Could not export: System.Xml.Xsl.XsltException: Custom function reported an error. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Tomboy.ExportToHtml.TransformExtension.GetPath (System.String title) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Mono.Xml.Xsl.XsltExtensionFunction.Invoke (Mono.Xml.Xsl.XsltCompiledContext xsltContext, System.Object[] args, System.Xml.XPath.XPathNavigator docContext) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Xml.Xsl.XsltExtensionFunction.Invoke (Mono.Xml.Xsl.XsltCompiledContext xsltContext, System.Object[] args, System.Xml.XPath.XPathNavigator docContext) [0x00000] in <filename unknown>:0
at Mono.Xml.Xsl.XPFuncImpl.Invoke (System.Xml.Xsl.XsltContext xsltContext, System.Object[] args, System.Xml.XPath.XPathNavigator docContext) [0x00000] in <filename unknown>:0
at System.Xml.XPath.ExprFunctionCall.Evaluate (System.Xml.XPath.BaseIterator iter) [0x00000] in <filename unknown>:0
at System.Xml.XPath.CompiledExpression.Evaluate (System.Xml.XPath.BaseIterator iter) [0x00000] in <filename unknown>:0
[ERROR 15:43:25.898] Could not export: Custom function reported an error.
More information about the Ubuntu-mono
mailing list