javsezlol1 / Stylez

111 stars 8 forks source link

old style.csv with weird style names fails to convert #3

Closed erajomppa closed 11 months ago

erajomppa commented 11 months ago

Hi, I was just able to get the extension working, but I'd like to let you know of a problem I had. After first starting the UI with the extension installed, the extension tries to convert the old style.csv styles into json files. In my case there were dummy styles, which were named such as:

*NEGATIVE PROMPTS ONLY

and styles with "/" character in them:

Digital/Oil painting

These gave errors and the extension did not work. As expected, files with those names could not be created. After removing the extension I renamed the styles in the styles.csv without special characters and everything seems to work just fine. My old styles were converted successfully now, But in case someone else decides to name their styles in the styles.csv with special characters, maybe a check should be in place to alter them before converting them into a file with that name?

image

javsezlol1 commented 11 months ago

thanks ill look into this !

javsezlol1 commented 11 months ago

just to let you know i have fixed this now but haved pushed the update out just yet making some visual adjustmensts too so ill leave this issue open for now

javsezlol1 commented 11 months ago

this has been fixed in the latest update