Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10715] Blackberry: yml syntax for Socket.TCP is invalid

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-09-05T01:35:49.000+0000
Affected Version/sn/a
Fix Version/sSprint 2012-13 BB, BB Preview 3
ComponentsBlackBerry
Labelsdocumentation
ReporterJean-Philippe Lemieux
AssigneeAlexander Galstyan
Created2012-08-30T06:59:48.000+0000
Updated2017-03-06T17:55:35.000+0000

Description

Titanium/Network/Socket/TCP.yml fails validation with: [INFO] Parsing YAML files [ERROR] Exception occured while processing /Users/jpl/src/titanium/titanium_mobile/apidoc/Titanium/Network/Socket/TCP.yml: [ERROR] Traceback (most recent call last): [ERROR] File "/Users/jpl/src/titanium/titanium_mobile/apidoc/docgen.py", line 143, in load_one_yaml [ERROR] types = [the_type for the_type in yaml.load_all(f)] [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/__init__.py", line 83, in load_all [ERROR] yield loader.get_data() [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/constructor.py", line 33, in get_data [ERROR] return self.construct_document(self.get_node()) [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 27, in get_node [ERROR] return self.compose_document() [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 55, in compose_document [ERROR] node = self.compose_node(None, None) [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 84, in compose_node [ERROR] node = self.compose_mapping_node(anchor) [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 133, in compose_mapping_node [ERROR] item_value = self.compose_node(node, item_key) [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 82, in compose_node [ERROR] node = self.compose_sequence_node(anchor) [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 111, in compose_sequence_node [ERROR] node.value.append(self.compose_node(node, index)) [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 84, in compose_node [ERROR] node = self.compose_mapping_node(anchor) [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/composer.py", line 127, in compose_mapping_node [ERROR] while not self.check_event(MappingEndEvent): [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/parser.py", line 98, in check_event [ERROR] self.current_event = self.state() [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/parser.py", line 428, in parse_block_mapping_key [ERROR] if self.check_token(KeyToken): [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/scanner.py", line 116, in check_token [ERROR] self.fetch_more_tokens() [ERROR] File "build/bdist.macosx-10.7-intel/egg/yaml/scanner.py", line 257, in fetch_more_tokens [ERROR] % ch.encode('utf-8'), self.get_mark()) [ERROR] ScannerError: while scanning for the next token [ERROR] found character '\t' that cannot start any token [ERROR] in "/Users/jpl/src/titanium/titanium_mobile/apidoc/Titanium/Network/Socket/TCP.yml", line 195, column 1 Error parsing /Users/jpl/src/titanium/titanium_mobile/apidoc/Titanium/Network/Socket/TCP.yml: while scanning for the next token found character '\t' that cannot start any token in "", line 195, column 1: platforms: [android, iphone, ipad] ^:

Comments

  1. Lee Morris 2017-03-06

    Closing ticket due to time passed.

JSON Source