[ubuntu-mono] [Bug 664157] Re: Export to HTML gives error with linked notes

Again617 664157 at bugs.launchpad.net
Wed Oct 20 21:01:44 UTC 2010


With a few extra minutes of experimenting I've found a workaround.  Take
all commas out of the note names.  I'm guessing that the commas break
the creation of the hyper links and I'm also guessing that this applies
to more special characters.

-- 
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