Skip to content

Text('a"b') causes errors in the osx server #163

@dylan-chong

Description

@dylan-chong
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\dragonfly\engines\engine_natlink.py", line 248, in results_callback
    r.process_recognition(root)
  File "C:\Python27\lib\site-packages\dragonfly\grammar\rule_compound.py", line 143, in process_recognition
    self._process_recognition(node, extras)
  File "C:\NatLink\NatLink\MacroSystem\_charwise_vim.py", line 736, in _process_recognition
    executable.execute()
  File "C:\Python27\lib\site-packages\dragonfly\actions\action_base.py", line 127, in execute
    if self._execute(data) == False:
  File "C:\NatLink\NatLink\MacroSystem\aenea\wrappers.py", line 255, in _execute
    DynStrActionBase._execute(self, data)
  File "C:\Python27\lib\site-packages\dragonfly\actions\action_base.py", line 179, in _execute
    self._execute_events(self._events)
  File "C:\NatLink\NatLink\MacroSystem\aenea\wrappers.py", line 268, in _execute_events
    return self._proxy._execute_events(commands[0])
  File "C:\NatLink\NatLink\MacroSystem\aenea\proxy_actions.py", line 130, in _execute_events
    aenea.communications.server.execute_batch(commands)
  File "C:\NatLink\NatLink\MacroSystem\aenea\communications.py", line 100, in execute_batch
    self._execute_batch(batch, aenea.config.USE_MULTIPLE_ACTIONS)
  File "C:\NatLink\NatLink\MacroSystem\aenea\communications.py", line 87, in _execute_batch
    batch[0][0])(*batch[0][1], **batch[0][2])
  File "C:\Python27\lib\site-packages\jsonrpclib\jsonrpc.py", line 290, in __call__
    return self.__send(self.__name, kwargs)
  File "C:\Python27\lib\site-packages\jsonrpclib\jsonrpc.py", line 238, in _request
    check_for_errors(response)
  File "C:\Python27\lib\site-packages\jsonrpclib\jsonrpc.py", line 567, in check_for_errors
    raise ProtocolError((code, message))
jsonrpclib.jsonrpc.ProtocolError: (-32603, u'Server error:   File "/usr/local/lib/python2.7/site-packages/applescript/__init__.py", line 49, in __init__ | ScriptError: Expected end of line but found ?"?. (-2741) range=105-106')

This problem occurs with or without the changes from #162

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions