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

Error: 'PathShellFilter' has no attribute 'name' #275

Closed
zmni opened this Issue Jan 26, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@zmni

zmni commented Jan 26, 2018

Everything scanned, it works just fine. But, what caused this error?

ERROR: Error from FilesCatalog.FilesCatalog.on_events: <class 'AttributeError'>: type object 'PathShellFilter' has no attribute 'name'
Traceback (most recent call last):
  File "E:\Keypirinha\default\Packages\FilesCatalog.keypirinha-package\filescatalog.py", line 355, in on_events
  File "E:\Keypirinha\default\Packages\FilesCatalog.keypirinha-package\filescatalog.py", line 660, in _read_config
  File "E:\Keypirinha\python\site\filefilter.py", line 106, in __eq__
    return hash(self) =
  • Is there something wrong with my FilesCatalog's config?
[profile/StartMenu]
activate = yes
paths = 
    ${var:KNOWNFOLDER_COMMONSTARTMENU}\**\*
    ${var:KNOWNFOLDER_STARTMENU}\**\*
max_depth = 1
filters =
    - Ketarin.lnk
    - VSCode.lnk
    - winbox.lnk
    + ext: .lnk .msc

[profile/PortableApps]
activate = yes
paths = ${var:APP_DRIVE}\*\*
max_depth = 0
filters =
    - *\Bin\*
    - Captura*.exe
    - Code.exe
    - LightBulb.exe
    - qbittorrent.exe
    - QOwnNotes.exe
    + ext: .exe .lnk
@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Jan 26, 2018

Member

At first glance there does not seem to be something wrong with your config

Member

polyvertex commented Jan 26, 2018

At first glance there does not seem to be something wrong with your config

@mrtvola

This comment has been minimized.

Show comment
Hide comment
@mrtvola

mrtvola Jun 12, 2018

Hey. my Python knowledge is a bit rusty, but perhaps there should be self.__class__.__name__ instead of self.__class__.name in filefilter.py

mrtvola commented Jun 12, 2018

Hey. my Python knowledge is a bit rusty, but perhaps there should be self.__class__.__name__ instead of self.__class__.name in filefilter.py

@oskretc

This comment has been minimized.

Show comment
Hide comment
@oskretc

oskretc Aug 2, 2018

Capital letters in Profile name seems to be the problem

oskretc commented Aug 2, 2018

Capital letters in Profile name seems to be the problem

@polyvertex

This comment has been minimized.

Show comment
Hide comment
@polyvertex

polyvertex Sep 13, 2018

Member

This should be fixed in v2.19, please check it out!

Member

polyvertex commented Sep 13, 2018

This should be fixed in v2.19, please check it out!

@polyvertex polyvertex closed this Sep 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment