Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-03-07 Thread maxSonic Sun
Hi Mark, Any update? Best Regards, Sonic Sun On Wednesday, February 24, 2016 at 7:27:19 PM UTC+8, maxSonic Sun wrote: > > Hi Mark, > > Same encoding. > > ubuntu@ip-10-0-26-250:~$ echo $LANG > en_US.UTF-8 > > Best Regards > Sonic > > On Wednesday, February 24, 2016 at 4:47:30 AM UTC+8, Mark

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-24 Thread maxSonic Sun
Hi Mark, Same encoding. ubuntu@ip-10-0-26-250:~$ echo $LANG en_US.UTF-8 Best Regards Sonic On Wednesday, February 24, 2016 at 4:47:30 AM UTC+8, Mark Saniscalchi wrote: > > Hello Sonic, > > I can see that you have en_US.utf8 as an available locale, but is it > actually being used? What is the

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-23 Thread Mark Saniscalchi
Hello Sonic, I can see that you have en_US.utf8 as an available locale, but is it actually being used? What is the output of echo $LANG? I've reproduced and resolved your issue by setting the locale to a different value, so I suspect you might not actually have that set correctly on the VM. I

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-19 Thread maxSonic Sun
Hi Mark, On my server machine, the locale is ubuntu@ip-10-0-24-250:~$ locale -a C C.UTF-8 en_US.utf8 POSIX But I still have the problem. The system I have is ubuntu 14.04 server on aws. That should not be the ANSII encoding problem. *And by the way, my problem is not caused by the logger as

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-19 Thread Mark Saniscalchi
Hello Sonic, Sorry for the delay. If you look to my initial response, I did run and successfully retrieve an account name containing utf-8 characters using the get_account_hierarchy.py example in v201509 using Python 2. This was on a machine where the default encoding is utf-8. I provided the

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-19 Thread maxSonic Sun
Hi Mark, Any update? Best Regards, Sonic On Saturday, February 6, 2016 at 1:08:31 AM UTC+8, Mark Saniscalchi wrote: > > Hello Sonic, > > That looks correct, so you are using the right version of suds-jurko at > least. > > On my workstation, I created a campaign with the name that you're

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-10 Thread maxSonic Sun
Hi Mark, I have tried and it seems that the code will not run into the suds client :( In the code below, the graph will always be {}, leaving no way to have any content in it. And the error message is ":1:29168: not well-formed (invalid token)", I think this message is from the xml parsing

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-09 Thread maxSonic Sun
Hi Mark, Thanks for your reply :) I will try your solution to walk around the issue. Will report to you if I encounter any other problem. Best Regards, Sonic Sun On Saturday, February 6, 2016 at 1:08:31 AM UTC+8, Mark Saniscalchi wrote: > > Hello Sonic, > > That looks correct, so you are

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-05 Thread Mark Saniscalchi
Hello Sonic, That looks correct, so you are using the right version of suds-jurko at least. On my workstation, I created a campaign with the name that you're having issues parsing and ran the get_campaigns.py example. I ran (sort of) without issues: INFO:oauth2client.client:Refreshing

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-01 Thread maxSonic Sun
Hi Mark, Here is the version: __version__ = "0.6" __build__ = "" Best Regards Sonic Sun On Monday, February 1, 2016 at 11:32:44 PM UTC+8, Mark Saniscalchi wrote: > > Hello Sonic, > > I'd just like to confirm, could you tell me what the version number is in > the following file: > > >

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-02-01 Thread Mark Saniscalchi
Hello Sonic, I'd just like to confirm, could you tell me what the version number is in the following file: /project/apiservice/venvdocker/local/lib/python2.7/site-packages/suds/version.py Thanks, Mark On Monday, February 1, 2016 at 2:51:27 AM UTC-5, maxSonic Sun wrote: > > Hi, > > There is

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-01-31 Thread maxSonic Sun
Hi, There is something weird here, I am able to parsed some other unicode characters and also other accounts of my customer. I have listed all the pip lib in my machine, I think I have installed all the lib correctly. By the way, I didn't change any of the import in the py file, how can it be

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-01-21 Thread Mark Saniscalchi
Hello, We aren't able to replicate this issue with account names containing unicode characters. In my case, I ran the get_account_hierarchy.py sample and got

SOAP XML error for Chinese Names in ManagedCustomerService

2016-01-20 Thread maxSonic Sun
Hi, I have the error as shown in the first pic below. It seems that it is caused by the decoding of the soap xm. The second pic is my code. However, if I remove the "name" from the selector, everything works fine. My customers have lots of Chinese Name in their MCC accounts. I think it is