[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gb.xml2: xmlwriter gives error on creating xml file
[Thread Prev] | [Thread Next]
- Subject: Re: gb.xml2: xmlwriter gives error on creating xml file
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Wed, 11 Nov 2026 16:36:40 +0000
- Cc: user@xxxxxxxxxxxxxxxxxxxxxx
On Wednesday, November 11th, 2026 at 17:00, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote: > Le 11/11/2026 à 16:51, gbWilly a écrit : > > On Wednesday, November 11th, 2026 at 12:20, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote: > > > >> Le 10/11/2026 à 22:28, gbWilly a écrit : > >>> > >>> Added is a screenshot of me running two scripts: > >>> First script created xml-test.xml file and prints content in terminal > >>> Second script created xml2-test.xml file but refuses to print its > >>> content in terminal. > >>> I opened it to show you it exists and has proper content, so that part > >>> goes well. > >> > >> It may fail because you use an old version of 'gb.xml2'. > > > > I cloned the Debian 12 vm with master installed, upgraded the clone Debian 13 and tried again. > > The error output in terminal is gone, as you can see on the screenshot. > > So, that had to do with the library version it seems. > > > >> Everything works here, > > > > Everything? You sure? > > - The error line is gone (this changed) > > - The file is created (this already happened, so unchanged) > > - The file content is printed in terminal (this doesn't happen, so unchanged) > > > > In added a screenshot: > > - In red the file created by xml script (gb.xml) and printed in terminal (this is the expected behavior) > > - In yellow the file created by xml2 script (gb.xml2), but it is not printed (not the expected behavior) > > > > Did the xml2 script print the created file in terminal on your system? As that doesn't work for me as seen in the screenshot. > > And if so, what could be the reason? I mean the file is there. > > > > Here is a screenshot. > Wow, it really works all the way on your system. I can't imagine the Print statement not working, so something in the library must be causing it, that has been fixed since. One thing is for sure, Debian 13 will be on this library version for many years to come, so I guess I'll stick to gb.xml for now and meanwhile play with gb.xml2 to see what works and what not with this version library. Thank you for the clarifications gbWilly ...there is always a Catch if things go wrong!
| Re: gb.xml2: xmlwriter gives error on creating xml file | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| gb.xml2: xmlwriter gives error on creating xml file | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: gb.xml2: xmlwriter gives error on creating xml file | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: gb.xml2: xmlwriter gives error on creating xml file | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: gb.xml2: xmlwriter gives error on creating xml file | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |