on 06-27-2018 8:41 AM
We are getting below error while executing a BODS Social media job.
106808832DQX-0583066/27/2018 10:58:28 AM|Data flow DF_Twitter_Map_Dataa|Transform Get_T_Data 106808832DQX-0583066/27/2018 10:58:28 AMTransform <Get_T_Data>: Traceback (most recent call last): 106808832DQX-0583066/27/2018 10:58:28 AMFile "EXPRESSION", line 568, in <module> 106808832DQX-0583066/27/2018 10:58:28 AMFile "EXPRESSION", line 510, in search 106808832DQX-0583066/27/2018 10:58:28 AMUnboundLocalError: local variable 'text' referenced before assignment. 106808832DQX-0583066/27/2018 10:58:28 AM|Data flow DF_Twitter_Map_Dataa|Transform Get_T_Data 106808832DQX-0583066/27/2018 10:58:28 AMTransform <Get_T_Data>: <UDT0004>: Error executing the expression. 106808832DQX-0583026/27/2018 10:58:28 AM|Data flow DF_Twitter_Map_Dataa|Transform Get_T_Data
Same flow is working fine in other environment.
We are calling a Python script inside the BODS Flow to extract the data from social media.
Kindly help me.
Hi. Are you trying to modify a global variable? Have you used global keyword while initializing the variable?
Regards. S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.