Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with sdk 4.1.0 #18

Open
felipe3000 opened this issue Aug 21, 2015 · 7 comments
Open

Error with sdk 4.1.0 #18

felipe3000 opened this issue Aug 21, 2015 · 7 comments

Comments

@felipe3000
Copy link

Im getting an error with sdk 4.1.0.

My console output:

Retrieving Titanium JSCA API for version: 4.1.0
Converting API to JavaScript
Traceback (most recent call last):
File "D:\Users\felipe.almeida-sc\Desktop\jsca2js-master\titanium-mobile.py", l
ine 124, in
main()
File "D:\Users\felipe.almeida-sc\Desktop\jsca2js-master\titanium-mobile.py", l
ine 114, in main
javascript = convertJsca2Js(jsca, version)
File "D:\Users\felipe.almeida-sc\Desktop\jsca2js-master\jsca2js.py", line 268,
in convertJsca2Js
javascript += formatNamespace(namespace)
File "D:\Users\felipe.almeida-sc\Desktop\jsca2js-master\jsca2js.py", line 251,
in formatNamespace
formatter.addLine(formatMethods(namespaceContent))
File "D:\Users\felipe.almeida-sc\Desktop\jsca2js-master\jsca2js.py", line 196,
in formatMethods
formatter.add(generateMethodJSDoc(method))
File "D:\Users\felipe.almeida-sc\Desktop\jsca2js-master\jsca2js.py", line 142,
in generateMethodJSDoc
formatter.addLine(prefix, '@returns ', formatReturn(returns))
File "D:\Users\felipe.almeida-sc\Desktop\jsca2js-master\formatter.py", line 18
, in addLine
return self.add(self.indent).add(''.join(args)).newLine()
TypeError: sequence item 2: expected string, list found

@caspahouzer
Copy link

Same for 5.0.0

@thiagotalma
Copy link

@navinpeiris please, add 5.0.0 support

@caspahouzer
Copy link

+1

1 similar comment
@Tako88
Copy link

Tako88 commented Nov 3, 2015

+1

@beta-tank
Copy link

I cant convert 5.0.0. too.

@botmaster
Copy link

+1

@DeSater
Copy link

DeSater commented Feb 23, 2016

Forked and added 5.0.0 support :)

https://github.com/DeSater/jsca2js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants