CSV format importer script for TVPaint
Re: CSV format importer script for TVPaint
It seems George has a problem with the space characters in filenames. This is a new version of the debug script, please check it. Thanks.
- Attachments
-
- import_csv_debug.grg
- (15.04 KiB) Downloaded 1996 times
Re: CSV format importer script for TVPaint
Yes, now it's working, what did you do? Had it something to do with spaces between characters?
I will try this new script on a larger project and let you know how it goes, thank you!
Here is the screenshots again for loading the same project as before:
https://dl.dropboxusercontent.com/u/215 ... 0debug.zip" onclick="window.open(this.href);return false;
Cheers / Ulrik
I will try this new script on a larger project and let you know how it goes, thank you!
Here is the screenshots again for loading the same project as before:
https://dl.dropboxusercontent.com/u/215 ... 0debug.zip" onclick="window.open(this.href);return false;
Cheers / Ulrik
Re: CSV format importer script for TVPaint
Hello Ulrik,
Thanks for the help. The problem was if there are spaces in filenames, the name must be between quotes for some George commands even if it's a variable. Strange behaviour, maybe because George is a macro language.
instead of:
you must use something like:
The freeze happened because of the spaces in the name: the tv_readtextfile returned an error message instead of the file contents and the script was not able to handle it and went into an infinite loop.
Thanks for the help. The problem was if there are spaces in filenames, the name must be between quotes for some George commands even if it's a variable. Strange behaviour, maybe because George is a macro language.
instead of:
Code: Select all
file= "C:\path with spaces\file"
tv_readtextfile row file
Code: Select all
file= "C:\path with spaces\file"
file= '"'file'"'
tv_readtextfile row file
Re: CSV format importer script for TVPaint
Ok, I think I understand.
The latest debug script seems to work ok, but it does not make "a new project" if I chose it in the message window
The latest debug script seems to work ok, but it does not make "a new project" if I chose it in the message window
-
- Posts: 1
- Joined: 30 Aug 2016, 10:58
- Location: New York
- Contact:
Re: CSV format importer script for TVPaint
Hello ![Smile :)](./images/smilies/icon_smile.gif)
Guys
I am Leon Ferrara from New York city a newbie in this forum. I want say thank to all of you that take parts in this discussion. Because I got many information able issue that I wanted.
![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
Guys
I am Leon Ferrara from New York city a newbie in this forum. I want say thank to all of you that take parts in this discussion. Because I got many information able issue that I wanted.
![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
Re: CSV format importer script for TVPaint
Ulrik: oh OK
I guess it's the space character again... Now it's surely in the name of the scene. Fortunately you are using spaces everywhere, so these bugs are coming out.
Try this new debug version please. Some other possible bugs are also fixed.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Try this new debug version please. Some other possible bugs are also fixed.
- Attachments
-
- import_csv_debug.grg
- (15.73 KiB) Downloaded 1928 times
Re: CSV format importer script for TVPaint
Beautiful Fazek, this one is even better, and you have removed the "debug" messages it seems.
Thank you for all your effort, it's much appreciated!
Regards Ulrik
Thank you for all your effort, it's much appreciated!
Regards Ulrik
Re: CSV format importer script for TVPaint
I'd like to thank for your help too, without your feedbacks it could have been very difficult to find these bugs.
I've also refreshed the downloadable scripts in the initial post of this topic, so you can upgrade to the new "official" versions too.
I've also refreshed the downloadable scripts in the initial post of this topic, so you can upgrade to the new "official" versions too.