Closed grovesteyn closed 7 years ago
Looks like I don't check for the existence of the data file.
Yes, I created in manually and the error disappears. However, after moving around a bit I do "cat .z" but its empty?
Odd. I'll have to investigate.
Ok, the initial missing file should be taken care of in HEAD.
I'm able to reproduce the empty data bug. Not sure why that's happening.
Ok, Linux wasn't actually writing out the file yet when I was doing the copy. Should be fixed in HEAD.
I'll be making a release later today, but I'd be pretty thrilled if you pulled and checked if it's fixed for you now.
Release made. If I don't hear in the next few days, I'm going to assume this is fixed.
Thanks - it seems to work!
G
On 6 September 2016 at 04:21, Jamie Bliss notifications@github.com wrote:
Release made. If I don't hear in the next few days, I'm going to assume this is fixed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/astronouth7303/xontrib-z/issues/2#issuecomment-244834844, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCHE0CevkLYhp00nLGjBqX_u8z_ai8-ks5qnM4NgaJpZM4J1JOA .
When I change directories with 'cd' I get the following debug info:
grove@grove-UX302LG ~ $ cd Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/xontrib/z.py", line 205, in cd_handler self.add(self.getpwd()) File "/usr/local/lib/python3.4/dist-packages/xontrib/z.py", line 177, in add data = list(self.load_data()) File "/usr/local/lib/python3.4/dist-packages/xontrib/z.py", line 85, in load_data with open(self.Z_DATA, 'rt') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/grove/.z'
Any ideas?