Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-10715

Blackberry: yml syntax for Socket.TCP is invalid

    Details

      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 "<unicode string>", line 195, column 1:
      platforms: [android, iphone, ipad]
      ^:

        Attachments

          Activity

            People

            • Assignee:
              agalstyan Alexander Galstyan
              Reporter:
              jlemieux Jean-Philippe Lemieux
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-14115
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration