~sschwarzer

~sschwarzer/racket-glossary

Last active 3 months ago

~sschwarzer/ftputil

Last active 1 year, 22 days ago
View more

Recent activity

Re: Scribble quotes 3 months ago

From Stefan Schwarzer to ~sschwarzer/racket-glossary

Hi Ben,

On 2023-06-12 22:32, D. Ben Knoble wrote:
> I noticed that in
> https://git.sr.ht/~sschwarzer/racket-glossary/tree/main/item/scribblings/racket-glossary.scrbl#L1920,
> you used backticks for both quotes. I think you meant to write
> 
> ``Word''
> 
> That is, use two backticks for left-quotes and two apostrophes for
> right-quotes (à la LaTeX).

Well-spotted, thanks! Fixed in commit [e4608b7c].

Re: Infinite recursion with host.stat call 1 year, 22 days ago

From Stefan Schwarzer to ~sschwarzer/ftputil

Hi Simon,

On 2022-09-03 12:08, Stefan Schwarzer wrote:
> On 2022-09-01 17:36, Simon Cox wrote:
>> I'm getting infinite recursion with a host.stat call. The
>> path._is_file_system_entity is called by stat, and then calls stat.
>> ftputils v5.0.4 on Python 3.7 on Windows. Stack trace below:
> 
> Can you please enter tickets [1] both for the parser
> error issue and this one? If you don't have a Sourcehut
> account, let me know. In this case, I can enter tickets
> on your behalf.
> 
> [1] https://todo.sr.ht/~sschwarzer/ftputil

Re: Infinite recursion with host.stat call 1 year, 30 days ago

From Stefan Schwarzer to ~sschwarzer/ftputil

On 2022-09-01 17:36, Simon Cox wrote:
> I'm getting infinite recursion with a host.stat call. The
> path._is_file_system_entity is called by stat, and then calls stat.
> ftputils v5.0.4 on Python 3.7 on Windows. Stack trace below:

Can you please enter tickets [1] both for the parser
error issue and this one? If you don't have a Sourcehut
account, let me know. In this case, I can enter tickets
on your behalf.

[1] https://todo.sr.ht/~sschwarzer/ftputil

Best regards,
Stefan

Re: host.walk fails on ftputil.error.ParserError 1 year, 1 month ago

From Stefan Schwarzer to ~sschwarzer/ftputil

Hi Simon,

On 2022-09-01 11:51, Simon Cox wrote:
> I'm using ftputil 5.0.4 with Python 3.7 on Windows. I am getting an
> unhandled ftputil.error.ParserError with host.walk. Probably the FTP
> server doing something weird (or a corrupt file or something). But the
> walk interface shouldn't fail on this error (imho).
> 
> Suggest changing line 1031 in host.py to:
> 
>          except (ftputil.error.FTPOSError, ftputil.error.ParserError) as err:
> 
> This fixes the error for me.

Re: "PermanentError" in AWS Lambda 1 year, 4 months ago

From Stefan Schwarzer to ~sschwarzer/ftputil

Hi Vrushab,

On 2022-05-18 15:50, Vrushab Mulik wrote:
> The ftputil library works well on my local PC but when I try it on AWS
> Lambda I get the following message
> 
> [ERROR] PermanentError: 530 Login authentication failed
> Debugging info: ftputil 5.0.4, Python 3.9.11 (linux)
> 
> Please help me on this one.

If you haven't already, can you please try to log in with
ftplib? If that works, can you send the code you use with
ftplib and the code you use with ftputil?

ftputil 5.0.4 released 1 year, 4 months ago

From Stefan Schwarzer to ~sschwarzer/ftputil

ftputil 5.0.4 is now available from
https://ftputil.sschwarzer.net/download .


Changes since the last stable release 5.0.3
-------------------------------------------

- Fix cache invalidation for `FTPHost.rename` [1].

- Make stat cache invalidation for `FTPHost.remove`, `FTPHost.rmdir`
   and `FTPHost.rmtree` more robust in case an exception occurs during
   these operations.

Re: Long code lines in ticket descriptions should be easier to read 1 year, 5 months ago

From Stefan Schwarzer to ~sircmpwn/sr.ht-discuss

On 2022-04-11 12:09, Drew DeVault wrote:
> I thought we already had a ticket for this, but I can't find it. Can you
> file one here?
> 
> https://todo.sr.ht/~sircmpwn/todo.sr.ht/

Done, https://todo.sr.ht/~sircmpwn/todo.sr.ht/269 .

Re: Long code lines in ticket descriptions should be easier to read 1 year, 5 months ago

From Stefan Schwarzer to ~sircmpwn/sr.ht-discuss

On 2022-04-11 10:53, Drew DeVault wrote:
> When pasting large logs and such you're encouraged to stick them in a
> paste.sr.ht dump instead of directly onto todo.sr.ht.

That makes sense, but I think the stacktrace in that ticket isn't
that large. :-) But I do get your point!

What about _actually_ encouraging ticket submitters by recommending
using paste.sr.ht when entering a ticket? ;-) That is, putting a
remark near the ticket entry form, something similar to

   Tip: Use [paste.sr.ht](https://paste.sr.ht/) to add
   logs and stacktraces.

Long code lines in ticket descriptions should be easier to read 1 year, 5 months ago

From Stefan Schwarzer to ~sircmpwn/sr.ht-discuss

In case of relatively long code lines in ticket descriptions,
as in

   https://todo.sr.ht/~sschwarzer/ftputil/143

the layout shows only half of the longer lines. I do get a
horizontal scrollbar, but in my opinion it would be helpful
if the page layout showed more of the long lines.

If the screen is large is enough to make the browser window
much wider, there's still the curiosity that this doesn't
change the layout of the description and meta information,
but just adds empty space to the left and right.

Re: New ftputil infrastructure testing and feedback 1 year, 5 months ago

From Stefan Schwarzer to ~sschwarzer/ftputil

On 2022-04-01 21:57, Stefan Schwarzer wrote:
> TL;DR: Unless I missed anything, all ftputil services are
> now migrated, either in their final form or in test mode.

The website including the ticket system is finally migrated.
If you find any problems, please let me know.

Best regards,
Stefan