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

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

Open
dylan-chong opened this issue Jul 8, 2018 · 2 comments
Open

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

dylan-chong opened this issue Jul 8, 2018 · 2 comments

Comments

@dylan-chong
Copy link
Contributor

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

@calmofthestorm
Copy link
Member

Interesting. I don't actually have any way to test things on OS X at the moment, so I'm unlikely to work on this. I don't mind reviewing OS X code (though given I can't run it unclear how valuable my review is) or discussing its issues here though!

Relatedly, do you think it would make sense to separate out the OS X server into its own repo owned/maintained by someone who actually uses OS X? I don't feel like I really add much value:-)

@dylan-chong
Copy link
Contributor Author

dylan-chong commented Jul 13, 2018 via email

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

2 participants