XSF Editor Team - 2016-01-21

  1. stpeter has joined
  2. m&m has joined
  3. Neustradamus has left
  4. stpeter has left
  5. Neustradamus has joined
  6. stpeter has joined
  7. stpeter has left
  8. m&m has left
  9. m&m has joined
  10. Kev has left
  11. Kev has left
  12. m&m has left
  13. SamWhited has left
  14. winfried has left
  15. Kev has joined
  16. Ash has joined
  17. Ash Anyone seen this error before?
  18. Ash xsf@perseus:~/xmpp-hg/extensions$ ./gen.py xep-0371.xml Building xep-0371.xml: XHTML(ERROR) / Traceback (most recent call last): File "./gen.py", line 432, in <module> main(sys.argv[1:]) File "./gen.py", line 418, in main buildXEP( xep ) File "./gen.py", line 341, in buildXEP if buildPDF( xepfilepath, nr ): File "./gen.py", line 278, in buildPDF serializeXEPInlineImages("/tmp/xepbuilder", nr, file) File "./gen.py", line 88, in serializeXEPInlineImages dom = parse(filename) File "/usr/lib/python2.7/xml/dom/minidom.py", line 1920, in parse return expatbuilder.parse(file) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 924, in parse result = builder.parseFile(fp) File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 211, in parseFile parser.Parse("", True) xml.parsers.expat.ExpatError: no element found: line 1, column 0
  19. Ash Looks like an error generating the PDF
  20. Ash xsltproc parses the file fine
  21. Ash The XHTML building section is erroring too, and just outputting a single, 0 length, html file.
  22. Ash If I run the xsltproc commands manually then it works fine.
  23. winfried Ash: looking into it...
  24. Ash Thanks winfried :)
  25. Ash I'm not great with python
  26. Ash has left
  27. Ash has joined
  28. winfried Ash, try what happens if you remove the <interim/> element on line 14 of xep-0371.xml: it its the first commit, but because the xep-0371 says it is interim, the build system tries to revert to a non-interim commit, resulting in unpredictable results... ;-)
  29. Ash That's made it work! We should add that to the XEP Editor README
  30. winfried ;-) yeah, it is easy to forget...
  31. Kev has left
  32. Kev has left
  33. m&m has joined
  34. m&m has left
  35. m&m has joined
  36. dwd has left
  37. SamWhited has left
  38. winfried has left
  39. m&m has left
  40. m&m has joined
  41. winfried has left
  42. winfried has joined
  43. draft9 has joined
  44. draft9 has left
  45. Kev has joined
  46. m&m has left
  47. SamWhited has left
  48. Ash has left