python_webservices_library icon indicating copy to clipboard operation
python_webservices_library copied to clipboard

Type Error on starting a session

Open Hegemon opened this issue 13 years ago • 1 comments

Hi there,

When I tried to start a session, I get a TypeError.

C:\Python26\lib\site-packages\sugarcrm\sugarcrm.pyc in init(self, url, username, password) 76 rst_modules = self.get_available_modules() 77 for module_name in [module['module_key'] for ---> 78 module in rst_modules['modules']]: 79 try: 80 module = SugarModule(self, module_name)

TypeError: string indices must be integers

I'm not sure if I'm doing anything wrong or if there's some bug in the program. In case it matters, I'm connecting to an https site, not an http.

Any help or patch would be much appreciated! Thanks!

Hegemon avatar Oct 09 '12 17:10 Hegemon

Can you try this both with the latest that's been accepted into the master branch, and also with what you can find on my fork? I believe this is addressed.

gddc avatar Mar 04 '13 03:03 gddc