Skip to content

OSError: [Errno 63] File name too long #202

@obruchez

Description

@obruchez

I'm trying to archive my old Jungle Disk backups from S3 and I get an error caused by a long filename (see below).

This happens with version 1.5.0-alpha3 of s3cmd, on MacOS X 10.8.4.


s3://bd26d51143aaa5e068257ac69c5e5717-default/13.backups.AGHARTA.C.Documents and Settings.Aline.My Documents.Uni.1_c3_a8re ann_c3_a9e.Histoire.Histoire g_c3_a9n_c3_a9rale.S_c3_a9minaire Mariage.docs en vrac.Le mariage dans le pays de Vaud c3_a0 l_e2_80_99_c3_a9poque des Lumi_c3_a8res_c2_a0(plan)-doc.file -> [13667 of 19718]
72704 of 72704 100% in 0s 349.02 kB/s done

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the following lines to:
[email protected]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Problem: OSError: [Errno 63] File name too long
S3cmd: 1.5.0-alpha3

Traceback (most recent call last):
File "/usr/local/bin/s3cmd", line 2094, in
main()
File "/usr/local/bin/s3cmd", line 2034, in main
cmd_func(args)
File "/usr/local/bin/s3cmd", line 1193, in cmd_sync
return cmd_sync_remote2local(args)
File "/usr/local/bin/s3cmd", line 891, in cmd_sync_remote2local
seq, total_size = _download(remote_list, seq, remote_count + update_count, total_size, dir_cache)
File "/usr/local/bin/s3cmd", line 850, in _download
raise e
OSError: [Errno 63] File name too long

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the above lines to:
[email protected]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions