sk1project / uniconvertor

UniConvertor is a cross-platform universal vector graphics translator
https://sk1project.net
GNU Affero General Public License v3.0
152 stars 41 forks source link

Bulk conversion fails #47

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello,

I installed UniConvertor 2.0rc5 build 20210831 on windows 10 x64 and want to convert several files via bulk. I have a bat file with the following content:

uniconvertor --recursiv --format=PNG --log=DEBUG -vs Input/*.svg Output/

The log now says:

INFO | 02:10:31 PM | uc2.application --> Translation of "C:\Example\Input\autoimg.svg" into "C:\Example\Output\autoimg.png"

and in the console is

Translation of "C:\Example\Input\autoimg.svg" into "C:\Example\Output\autoimg.png" ...[ FAIL ]

and the folder Output is empty.

If I want to convert this file alone

uniconvertor Input/autoimg.svg Output/autoimg.png

the file will be converted as desired.

INFO | 02:15:02 PM | uc2.application --> Translation of "C:\Example\Input\autoimg.svg" into "C:\Example\Output\autoimg.png" INFO | 02:15:02 PM | uc2.application --> Start to search saver by file extension png INFO | 02:15:02 PM | uc2.application --> Saver is found for extension png INFO | 02:15:02 PM | uc2.application --> Start to search for loader by file extension svg INFO | 02:15:02 PM | uc2.application --> Loader "svg_loader" is found for C:\Example\Input\autoimg.svg INFO | 02:15:02 PM | uc2.application --> document model is updated successfully INFO | 02:15:02 PM | uc2.application --> Parsing in progress... INFO | 02:15:02 PM | uc2.application --> document model is created INFO | 02:15:02 PM | uc2.application --> document model is updated successfully INFO | 02:15:02 PM | uc2.application --> document model is updated successfully INFO | 02:15:05 PM | uc2.application --> document model is destroyed for C:\Example\Input\autoimg.svg INFO | 02:15:05 PM | uc2.application --> document model is destroyed for C:\Example\Input\autoimg.svg INFO | 02:15:05 PM | uc2.application --> Translation is successful

I would expect that both calls would result in the same result and the files would be converted.

Best wishes

DietRedThunder commented 10 months ago

Did you get any joy ?

I get the same as you :-(

Translation of "C:\UNI\AIRCRAFT\ZONEJUMP.CMX" into "c:\uni\aircraft_svg\ZONEJUMP.svg" ...[ FAIL ]

C:\UNI\AIRCRAFT>uniconvertor --vs --recursive --format=svg *.cmx c:\uni\aircraft_svg\