{"action":"created","issue":{"url":"https://api.github.com/repos/synkarius/caster/issues/69","labels_url":"https://api.github.com/repos/synkarius/caster/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/synkarius/caster/issues/69/comments","events_url":"https://api.github.com/repos/synkarius/caster/issues/69/events","html_url":"https://github.com/synkarius/caster/issues/69","id":93278939,"number":69,"title":"[WSR] Legion feature not available without PIL","user":{"login":"Zone22","id":1348848,"avatar_url":"https://avatars.githubusercontent.com/u/1348848?v=3","gravatar_id":"","url":"https://api.github.com/users/Zone22","html_url":"https://github.com/Zone22","followers_url":"https://api.github.com/users/Zone22/followers","following_url":"https://api.github.com/users/Zone22/following{/other_user}","gists_url":"https://api.github.com/users/Zone22/gists{/gist_id}","starred_url":"https://api.github.com/users/Zone22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zone22/subscriptions","organizations_url":"https://api.github.com/users/Zone22/orgs","repos_url":"https://api.github.com/users/Zone22/repos","events_url":"https://api.github.com/users/Zone22/events{/privacy}","received_events_url":"https://api.github.com/users/Zone22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T13:29:39Z","updated_at":"2015-07-06T23:15:50Z","closed_at":null,"body":"The error can be reproduced after legion command is recognized by WSR through repetition of the command. The sound meter in WSR does not register sound. In addition WSR no longer receives a dictation slash commands. WSR at this point has not frozen.  PIL dependency seems to be installed via pip.bat and correctly placed within Python.\r\n\r\nAt this point If WSR was not restarted but Caster was it would produce the error below. WSR completely locks up and has to be terminated by the task manager.\r\n\r\nMicrosoft Windows [Version 6.3.9600]\r\n(c) 2013 Microsoft Corporation. All rights reserved.\r\n\r\nC:\\Windows\\System32>C:\\Users\\User\\Desktop\\Caster.lnk\r\n*- Starting Caster v 0.4.9 -*\r\nNo handlers could be found for logger \"engine.sapi5\"\r\n\r\nAttempting to load CCR anyway...\r\n<class 'dragonfly.engines.base.engine.EngineError'>\r\nNo usable engines found.\r\n<traceback object at 0x01CF1620>\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\_caster.py\", line 26, in <module>\r\n\r\n    from caster.lib.dfplus.state import stack# requires control\r\n\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\caster\\lib\\dfplus\\state\\stack.py\"\r\n, line 126, in <module>\r\n    control.nexus().inform_state(CasterState())\r\n\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\caster\\lib\\control.py\", line 101,\r\n in nexus\r\n    _NEXUS = Nexus()\r\n\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\caster\\lib\\control.py\", line 77,\r\nin __init__\r\n    self.macros_grammar = Grammar(\"recorded_macros\")\r\n\r\n  File \"C:\\Python27\\lib\\site-packages\\dragonfly\\dragonfly\\grammar\\grammar_base.p\r\ny\", line 81, in __init__\r\n    self._engine = get_engine()\r\n\r\n  File \"C:\\Python27\\lib\\site-packages\\dragonfly\\dragonfly\\engines\\__init__.py\",\r\nline 86, in get_engine\r\n    raise EngineError(\"No usable engines found.\")\r\n\r\nexception: No usable engines found.\r\nframe: ('C:\\\\Python27\\\\lib\\\\site-packages\\\\dragonfly\\\\dragonfly\\\\config.py', 242\r\n, 'load_from_file', 'execfile(path, namespace)')\r\nframe: ('C:/Users/User/Documents/GitHub/caster/caster/bin/data/ccr/configpunctu\r\nation.txt', 13, '<module>', '\"semper\":\\t\\t\\t\\t\\t\\tR(Key(\"semicolon\"), rdescript=\r\n\"Semicolon\"),')\r\nframe: ('C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\caster\\\\caster\\\\lib\\\\dfplus\\\\state\r\n\\\\actions.py', 14, '__init__', 'self.state = control.nexus().state')\r\nframe: ('C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\caster\\\\caster\\\\lib\\\\control.py',\r\n101, 'nexus', '_NEXUS = Nexus()')\r\nframe: ('C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\caster\\\\caster\\\\lib\\\\control.py',\r\n77, '__init__', 'self.macros_grammar = Grammar(\"recorded_macros\")')\r\nframe: ('C:\\\\Python27\\\\lib\\\\site-packages\\\\dragonfly\\\\dragonfly\\\\grammar\\\\gramma\r\nr_base.py', 81, '__init__', 'self._engine = get_engine()')\r\nframe: ('C:\\\\Python27\\\\lib\\\\site-packages\\\\dragonfly\\\\dragonfly\\\\engines\\\\__init\r\n__.py', 86, 'get_engine', 'raise EngineError(\"No usable engines found.\")')\r\nexception: No usable engines found.\r\nframe: ('C:\\\\Python27\\\\lib\\\\site-packages\\\\dragonfly\\\\dragonfly\\\\config.py', 242\r\n, 'load_from_file', 'execfile(path, namespace)')\r\nframe: ('C:/Users/User/Documents/GitHub/caster/caster/bin/data/ccr/configalphab\r\net.txt', 5, '<module>', 'from caster.lib import navigation')\r\nframe: ('C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\caster\\\\caster\\\\lib\\\\navigation.py\r\n', 12, '<module>', 'from caster.lib.pita import scanner, selector')\r\nframe: ('C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\caster\\\\caster\\\\lib\\\\pita\\\\scanner\r\n.py', 16, '<module>', 'if control.nexus().dep.NATLINK:')\r\nframe: ('C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\caster\\\\caster\\\\lib\\\\control.py',\r\n101, 'nexus', '_NEXUS = Nexus()')\r\nframe: ('C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\caster\\\\caster\\\\lib\\\\control.py',\r\n77, '__init__', 'self.macros_grammar = Grammar(\"recorded_macros\")')\r\nframe: ('C:\\\\Python27\\\\lib\\\\site-packages\\\\dragonfly\\\\dragonfly\\\\grammar\\\\gramma\r\nr_base.py', 81, '__init__', 'self._engine = get_engine()')\r\nframe: ('C:\\\\Python27\\\\lib\\\\site-packages\\\\dragonfly\\\\dragonfly\\\\engines\\\\__init\r\n__.py', 86, 'get_engine', 'raise EngineError(\"No usable engines found.\")')\r\n<type 'exceptions.KeyError'>\r\nu'numbers'\r\n<traceback object at 0x02B8BC88>\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\caster\\lib\\ccr.py\", line 176, in\r\ninitialize_ccr\r\n    set_active(r)\r\n\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\caster\\lib\\ccr.py\", line 211, in\r\nset_active\r\n    if settings.SETTINGS[\"ccr\"][\"modes\"][r] and not merge_copy_compatible(target\r\n_rule_pair[0], rule_pairs[r][0]):\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\_caster.py\", line 82, in <module>\r\n\r\n    class MainRule(MappingRule):\r\n  File \"C:\\Users\\User\\Documents\\GitHub\\caster\\_caster.py\", line 100, in MainRul\r\ne\r\n    \"reboot dragon\":                R(Function(utilities.reboot), rdescript=\"Reb\r\noot Dragon Naturallyspeaking\"),\r\nNameError: name 'R' is not defined\r\n\r\nC:\\Windows\\System32>\r\n\r\nSome of the testing produced 'No handlers could be found for logger \"action\"' after  'Legion feature not available without PIL' before WRS froze. This was only reproduced with the caster cmd window In the foreground and the desktop.\r\n"},"comment":{"url":"https://api.github.com/repos/synkarius/caster/issues/comments/119024952","html_url":"https://github.com/synkarius/caster/issues/69#issuecomment-119024952","issue_url":"https://api.github.com/repos/synkarius/caster/issues/69","id":119024952,"user":{"login":"synkarius","id":2197849,"avatar_url":"https://avatars.githubusercontent.com/u/2197849?v=3","gravatar_id":"","url":"https://api.github.com/users/synkarius","html_url":"https://github.com/synkarius","followers_url":"https://api.github.com/users/synkarius/followers","following_url":"https://api.github.com/users/synkarius/following{/other_user}","gists_url":"https://api.github.com/users/synkarius/gists{/gist_id}","starred_url":"https://api.github.com/users/synkarius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synkarius/subscriptions","organizations_url":"https://api.github.com/users/synkarius/orgs","repos_url":"https://api.github.com/users/synkarius/repos","events_url":"https://api.github.com/users/synkarius/events{/privacy}","received_events_url":"https://api.github.com/users/synkarius/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T23:15:50Z","updated_at":"2015-07-06T23:15:50Z","body":"This is another of the errors I ran into on my virtual machine install, I think. However, if this is the same thing I ran into, I was able to resolve it. Try looking at these two lines in your Dragonfly install:\r\nhttps://github.com/t4ngo/dragonfly/blob/f7d1482e3d751bd16faef0f932b4e3cc009688a5/dragonfly/actions/_generate_typeables.py#L117\r\nhttps://github.com/t4ngo/dragonfly/blob/f7d1482e3d751bd16faef0f932b4e3cc009688a5/dragonfly/actions/typeables.py#L193\r\nDo both of those lines exist in your Dragonfly install? One of them was missing in mine, can't remember which. It was resolved by reinstalling Dragonfly, oddly."}}