Belgium
Write books in French, a blog on https://ploum.net and a gemlog on gemini://ploum.net
From Ploum to ~lioploum/offpunk-devel
I’m trying to solve #28 https://todo.sr.ht/~lioploum/offpunk/28 Which is conceptually very simple to understand: when visiting url host.com/path how could the browser possibly know if path is a file or a folder (and the real path is the hidden path/index.gmi ). This is important for relative links : as "target.gmi" could be either host.com/target.gmi or host.com/path/target.gmi.
From Ploum to ~lioploum/offpunk-devel
On 23/11/28 05:53, vonhohenheiden@tutanota.com wrote: >Hi, > >I'm currently investigating a bug with the cache. To be able to track this (and other issues in the future) down, the attached patch introduces a common logger for offpunk (and it's modules). The patch also updates some existing error handling functions to use the logger. The logging level can be adjusted by setting it in offlogger.py. If there is need in the future, a switch could also be added to the command line arguments. > Here are already some feedbacks 1) The patch import the logging module. Could you confirm that this module is part of all python installations? Do you see any potential case where logging might not be available? 2) The patche completely break the distinction between different kind of error in offpunk. There are: - user errors (bad command, missing dependency, unset variables, etc)
From Ploum to ~lioploum/offpunk-devel
On 23/11/28 05:53, vonhohenheiden@tutanota.com wrote: >Hi, > >I'm currently investigating a bug with the cache. To be able to track >this (and other issues in the future) down, the attached patch >introduces a common logger for offpunk (and it's modules). The patch >also updates some existing error handling functions to use the logger. >The logging level can be adjusted by setting it in offlogger.py. If >there is need in the future, a switch could also be added to the >command line arguments. Thanks for the patch. I will test and try it a bit more in depth before accepting it.
From Ploum to ~lioploum/offpunk-devel
On 23/11/26 07:19, vonhohenheiden@tutanota.com wrote: >Apologies for the additional work and thanks for accepting the patch! >Please find it attached. >Best, >Von Perfect. Just had to type |git am and the patch is applied. Thanks a lot!
From Ploum to ~lioploum/offpunk-users
On 23/11/26 10:22, Karl wrote: >Why was support for client generated certificates removed? > The code dated from AV-98 and was broken. As I do not use it myself, I didn’t maintain it and didn’t understand it. Also, it didn’t work at all with the offline concept. Instead of keeping broken/unmaintained code, I removed it. I would happily accept patches to put it back and discuss that with people using this feature. --
From Ploum to ~lioploum/offpunk-devel
On 23/11/26 08:04, vonhohenheiden@tutanota.com wrote: >This is a simple fix for a crash I observed when calling 'gus' without any parameters. The following stacktrace can be reproduced by ´python3 offpunk.py <http://offpunk.py> > gus [Enter]´ Hi, Thanks for catching this. The patch looks good but cannot apply. It might be because the stacktrace is also considered as a patch by git am (that’s my only explanation). Do you mind sending it again without the stacktrace or as an attachment. A good practice in offpunk is also to add a line in the CHANGELOG (with your name at the end). If not done, don’t worry, I will do it in a
From Ploum to ~lioploum/offpunk-users
I’m happy to make the official announcement for the Offpunk 2.0 release (which happened last week). https://ploum.net/2023-11-25-offpunk2.html gemini://ploum.net/2023-11-25-offpunk2.gmi Please share this announcement on places where it could be of interest. I’m also launching an experimental matrix room for those interested in having real-time discussions: #offpunk:matrix.org https://matrix.to/#/#offpunk:matrix.org On a more personal level, I’m really curious to hear about how users are
From Ploum to ~lioploum/offpunk-devel
I’m happy to make the official announcement for the Offpunk 2.0 release (which happened last week). https://ploum.net/2023-11-25-offpunk2.html gemini://ploum.net/2023-11-25-offpunk2.gmi Please share this announcement on places where it could be of interest. I’m also launching an experimental matrix room for those interested in having real-time discussions: #offpunk:matrix.org https://matrix.to/#/#offpunk:matrix.org On a more personal level, I’m really curious to hear about how users are
From Ploum to ~lioploum/offpunk-users
On 23/11/21 01:07, berru@riseup.net wrote: >Hey, I was using the latest Offpunk 2.0 release built from git on >2023-11-21 and encountered a few errors. It happens when following a >link from a gemini resource to another gemini resource. It happened to >me often enough that I thought I would report it. Here is the error >message : > >ERROR4: <class 'RuntimeError'> : not found >Traceback (most recent call last): > File "/usr/lib/python3.11/cmd.py", line 214, in onecmd > func = getattr(self, 'do_' + cmd) > ^^^^^^^^^^^^^^^^^^^^^^^^^^ >AttributeError: 'GeminiClient' object has no attribute 'do_4' >
From Ploum to ~lioploum/offpunk-packagers
On 23/11/17 10:14, Anna Vyalkova wrote: >Hi, > >I freed myself from most maintainer duties, so I'd like to hand over the >PyPI package[0] to someone else. I would like to thank you for the work done. Hoping someone else familiar with pypy steps in to continue the work you did. >