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 1.4.0 #19

Open
stephenconnolly opened this issue Aug 25, 2015 · 3 comments
Open

Error with SDK 1.4.0 #19

stephenconnolly opened this issue Aug 25, 2015 · 3 comments

Comments

@stephenconnolly
Copy link

Hello,

See below, I get the the following error:

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

Any ideas ?

Regards,
Stephen

@caspahouzer
Copy link

Same for 5.0.0

@DeSater
Copy link

DeSater commented Feb 23, 2016

Forked and added 5.0.0 support :)

https://github.com/DeSater/jsca2js

@caspahouzer
Copy link

f**ck yeah!

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

3 participants