-
Notifications
You must be signed in to change notification settings - Fork 25
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
Comments
Same for 5.0.0 |
@navinpeiris please, add 5.0.0 support |
+1 |
1 similar comment
+1 |
I cant convert 5.0.0. too. |
+1 |
Forked and added 5.0.0 support :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: