talonvoice / beta

Issue tracker for the private Talon Beta
10 stars 0 forks source link

.talon is in pythonpath? #91

Closed knausj85 closed 4 years ago

knausj85 commented 4 years ago

v1419 or later, OS X

I had an ancient version of number.py backed up in ~/.talon, which caused this error on cold start:

2020-07-23 23:37:48 ERROR user.w2l (/Users/jeffknaus/.talon/user/w2l.py) import failed
   27:                             lib/python3.7/threading.py:890| 
   26:                             lib/python3.7/threading.py:926| 
   25:                             lib/python3.7/threading.py:870| 
   24:                                app/resources/loader.py:587| 
   23: ----------------------------------------------------------# loader thread
   22:                                app/resources/loader.py:566| 
   21:                                app/resources/loader.py:424| 
   20:                                app/resources/loader.py:455| 
   19:                                app/resources/loader.py:500| 
   18:                                app/resources/loader.py:313| 
   17: ----------------------------------------------------------# stack splice
   16:                                app/resources/loader.py:308| 
   15:                    lib/python3.7/importlib/__init__.py:127| 
   14:                                app/resources/loader.py:202| 
   13:                                app/resources/loader.py:197| 
   12:                                            user/w2l.py:2  | from talon.engines.w2l import W2lEngine
   11:                                app/resources/loader.py:257| 
   10:                                   talon/engines/w2l.py:21 | 
    9:                                app/resources/loader.py:257| 
    8:                                    talon/nn/w2l/b2l.py:4  | 
    7:                                app/resources/loader.py:257| 
    6:          lib/python3.7/site-packages/numpy/__init__.py:142| 
    5:                                app/resources/loader.py:257| 
    4:     lib/python3.7/site-packages/numpy/core/__init__.py:72 | 
    3:                                app/resources/loader.py:257| 
    2: lib/python3.7/site-packages/numpy/core/numerictypes.py:599| 
    1: lib/python3.7/site-packages/numpy/core/numerictypes.py:594| 
AttributeError: module 'numbers' has no attribute 'Integral'
lunixbochs commented 4 years ago

fixed in next release