ftp put failes on TwoFTP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Won't Fix
|
Low
|
Unassigned |
Bug Description
I am trying to "bzr init" a remote branch on a host running twoftpd as a ftp server.
All directories are created (with good permission settings), but putting the info file to the temporary lock-directory failes.
I have the same problem if I init the bzr on the server directly, check it out and then commit changes.
I try doing this the whole day now with different versions of bzr even. Also I can find bugs that look related but not with this special error.. so - would be glad to hear some advice/see a fix :)
here's my bzr log.
Do 2009-08-13 10:51:51 +0200
0.011 bzr arguments: [u'init', u'log+ftp://my_
0.016 looking for plugins in /home/myusernam
0.054 looking for plugins in /usr/lib/
0.054 Plugin name bzrtools already loaded
0.063 encoding stdout as sys.stdout encoding 'ISO-8859-15'
0.074 mkdir ftp://my_
0.074 FTP mkd: /my_project
0.074 Constructing FTP instance against ('my-host', None, 'my_username', '********', False)
1.220 encoding stdout as sys.stdout encoding 'ISO-8859-15'
6.687 --> None
6.688 get ftp://my_
6.688 FTP get: /my_project/
6.804 --> No such file: 'ftp://my_
6.804 0.116s
6.804 mkdir ftp://my_
6.804 FTP mkd: /my_project
6.804 Constructing FTP instance against ('my-host', None, 'my_username', '********', False)
7.951 encoding stdout as sys.stdout encoding 'ISO-8859-15'
11.556 --> File exists: '/my_project': 550 Could not create directory: File exists
11.556 4.752s
11.556 stat ftp://my_
11.556 FTP stat: /my_project
11.584 --> <bzrlib.
11.584 mkdir ftp://my_
11.584 FTP mkd: /my_project/.bzr
11.613 FTP site chmod: setting permissions to 0700 on /my_project/.bzr
11.642 --> None
11.642 stat ftp://my_
11.642 FTP stat: /my_project/.bzr
11.670 --> <bzrlib.
11.670 mkdir ftp://my_
11.670 FTP mkd: /my_project/
11.699 FTP site chmod: setting permissions to 0700 on /my_project/
11.727 --> None
11.727 mkdir ftp://my_
11.727 FTP mkd: /my_project/
11.756 --> None
11.757 put_bytes_
11.757 FTP put: /my_project/
[ 4868] 2009-08-13 10:52:03.327 WARNING: Failure during ftp PUT. Deleting temporary file.
[ 4868] 2009-08-13 10:52:03.357 WARNING: FTP temporary error: 450 Could not locate file.. Retrying.
11.997 Constructing FTP instance against ('my-host', None, 'my_username', '********', False)
13.273 FTP put: /my_project/
[ 4868] 2009-08-13 10:52:04.859 WARNING: Failure during ftp PUT. Deleting temporary file.
[ 4868] 2009-08-13 10:52:04.889 WARNING: FTP temporary error: 450 Could not locate file.. Retrying.
13.530 Constructing FTP instance against ('my-host', None, 'my_username', '********', False)
14.639 -->
14.639 2.882s
14.643 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
possible_
File "/usr/lib/
bzrdir = BzrDir.create(base, format, possible_
File "/usr/lib/
return format.
File "/usr/lib/
return self._initializ
File "/usr/lib/
control_
File "/usr/lib/
token_from_lock = self._lock.
File "/usr/lib/
return self.wait_lock()
File "/usr/lib/
return self.attempt_lock()
File "/usr/lib/
result = self._attempt_
File "/usr/lib/
tmpname = self._create_
File "/usr/lib/
info_bytes)
File "/usr/lib/
return self._log_
File "/usr/lib/
return self._call_
File "/usr/lib/
result = getattr(
File "/usr/lib/
dir_
File "/usr/lib/
return self.put_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
connection, credentials = self._create_
File "/usr/lib/
connection.
File "/usr/lib/
self.welcome = self.getresp()
File "/usr/lib/
resp = self.getmultiline()
File "/usr/lib/
line = self.getline()
File "/usr/lib/
if not line: raise EOFError
EOFError
14.645 return code 4
greetz
Falko
Related branches
- Vincent Ladeuil: Approve
- Martin Packman: Approve
-
Diff: 1510 lines (+17/-1308)16 files modifiedbreezy/help_topics/en/authentication.txt (+3/-3)
breezy/lockdir.py (+0/-3)
breezy/plugins/git/tests/test_dir.py (+1/-1)
breezy/plugins/upload/__init__.py (+1/-1)
breezy/plugins/upload/tests/test_upload.py (+1/-25)
breezy/tests/__init__.py (+0/-6)
breezy/tests/blackbox/test_help.py (+0/-2)
breezy/tests/ftp_server/__init__.py (+0/-82)
breezy/tests/ftp_server/pyftpdlib_based.py (+0/-223)
breezy/tests/test_ftp_transport.py (+0/-151)
breezy/tests/test_http.py (+2/-2)
breezy/tests/test_smart_transport.py (+1/-1)
breezy/tests/transport_util.py (+8/-19)
breezy/transport/__init__.py (+0/-23)
breezy/transport/ftp/__init__.py (+0/-638)
breezy/transport/ftp/_gssapi.py (+0/-128)
Changed in bzr: | |
status: | New → Confirmed |
tags: | added: ftp |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | Triaged → Won't Fix |
Could you see if there's any error in the ftp server's log file?
-- launchpad. net/~mbp/>
Martin <http://