Giter Club home page Giter Club logo

Comments (9)

wanglongqi avatar wanglongqi commented on July 23, 2024

Please provide your input and version of script you use.

from writetex.

Nouvilas avatar Nouvilas commented on July 23, 2024

I'm using WriteTeX 1.6.2, Inkscape 0.92 r15371, and the input was
https://imgur.com/a/uBwXD
It gives the same error for xelatex too.
This is the complete error vindow:

Traceback (most recent call last):
File "writetex.py", line 347, in
e.affect()
File "D:\Programas\Inkscape\share\extensions\inkex.py", line 283, in affect
self.effect()
File "writetex.py", line 164, in effect
self.merge_pdf2svg_svg(svg_file)
File "writetex.py", line 282, in merge_pdf2svg_svg
doc = inkex.etree.parse(svg_file)
File "src\lxml\lxml.etree.pyx", line 3427, in lxml.etree.parse (src\lxml\lxml.etree.c:78767)
File "src\lxml\parser.pxi", line 1793, in lxml.etree._parseDocument (src\lxml\lxml.etree.c:114608)
File "src\lxml\parser.pxi", line 1819, in lxml.etree._parseDocumentFromURL (src\lxml\lxml.etree.c:114955)
File "src\lxml\parser.pxi", line 1723, in lxml.etree._parseDocFromFile (src\lxml\lxml.etree.c:113867)
File "src\lxml\parser.pxi", line 1126, in lxml.etree._BaseParser._parseDocFromFile (src\lxml\lxml.etree.c:108614)
File "src\lxml\parser.pxi", line 584, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:102150)
File "src\lxml\parser.pxi", line 694, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:103800)
File "src\lxml\parser.pxi", line 622, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:102669)
IOError: Error reading file 'c:\users\victor\appdata\local\temp\writetex-znmejr\writetex.svg': failed to load external entity "file:/c:/users/victor/appdata/local/temp/writetex-znmejr/writetex.svg"

from writetex.

wanglongqi avatar wanglongqi commented on July 23, 2024

Do you have pdf2svg in your path? Try to run which pdf2svg in terminal.

from writetex.

Nouvilas avatar Nouvilas commented on July 23, 2024

I suppose not, but I can't seem to find the "unofficial pdf2svg binaries" for Windows that you mention on your website.

from writetex.

wanglongqi avatar wanglongqi commented on July 23, 2024

pdf2svg releases their official binaries recently, you can download from their repository. The unofficial one can be download from releases page.

from writetex.

Nouvilas avatar Nouvilas commented on July 23, 2024

Okay, I've installed the binaries, but now I can't even open Inkscape >_<
I get this error:
https://imgur.com/a/wPUOO
Which I guess it could be translated as "Can't find entry point of process g_network_monitor_get_network_metered in the dynamic-link library D:\Programas\Inkscape\libgiomm-2.4-1.dll"

from writetex.

wanglongqi avatar wanglongqi commented on July 23, 2024

I think you damaged inkscape program, you have to reinstall inkscape. Put pdf2svg into search path, do not copy the files into inkscape folder. They are not compiled with the same version of dynamic libraries, and normally inkscape folder does not in the path variable.

from writetex.

Nouvilas avatar Nouvilas commented on July 23, 2024

What do you mean by "search path"?

from writetex.

wanglongqi avatar wanglongqi commented on July 23, 2024

Check this webpage.

from writetex.

Related Issues (20)

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.