Red Gate forums :: View topic - Python Scripts blanking out
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Generator 3
SQL Data Generator 3 forum

Python Scripts blanking out

Search in SQL Data Generator 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
seann



Joined: 16 Apr 2014
Posts: 1

PostPosted: Wed Apr 16, 2014 2:33 pm    Post subject: Python Scripts blanking out Reply with quote

I am using the Python Script generator. I insert just 2 possible values.

def main(config):

return ["VAT", "Zero"]

All seems fine in the preview screen. After navigating among the other columns in the same table, I return to this column and the Python Script blanks out and the values in the preview screen turn to NULL. This also happens if I stick to the default sample code provided.

I have successfully used this method elsewhere in my project. So something is effecting this functionality. I have closed and re-opened the project as well.

Any advise/guidance would be appreciated.
Back to top
View user's profile Send private message
jessd



Joined: 06 Aug 2014
Posts: 1

PostPosted: Wed Aug 06, 2014 4:12 am    Post subject: Reply with quote

I am also encountering this problem. Has there been a resolution/workaround for this?

It's a bit tough saving my work only to find out my python scripts for the other columns have been cleared.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group