~ ❱ offpunk
To render images inline, you need either chafa >= 1.10 or timg > 1.3.2
Welcome to Offpunk!
Type `help` to get the list of available command.
ON> t
HTTP requires python-requests
https://www.masteringemacs.org/article/understanding-minibuffer-completion already marked for syncing
ON>
I am not really a Python expert but I am sure I have installed requests library.
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
Le 25 mar 09 08:38, Xavier Maillard a écrit :
>~ ❱ offpunk>To render images inline, you need either chafa >= 1.10 or timg > 1.3.2>Welcome to Offpunk!>Type `help` to get the list of available command.>ON> t>HTTP requires python-requests>https://www.masteringemacs.org/article/understanding-minibuffer-completion already marked for syncing>ON>
This definitely sounds like a bug. What is you operating system, your
python version and offpunk version? Is it a new bug?
Can you confirm the same behaviour with offpunk latest release (2.6) and
with offpunk latest commit on trunk?
The code that set "DO_HTTP" has been recently patched to remove some
LibreSSL warning, I want to investigate this.
Could you open a python console ("python3") and type :
> import requests
and reply with the result?
--
Ploum - Lionel Dricot
Blog: https://www.ploum.net
Bikepunk: https://bikepunk.fr/
As per your request:
(x) ~ ❱ which python
/Users/x/.venv/bin/python
(x) ~ ❱ python
Python 3.12.7 (main, Nov 6 2024, 21:43:01) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
No problem here.
Is my problem due to my installation ? (I am using uv to manage python libs here).
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
While at it:
(x) ~ 2m 4.4s ❱ offpunk
To render images inline, you need either chafa >= 1.10 or timg > 1.3.2
Welcome to Offpunk!
Type `help` to get the list of available command.
ON> quit
You can close your screen!
(x) ~ 11s ❱ python
Python 3.12.7 (main, Nov 6 2024, 21:43:01) [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import timg
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
> This definitely sounds like a bug. What is you operating system, your > python version and offpunk version? Is it a new bug?
I am running offpunk on a MacOS macboopro.
Python: 3.12.7
Offpunk: from git clone
Can't tell if it is new bug or not since I did not install offpunk
before onto this machine.
> Can you confirm the same behaviour with offpunk latest release (2.6) and > with offpunk latest commit on trunk?
I can confirm that pulling from git repo does not expose the requests
error but I still have problem wih timg/chafa.
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
Le 25 mar 11 06:21, Xavier Maillard a écrit :
>>> Can you confirm the same behaviour with offpunk latest release (2.6) >> and>> with offpunk latest commit on trunk?>>I can confirm that pulling from git repo does not expose the requests>error but I still have problem wih timg/chafa.
timg and chafa are not python libraries. Those are independent binaries
thta should be in your PATH (only one of those is required)
With what version do you have an error then?
--
Ploum - Lionel Dricot
Blog: https://www.ploum.net
Bikepunk: https://bikepunk.fr/
Ok Ploum.
I brew installed chafa and now all my previous errors went away.
All is good excepti I am still struggling using offpunk :)
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D
Le 25 mar 13 07:58, Xavier Maillard a écrit :
>Ok Ploum.>>I brew installed chafa and now all my previous errors went away.>>All is good excepti I am still struggling using offpunk :)
Nice to hear. Struggling is learning, every tool has a learning curve.
I believe that reading workflows in offpunk tutorial (or on offpunk.net)
may really help to get an idea.
And don’t hesitate to use this list to ask questions.
If you have any idea to improve the tutorial, please suggest them.
Welcome to offpunk!
--
Ploum - Lionel Dricot
Blog: https://www.ploum.net
Bikepunk: https://bikepunk.fr/
Thank you Ploum. As I am an old fart, I tend not to RTFM enough.
Reading through the tutorials helped a lot !
--
Xavier Maillard (https://www.maillard.im)
Partagez votre super pouvoir! (https://dondesang.efs.sante.fr/)
GPG: 84C7 EF28 760F 49A7 D7C0 BFD7 141B AF53 291E 888D