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

Current document is unable to create an element of the requested type . . . #153

Open
irwin613 opened this issue Dec 5, 2024 · 8 comments

Comments

@irwin613
Copy link

irwin613 commented Dec 5, 2024

I created a python script that executed and produced the desired result. The output is a multicolored graphic with each colour(5) saved as its own layer in an Inkscape-optimised SVG file. I also tried opening the file in a 'regular' SVG format but still get the same error message.

The complete error message is namespace:http://www.w3.org/2000/svg, name:plotdata

inspiral.docx

@SonarSonic
Copy link
Owner

Could you upload the SVG here to?

@irwin613
Copy link
Author

irwin613 commented Dec 5, 2024 via email

@irwin613
Copy link
Author

irwin613 commented Dec 6, 2024

inspiral_1

@irwin613
Copy link
Author

irwin613 commented Dec 9, 2024

@ollie regarding issue #153. Playing around with the script for this issue, I removed the requirement to save each color as a separate layer within the svg file. The output, as modified is readable by DBv3. Like the original, it is also readable by Inkscape. the only difference being the layer structure in Inkscape makes it more difficult to plot out.

I can now modify the output using your program, but the output is more finiky to manipulate when it comes to plotting out via Inkscape. Is there a fix that can be implemented in DBv3 so that the flexibility of separate layers within an SVG file can be maintained?

@ollie
Copy link

ollie commented Dec 10, 2024

@irwin613 I believe you have mentioned the wrong ollie. :)

@irwin613
Copy link
Author

irwin613 commented Dec 10, 2024 via email

@SonarSonic
Copy link
Owner

@irwin613 Is each layer just a different colour, in which case it can be maintained by exporting as an Inkscape SVG, but if each layer contains multiple colours then at the moment this is not possible.

@irwin613
Copy link
Author

@SonarSonic Each color is indeed a separate layer. I suppose that l can export each layer as a separate file but that gets to be tedious and then there is the concern about ensuring each new layer is in register with previous ones. I should mention that this error doesn’t always occur. I have numerous svg files where colors are saved as individual layers within one file,
Without that error message. Thanks for trying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants