-
Notifications
You must be signed in to change notification settings - Fork 26
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
Link.Relink throws "Cannot create the link resource from the given URI." #12
Comments
@sanzoghenzo Did you ever figure this out? I'm dealing with a similar problem. |
Hi @Amaretto-Coke , |
@sanzoghenzo Thanks for the reply. I'll continue troubleshooting, maybe there's a workaround. I'll post here if I find anything. |
@sanzoghenzo Putting "file:" in front of the path seemed to do the trick for me. |
This seemed to work for me as well. i.e |
Good to know! Closing this, but this info could be made into an example if someone is willing to do that |
Hi, thanks a ton for your work!
With the information on this site I was able to put up a python-centric DTP workflow, using invoke, pandoc, lxml and pillow.
Usually the final product is a bulletin with most of the pages in B/W, so I convert and place the b/w images (converted using pillow) in the InDesign file, but recently we need to also have the color version for digital distribution.
I'm trying to automate the switch from B/W to color images (I put them into two separate folders, "images" and "images_bw", so I only need to change the parent folder):
The
Link.Relink
method raises an exception:I saw that other have the same problem with javascript, and solved using the
new File()
js object (even though the docs states that you can use a string).Since we don't have access to the File object, what are our options here?
Thanks for the attention!
The text was updated successfully, but these errors were encountered: