> > > It works perfectly on LyX 1.6.5. I will report it to lyx-devel as > > soon as I can download a copy and try it out -- if you don't prefer > > to do so yourself. > > > > Alex. > > I'll let you report it once you've had a chance to try it out with LyX > 2.0. I am unclear at this point whether it's an eLyXer issue or an > internal converter configuration issue. You probably have a better > handle on that. > > -Jack >
I've done some more testing with eLyXer. Any time I insert an image from my Imágenes directory into a document, the eLyXer converter fails if called from within LyX. On the other hand, if eLyXer is called from command line it works fine. The trace path says (among other things): UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 11: ordinal not in range(128) Error: Cannot convert file Wikipedia lists the following: U+00E1 á Latin Small Letter A with acute Is this a LyX Unicode bug? I am experiencing the same issue with LyX 1.6.5 and LyX 2.0. In case it's relevant, my converter is set up as: elyxer --directory $$r $$i $$o -Jack -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jack Desert -- Writer, Entrepeneur Author and Spokesman: www.LetsEATalready.com Software Developer: http://GrooveTask.org Email: jwo...@gmail.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Full Trace Path: Line 48: Title: Try it Out Line 90: * [eLyXer version 0.42 (2010-03-13) in /usr/bin/elyxer] Line 91: * Conversion failed at Traceback (most recent call last): File "/usr/bin/elyxer", line 6713, in <module> main() File "/usr/bin/elyxer", line 6710, in main convertdoc(list(sys.argv)) File "/usr/bin/elyxer", line 6706, in convertdoc converter.convert() File "/usr/bin/elyxer", line 6587, in convert self.processcontents() File "/usr/bin/elyxer", line 6601, in processcontents container = factory.createcontainer(self.reader) File "/usr/bin/elyxer", line 5639, in createcontainer self.parse(container, reader) File "/usr/bin/elyxer", line 5650, in parse container.contents = parser.parse(reader) File "/usr/bin/elyxer", line 1282, in parse contents = ExcludingParser.parse(self, reader) File "/usr/bin/elyxer", line 1274, in parse self.parseending(reader, lambda: self.parsecontainer(reader, contents)) File "/usr/bin/elyxer", line 1216, in parseending process() File "/usr/bin/elyxer", line 1274, in <lambda> self.parseending(reader, lambda: self.parsecontainer(reader, contents)) File "/usr/bin/elyxer", line 1219, in parsecontainer container = self.factory.createcontainer(reader) File "/usr/bin/elyxer", line 5639, in createcontainer self.parse(container, reader) File "/usr/bin/elyxer", line 5652, in parse container.process() File "/usr/bin/elyxer", line 3795, in process if not self.origin.exists(): File "/usr/bin/elyxer", line 3692, in exists return os.path.exists(self.path) File "/usr/lib/python2.6/genericpath.py", line 18, in exists st = os.stat(path) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 11: ordinal not in range(128) Error: Cannot convert file ---------------------------------------- An error occurred whilst running elyxer --directory '/home/jd/blogg' '026_Try_Out_