-
-
Notifications
You must be signed in to change notification settings - Fork 295
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
Broken pipe error on Buku #520
Comments
Please check if any of the latest changes starting from May 14 to the release (not too many of them) has broken this. |
@AndreiUlmeyda can you please have a look too? |
I tried it and it seems the issue exists on earlier releases also. We'll have to wait for the oil author. |
@jarun thanks for confirming the issue is not on my side. I'll wait for any reaction from @AndreiUlmeyda |
I tried the following which involves piped input/output and I don't see any issues:
|
I have added exception handling for the error at commit e708847. See if it helps. |
I cloned the repository, recompiled again with Then I tried again with
In oil. Then I quit, and see the following in terminal:
But when I start buku, he is able to find the bookmarks. So the database is not missing, but Oil seems not be able to find it anymore after your patch. |
I got this with your flags: |
I am not sure if it was finding earlier as well. Maybe it didn't find any results, quit and we saw the broken pipe error.
Do you have any bookmark with the string |
No. But when I search on other strings which I have in my buku bookmarks, the list stays empty. |
On my other computer, I have a older version (less than a year old, I believe) of Buku running. |
Possible. Maybe some API change has broken it. But the app needs to update too. With this confirmation, I am closing this defect. If the author of oil gets back on this, we can dig in further. |
For an alternative using |
I tried FZF, but I'm missing the tags, categories and everything from Buku. So I would prefer to keep @jarun you don't have this issue when reinstalling Oil again from latest release? @AndreiUlmeyda perhaps is there something you could do, since the latest release of Buku broke the |
Hey there, everybody. Thanks, sincerely, for the patience. I'm struggling to take time to look into it but there should be no excuse. I will try to replicate and fix the issue on thursday night and/or over the weekend. See you then and have a wonderful time. |
That would be wonderful! I appreciate that. Let me know if I could assist you in anything. @jarun perhaps open this issue so that we could dig in further? |
I still think oil would have to update a bit to catch up with buku. Let's wait for @AndreiUlmeyda. |
Hey there, I got started but haven't replicated the issue yet. Progress will be tracked here. Cheers |
I'll reply in the other issue :) |
Specs
I use Ubuntu 20.04.2 LTS as operating system.
The Buku version is 4.6
Python 2.7.18 and Python 3.8.5
Issue
When I start Buku, it works fine. But I like to filter my results. So I usually use
oil -p
to filter my Buku database.However, it's not working anymore with the buku database. I get a error instead:
Traceback (most recent call last): File "/usr/local/bin/buku", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/buku.py", line 5707, in main bdb.print_rec(0) File "/usr/local/lib/python3.8/dist-packages/buku.py", line 1835, in print_rec print(format_json(resultset, field_filter=self.field_filter)) BrokenPipeError: [Errno 32] Broken pipe
Any idea what might cause this issue? Reinstalling Buku via pip3 didn't help much in this case.
The text was updated successfully, but these errors were encountered: