Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(URGENT) Inkscape hangs CLI due to importing EPS forcing interactivity #309

Closed
1 of 3 tasks
ronaldtse opened this issue Jul 26, 2023 · 2 comments
Closed
1 of 3 tasks
Assignees
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Jul 26, 2023

New issue: Inkscape is forcing use of interactivity for importing EPS, and that hangs command line.

https://inkscape.org/forums/beyond/additional-question-in-inkscape-12-hangs-the-command-line-execution/

Not fixed as of two months ago: https://gitlab.com/inkscape/inkscape/-/issues/3524

A user will have to click "ok" for this to work, or else we have to modify the settings of inkspace in the Metanorma deployment, per first link:

Hello @AndrejMrvar, I had the same problem and was solved editing the file /usr/share/inkscape/extensions/eps_input.inx and replace:

<param name="autorotate" type="optiongroup" appearance="combo" gui-text="Determine page orientation from text direction"
  gui-description="The PS/EPS importer can try to determine the page orientation such that the majority of the text runs left-to-right.">
  <option value="None">Disabled</option>
  <option value="PageByPage">Page by page</option>
  <option value="All">All</option>
 </param>

with

<param name="autorotate" type="string" gui-hidden="true">None</param>

We need to do the following:

  • When we install Inkscape for our deliverables we need to ensure interactivity for Inkscape is turned off (i.e. inkscape/extensions/eps_input.inx)
  • When we execute EPS conversion, we need to ensure Inkscape runs without interactivity
  • In our GHA jobs, we need to ensure that Inkscape has interactivity turned off. - metanorma/metanorma-cli#309 modify eps_input.inx autorotate param ci#116
@ronaldtse ronaldtse added the bug Something isn't working label Jul 26, 2023
@github-project-automation github-project-automation bot moved this from 🌋 Urgent to 🆕 New in Metanorma Jul 26, 2023
@ronaldtse ronaldtse moved this to 🌋 Urgent in Metanorma Jul 26, 2023
CAMOBAP added a commit to metanorma/ci that referenced this issue Aug 4, 2023
CAMOBAP added a commit to metanorma/ci that referenced this issue Aug 5, 2023
…on-inkscape-eps-inport

metanorma/metanorma-cli#309 modify eps_input.inx autorotate param
@CAMOBAP
Copy link
Contributor

CAMOBAP commented Nov 14, 2023

Per the update on https://inkscape.org/forums/beyond/additional-question-in-inkscape-12-hangs-the-command-line-execution/, the issue is fixed in Inkscape 1.3.

need to verify

@CAMOBAP
Copy link
Contributor

CAMOBAP commented Nov 14, 2023

The issue doesn't reproduces anymore https://github.com/metanorma/bs-202000/issues/20

@CAMOBAP CAMOBAP closed this as completed Nov 14, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Metanorma Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants