casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.87k stars 75 forks source link

Cannot detect installed applications #96

Open 5GameMaker opened 2 years ago

5GameMaker commented 2 years ago

Describe the bug Using app scan feature causes error to occur

To Reproduce

  1. Download windows terminal
  2. Click "Scan Installed Apps"
  3. See error in logs

Expected behavior Show apps I guess

System information:

Additional context Logs:

[ 2022-08-07 06:28:52,042 ] | [  DEBUG ] :  [      client ->               __send  ] -->  Sending message to server 
[ 2022-08-07 06:28:52,186 ] | [ WARNING ] :  [     main_ui -> populate_applications  ] -->  Looks like some app returned data that cannot be parsed : [None, 'C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.14.1962.0_x64__8wekyb3d8bbwe\\wt.exe', None] : Traceback (most recent call last):
  File "/home/buj/.local/lib/python3.10/site-packages/cassowary/gui/components/main_ui.py", line 350, in populate_applications
    name = app[0].split(":")[0]
AttributeError: 'NoneType' object has no attribute 'split'
casualsnek commented 2 years ago

Thank you for filling the issue. The issue seems simple and i will make a commit fixing it ASAP !

ameeno commented 1 year ago

did this get resolved?