Single Quote being escaped as \ in Package - Scripts

More
1 year 11 months ago #24258 by prashant
Hellos,

In Summary
1. single quote ' is interpreted as \ when setting the variable in python regardless of whatever I try

Long
0.5 I have a super simple package which reads from SQL and displays the item. 
1. SQL ENTRY for URL LOGGER -->
Code:
{"apps": "for anger's sake"}
2. I use a super simple python script 
Code:
import etltools xjson = etltools.GetVariable('<json_variable>') try:     etltools.SetVariable('formatted_json', xjson)     Result.Value = 1   except Exception as e:    Result.Value = 0

See output



 

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #24259 by prashant
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #24260 by Peter.Jonson
We have reproduced the problem

Peter Jonson
ETL Developer
The following user(s) said Thank You: prashant

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #24263 by admin
FYI: The issue you reported was addressed in the latest release

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
1 year 11 months ago #24264 by prashant
Working absolutely fine now thanks

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save