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

python exception on first run #15

Open
bill-auger opened this issue Jul 5, 2018 · 0 comments
Open

python exception on first run #15

bill-auger opened this issue Jul 5, 2018 · 0 comments

Comments

@bill-auger
Copy link

exception thrown here --> https://github.com/noseka1/linuxband/blob/master/src/main/python/linuxband/mma/grooves.py#L148

does this really need to be an exception? especially on first run - the very next thing the script does is to create the cache --> https://github.com/noseka1/linuxband/blob/master/src/main/python/linuxband/mma/grooves.py#L40; and the '__load_grooves_from_cache()' method is called only in that one place

ERROR __load_grooves_from_cache Unable to load grooves from cache 
'/home/bill/.linuxband/grooves.cache'
Traceback (most recent call last):
  File "/usr/share/linuxband/linuxband/mma/grooves.py", line 143, in __load_grooves_from_cache
    infile = file(fname, 'r')
IOError: [Errno 2] No such file or directory: '/home/bill/.linuxband/grooves.cache'
04:22:25 INFO __cache_grooves Stored 0 groove patterns in cache 
'/home/bill/.linuxband/grooves.cache'
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

1 participant