Giter Club home page Giter Club logo

Comments (8)

nathanal avatar nathanal commented on May 28, 2024 1

This was reported in https://gitlab.com/inkscape/inbox/-/issues/7727, where OP noted that the error logs reported a missing dependency of inkex. If you open the writetex.inx and delete the line that says inkex.py, perhaps that will work?

<dependency type="executable" location="extensions">inkex.py</dependency>

from writetex.

wanglongqi avatar wanglongqi commented on May 28, 2024 1

@nathanal Thanks for your comment! It seems to be a good idea to remove the line as in Inkscape 1.2.1 the inkex module is changed from a file to a folder. I have tested it on Unbuntu 18.04 machine and removing that line will make the extension load again.

@shivaway can you have a try on your machine to test whether the extension will work after removing such a line?

from writetex.

sbelharbi avatar sbelharbi commented on May 28, 2024

hi,
i am having the same issue.
inkscape: Inkscape 1.2 (1:1.2.1+202207142221+cd75a1ee6d)
this github writetex.
ubuntu 20.04.

the extension is displayed in the list of extensions.
but when i click, nothing happens.

thanks

from writetex.

wanglongqi avatar wanglongqi commented on May 28, 2024

I can reproduce the error with a non-default Inkscape theme.

Actually, if you wait enough long, an error dialog will pop out with GTK errors. So my guess would be that non-default themes don't have all icon resources as the default theme. If you roll back to the default theme the extension should work as normal.

image

image

from writetex.

sbelharbi avatar sbelharbi commented on May 28, 2024

hi,
i rolled back the inkscape theme to the system default one.

inkscape

i got the same behavior.
clicking on: extensions > writetex, does not do anything. it does not launch the extension.
could it be something related to my installation? python versions? my default system theme (yaru-dark)? is there a preferred theme?

so fare, there is me and @ shivaway who had the issue. (plus you on non default theme.)
this extension is very handy and easy to use.
now, i am using textext. a bit different, and it yields warning every time it generates text.

thanks

from writetex.

coding-javion avatar coding-javion commented on May 28, 2024

Hi, I have the same problem.
Inkscape 1.2.1 (9c6d41e410, 2022-07-14)
Windows 10 and Python 3.8.2.

from writetex.

shivaway avatar shivaway commented on May 28, 2024

The error that keeps popping up is:

C:\Program Files\Inkscape\bin\pythonw.exe: can't find 'main' module in 'C:\Program Files\Inkscape\bin'

Hopefully this helps...

from writetex.

shivaway avatar shivaway commented on May 28, 2024

This worked perfectly! Thank you very much. I depend on this for a lot of different things and it was driving me nuts!

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.