Skip to content

Error with SDK 1.4.0 #19

@stephenconnolly

Description

@stephenconnolly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions