Re: [Zope] Massive FTP troubles
marwin98 writes:
after solving my problem with siteroot (thanks to Evan Simpson!), I just encountered something very strange: I login with my FTP-client and after uploading a couple of gif files to port 8021, I get the following in the Z2.log: =============================================== 2000-09-19T13:41:20 INFO(0) ZServer Successful login. ------ 2000-09-19T13:41:29 INFO(0) ZServer Incoming connection from 212.9.128.5:61462 ------ 2000-09-19T13:41:29 INFO(0) ZServer Incoming connection from 212.9.128.5:61463 ------ 2000-09-19T13:41:29 INFO(0) ZServer Successful login. ------ 2000-09-19T13:41:29 INFO(0) ZServer Successful login. ------ 2000-09-19T13:41:29 INFO(0) Z2 CONFLICT Competing writes at, /em/nav/aiti2.gif Traceback (innermost last): File /var/zope222/lib/python/ZPublisher/Publish.py, line 175, in publish File /var/zope222/lib/python/Zope/__init__.py, line 235, in commit File /var/zope222/lib/python/ZODB/Transaction.py, line 251, in commit File /var/zope222/lib/python/ZODB/Connection.py, line 267, in commit ConflictError: " Apparently, you have two clients that want to change "/em/nav/aiti2.gif" at the same time.
Dieter
At 22:14 19.09.00, Dieter Maurer wrote:
marwin98 writes:
2000-09-19T13:41:29 INFO(0) Z2 CONFLICT Competing writes at, /em/nav/aiti2.gif Traceback (innermost last): File /var/zope222/lib/python/ZPublisher/Publish.py, line 175, in publish File /var/zope222/lib/python/Zope/__init__.py, line 235, in commit File /var/zope222/lib/python/ZODB/Transaction.py, line 251, in commit File /var/zope222/lib/python/ZODB/Connection.py, line 267, in commit ConflictError: " Apparently, you have two clients that want to change "/em/nav/aiti2.gif" at the same time.
This is not the case, since I was the only one who had access to the server. I just used "CuteFTP", an FTP-client for windows, that does multiple connections when up/downloading more than one file. Somehow the FTP server must have misunderstood this. Maybe a port-problem? I am quite sure that it's the error on the FTP server side. One additional info that could be helpful: my requests came from behind a firewall, so all of them were from the same IP address in passive mode. I hope that the programmer(s) of the FTP server read this and I'd be glad to offer any help I can to solve this problem (but not with python, since I do not know this language - yet) Martin PS: even _if_ I would try to change a file from two connections at the same time, the server should block the second request until the first is ready, isn't it?
marwin98 writes:
Apparently, you have two clients that want to change "/em/nav/aiti2.gif" at the same time.
This is not the case, since I was the only one who had access to the server. I just used "CuteFTP", an FTP-client for windows, that does multiple connections when up/downloading more than one file. Somehow the FTP server must have misunderstood this. Maybe a port-problem? I am quite sure that it's the error on the FTP server side. One additional info that could be helpful: my requests came from behind a firewall, so all of them were from the same IP address in passive mode. That probably is the problem.
You have two connections that concurrently upload files. On the server side, there will be two threads processing the requests. If the files go to the same folder, there may well be a conflict for the common folder. The only strange thing is, that you get told that a conflict occured for "/em/nav/aiti2.gif" rather than the folder. You are sure, your FTP client works correct and does not try to upload the same file via two connections? Anyway, folder conflicts are to be expected. Can you tell your FTP client not to serve several connections concurrently? Dieter
On Thu, 21 Sep 2000 00:03:47 +0200 (CEST), Dieter Maurer <dieter@handshake.de> wrote:
The only strange thing is, that you get told that a conflict occured for "/em/nav/aiti2.gif" rather than the folder.
That is the URL of the request that caused the conflict, not the object in which the conflict occurred. Toby Dickenson tdickenson@geminidataloggers.com
participants (3)
-
Dieter Maurer -
marwin98 -
Toby Dickenson