Frank Lichtenheld a écrit :
On Wed, Jul 09, 2008 at 01:09:39AM +0200, Pini wrote:
No error reported. I finaly decided to have a look at the FTP server.
And I saw that all my package files but the .changes were present there.
The .changes was in the "oldchanges" directory with size = 0.

Have you tried to upload the .changes file with a normal FTP client
to see whether that changes anything?

I did. No changes.


Have you tried to run dupload with the --debug option?

Yes. No error reported.


Is this error still reproducible? Or was it only present at one specific
time?

I had this problem yesterday. Still there today (just tried right now).


I then tried to upload the .changes file with a different name using
FTP. It appeared with the correct size. Then I renamed it to its correct
name (nted_0.26.1-1_i386.changes) and my package was suddenly
proccessed.

I suggest to slightly modify dupload so that the .changes file is first
uploaded with its name changed (say: .changes.tmp) and renamed
afterward. This to ensure the complete upload before starting the
processing.

That will not be possible since you might not have the rights to
modify uploaded files.

I've done it using lftp. Here is the full test case:

[EMAIL PROTECTED]:~$ dupload -f -t mentors
debian/dists/unstable/nted_0.26.1-1_i386.changes
dupload note: no announcement will be sent.
Checking signatures before upload......signatures are ok
Uploading (ftp) to mentors.debian.net:/
[ job nted_0.26.1-1_i386 from nted_0.26.1-1_i386.changes
 nted-doc_0.26.1-1_all.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 nted_0.26.1-1_i386.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
 nted_0.26.1-1.dsc, size ok, md5sum ok, sha1sum ok, sha256sum ok
 nted_0.26.1-1.diff.gz, size ok, md5sum ok, sha1sum ok, sha256sum ok
 nted_0.26.1.orig.tar.gz, size ok, md5sum ok, sha1sum ok, sha256sum ok
 nted_0.26.1-1_i386.changes ok ]
Uploading (ftp) to mentors (mentors.debian.net)
+ FTP passive mode selected
[ Uploading job nted_0.26.1-1_i386
 nted-doc_0.26.1-1_all.deb 1049.7 kB, ok (37 s, 28.37 kB/s)
 nted_0.26.1-1_i386.deb 404.3 kB, ok (28 s, 14.44 kB/s)
 nted_0.26.1-1.dsc 1.1 kB, ok (22 s, 0.05 kB/s)
 nted_0.26.1-1.diff.gz 8.9 kB, ok (21 s, 0.42 kB/s)
 nted_0.26.1.orig.tar.gz 1747.7 kB, ok (68 s, 25.70 kB/s)
 nted_0.26.1-1_i386.changes 2.5 kB, ok (21 s, 0.12 kB/s) ]
[EMAIL PROTECTED]:~$ lftp mentors.debian.net
lftp mentors.debian.net:~> ls
drwxr-xr-x   2 mentors  mentors      4096 May 30 02:20 080529222025p
drwxr-xr-x   2 mentors  mentors      4096 Apr  8 13:55 debug
-rw-r--r--   1 mentors  mentors   1074900 Jul  9 00:17
nted-doc_0.26.1-1_all.deb
-rw-r--r--   1 mentors  mentors      9117 Jul  9 00:18 nted_0.26.1-1.diff.gz
-rw-r--r--   1 mentors  mentors      1106 Jul  9 00:17 nted_0.26.1-1.dsc
-rw-r--r--   1 mentors  mentors    414014 Jul  9 00:17
nted_0.26.1-1_i386.deb
-rw-r--r--   1 mentors  mentors   1789628 Jul  9 00:19
nted_0.26.1.orig.tar.gz
drwxrwxr-x   2 mentors  mentors     12288 Jul  8 15:34 oldchanges
lftp mentors.debian.net:/> ls oldchanges/nted_0.26.1-1_i386.changes
-rw-r--r--   1 mentors  mentors         0 Jul  9 00:19
oldchanges/nted_0.26.1-1_i386.changes
lftp mentors.debian.net:/> put
debian/dists/unstable/nted_0.26.1-1_i386.changes -o
nted_0.26.1-1_i386.changes.tmp
2519 octets transférés en 21 secondes (118o/s)

lftp mentors.debian.net:/> ls
drwxr-xr-x   2 mentors  mentors      4096 May 30 02:20 080529222025p
drwxr-xr-x   2 mentors  mentors      4096 Apr  8 13:55 debug
-rw-r--r--   1 mentors  mentors   1074900 Jul  9 00:17
nted-doc_0.26.1-1_all.deb
-rw-r--r--   1 mentors  mentors      9117 Jul  9 00:18 nted_0.26.1-1.diff.gz
-rw-r--r--   1 mentors  mentors      1106 Jul  9 00:17 nted_0.26.1-1.dsc
-rw-r--r--   1 mentors  mentors      2519 Jul  9 00:22
nted_0.26.1-1_i386.changes.tmp
-rw-r--r--   1 mentors  mentors    414014 Jul  9 00:17
nted_0.26.1-1_i386.deb
-rw-r--r--   1 mentors  mentors   1789628 Jul  9 00:19
nted_0.26.1.orig.tar.gz
drwxrwxr-x   2 mentors  mentors     12288 Jul  8 15:34 oldchanges
lftp mentors.debian.net:/> mv nted_0.26.1-1_i386.changes.tmp
nted_0.26.1-1_i386.changes
renommage réussi
lftp mentors.debian.net:/> ls
drwxr-xr-x   2 mentors  mentors      4096 May 30 02:20 080529222025p
drwxr-xr-x   2 mentors  mentors      4096 Apr  8 13:55 debug
drwxrwxr-x   2 mentors  mentors     12288 Jul  8 15:34 oldchanges
lftp mentors.debian.net:/>


Gruesse,

Thanks,

--
Gilles.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to