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

Rebuild logos #3

Closed
patrickdeutsch-wk opened this issue Mar 2, 2022 · 6 comments
Closed

Rebuild logos #3

patrickdeutsch-wk opened this issue Mar 2, 2022 · 6 comments

Comments

@patrickdeutsch-wk
Copy link

Hello,
I tried to run the build in hopes to compile newly added logos. I ran into issues getting the build to work with groovy. Would it be possible to setup automated releases with github actions to keep logos current? Or just do a refresh?

@Potherca
Copy link
Member

Potherca commented Mar 2, 2022

Either one would be awesome. Any help would be greatly appreciated, as there is not much energy/effort available to maintain and improve this repo 😞

@patrickdeutsch-wk
Copy link
Author

Yeah, I don't have a lot a familiarity with groovy. But I imagine my issues are by not using the correct jdk version or potentially groovy version. This is where i get blocked.

❯ docker run --rm -v "$PWD":/home/groovy/scripts -w  /home/groovy/scripts groovy:jdk8 groovy svgsFolderUrl2plantUmlSprites.groovy https://github.com/gilbarbara/logos/tree/master/logos

Caught: java.lang.LinkageError: loader constraint violation: loader (instance of org/codehaus/groovy/tools/RootLoader) previously initiated loading for a different type with name "org/w3c/dom/UserDataHandler"
java.lang.LinkageError: loader constraint violation: loader (instance of org/codehaus/groovy/tools/RootLoader) previously initiated loading for a different type with name "org/w3c/dom/UserDataHandler"
        at svgsFolderUrl2plantUmlSprites.svg2Png(svgsFolderUrl2plantUmlSprites.groovy:120)
        at svgsFolderUrl2plantUmlSprites$_run_closure2.doCall(svgsFolderUrl2plantUmlSprites.groovy:60)
        at svgsFolderUrl2plantUmlSprites.run(svgsFolderUrl2plantUmlSprites.groovy:55)

@Potherca
Copy link
Member

Potherca commented Mar 4, 2022

Yesterday, @rabelenda merged #5 which updates the dependencies.

image

And #4 which updates all the logos.

When I run the latest version, I get similar errors to #1 for 3 logos (firefox.svg, tastejs.svg, waffle-icon.svg) but other than that things seem to be working.

@patrickdeutsch-wk Can you confirm/refute my dinfings?

@rabelenda
Copy link
Collaborator

rabelenda commented Mar 4, 2022

Hello @patrickdeutsch-wk,

I tried the docker command you mentioned and haven't faced the issue you describe. Conversion goes fine (with some errors due to batik not supporting some css property valyes).

Additionally, when I run the script locally (without docker) I use java 8 and groovy 3, which are the same versions included in the docker image you are using.

Weird that you get the error with docker and I don't. Was the pull of the image for groovy recent? maybe you are using a different image than me?

The error you describe is usually generated by conflicts of groovy, or some dependency and the jvm jars, as far as I have experienced in the past.

@Potherca Potherca moved this to Backlog in All Projects Jul 3, 2022
@Potherca Potherca moved this from Backlog to Todo in All Projects Aug 21, 2022
@rabelenda
Copy link
Collaborator

Should we close this issue @Potherca ? Anything pending review that I may help with to close this issue?

@Potherca
Copy link
Member

I think we can close this. If issues arise, new tickets can be opened.

@github-project-automation github-project-automation bot moved this from Todo to Done in All Projects May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants