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
.tldr_cache prevents any meaningful output #31
Comments
Thanks for the detailed report and screenshots @SpriteMidr! @felixonmars is the guy who will likely be able to answer meaningfully. |
@waldyrious glad it is useful. I have not done a report before so I didn't want to give the wrong information. I cant tell if |
Sorry, I had Ubuntu issues and had to reinstall. Edit 1
Edit 2
Thanks for getting back to me. I am still learning the Linux command line, so tldr is a great asset. (Especially when I want to know what flag to give |
Oh, I'm sorry, was inattentive... Of cource nano instead of python: rm -R ~/.tldr_cache # if exists
tldr nano
ls -la ~/.tldr_cache | grep nano
cat ~/.tldr_cache/nano_common.md |
Interesting. File was successfully created, but was not filled by data. Cannot reproduce this behaviour, but still trying. Judging from the colors, you have the old version of tldr. Could you please update it? If it doesn't help, please try set environment variable I'll think about some refactoring to make tldr a bit more debuggable... |
Is the newest update not up on the Thanks for getting back to me! I appreciate it. |
@bwh1te Bump? Exactly the same here on clean Ubuntu 16.04.1 LTS. Also installed from pip3 (simply no python 2 preinstalled on this version of ubunty, only python 3). Same empty file in .tldr_cache, and same three empty blue lines as on SpriteMidr's screenshots. Indeed, is the latest version updated in pip3 repostiories? |
@SpriteMidr, @bwh1te and @NIA -- please confirm than the latest version on master, after merging @iliakonnov's #36, fixes this issue. |
@waldyrious , I did |
Hey just wanted to drop in reporting the same problem. pip3 install tldr Reinstalled using Now working as expected in Termux on my Galaxy S5. Call that tldr to go ;) hahaha! |
Yeah, we need to make a new release to include this and other fixes. @felixonmars can you do that? (And maybe consider adding some more people as maintainers on PyPI, if your availability is limited.) |
...nevermind, I just ran sudo pip3 install git+https://github.com/iliakonnov/tldr-python-client.git ...and got my answer. It is working now :) |
Any reason why this issue is still not solved in a clean pip install? The solution was already provided in a fork, and yet every single user of the package is affected on Python 3. Uninstalling and trying another client meanwhile... |
Fixed in 0.4.1. |
Hi, I just installed tldr via the python client on Xubuntu 16. Apart from serious issues with colours that make the text unreadable on every colour scheme, which I have also seen an issue regarding, I have found that the .tldr_cache directory is causing issues for reading tldr pages.
I am not great at explaining in words, so I will just show a few screenshots.
Let's say I run the command
$ tldr nano
. Yes, it comes up with the tldr page for nano.However, now if I were to run the same command a second, third, fourth or even 100th time, I will not get any output anymore. I just get three lines of my console coloured with no text.
This is only for tldr pages that I have previously read. If I run tldr with a different page I have not yet read, it is fine.
The fix seems to be to run
rm -R ~/.tldr_cache
. Once I do this, everything is fine. However, it is annoying to have to keep doing this every single time I want to view a tldr page again.Please excuse the text being unreadable. None of the console colour schemes included with the Xubuntu terminal are any better, and I have other stuff which works well with these console colours, so I wont change my console theme just to get tldr to be readable.
(Sorry if this is a bit vague, this is my first issue on another project).
Thanks
The text was updated successfully, but these errors were encountered: