Git Product home page Git Product logo

appypod's People

Contributors

cjauvin avatar khchine5 avatar lsaffre avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

appypod's Issues

Unicode

Has anyone else had issues with unicode chars in the LibreOffice document? Mine fails over a ³ for example:

Traceback:

File "/home/joris/Projects/CerCon/env/lib/python3.5/site-packages/appy/pod/renderer.py", line 451, in run
self.currentParser.parse(self.contentXml)
File "/home/joris/Projects/CerCon/env/lib/python3.5/site-packages/appy/xml/init.py", line 273, in parse
self.parser.parse(inputSource)
File "/usr/lib/python3.5/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.5/xml/sax/xmlreader.py", line 125, in parse
self.feed(buffer)
File "/usr/lib/python3.5/xml/sax/expatreader.py", line 210, in feed
self._parser.Parse(data, isFinal)
File "../Modules/pyexpat.c", line 468, in EndElement
File "/usr/lib/python3.5/xml/sax/expatreader.py", line 325, in end_element
self._cont_handler.endElement(name)
File "/home/joris/Projects/CerCon/env/lib/python3.5/site-packages/appy/pod/pod_parser.py", line 319, in endElement
e.currentBuffer.transferAllContent()
File "/home/joris/Projects/CerCon/env/lib/python3.5/site-packages/appy/pod/buffers.py", line 384, in transferAllContent
self.evaluate(self.parent, self.env.context)
File "/home/joris/Projects/CerCon/env/lib/python3.5/site-packages/appy/pod/buffers.py", line 753, in evaluate
result.write(self.content[currentIndex:index])
File "/home/joris/Projects/CerCon/env/lib/python3.5/site-packages/appy/pod/buffers.py", line 215, in write
self.content.write(something)
UnicodeEncodeError: 'ascii' codec can't encode character '\xb3' in position 2: ordinal not in range(128)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.