Either our server was down (unlikely, they are Suns, not Linux boxes!) or
this is probably yet another firewall issue we need to sort out. The
error is (or at least seems to be) at the connection stage, long before
it gets to trying to fetch files. If you do:
> python
>>> from ftplib import FTP
>>> ftpServer = 'www.bio.cam.ac.uk'
>>> x = FTP(ftpServer)
do you get the same error? (Presumably ordinary "ftp www.bio.cam.ac.uk"
works??)
Note also that the ftp at that point in the script is to ~ftp/pub/ccpnmr
to pick up the latest (full) Analysis release (in this case
analysis1.0.11.tar.gz), so not to the update directory in ~ccpn.
Wayne
On Fri, 4 Aug 2006, [ISO-8859-1] Stephen Paisey wrote:
> Hi Folks,
> I have just tried to upgrade from analysis 1.0.10 to analysis 1.0.11 using
> the new upgrade script. (running under linux connected to the internet
> through a proxy setting) I get the box saying do you want to upgrade to
> analysis 1.0.11 and when i click yes i get a long pause with no information
> on the console, then after a few minutes i get the following error.
>
> Exception in Tkinter callback
> Traceback (most recent call last):
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/python2.4/lib/python2.4/lib-tk/Tkinter.py",
> line 1345, in __call__
> return self.func(*args)
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py",
> line 1638, in updateAnalysis
> popup = UpdatePopup(self, serverLocation='mole.bio.cam.ac.uk',
> serverDirectory='ccpNmrUpdate', dataFile='__UpdateAgentData.db')
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdatePopup.py",
> line 20, in __init__
> BasePopup.__init__(self, parent=parent, title='CcpNmr Software Update')
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/memops/gui/BasePopup.py",
> line 125, in __init__
> self.initial_focus = self.body(frame)
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdatePopup.py",
> line 55, in body
> self.updateFiles()
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdatePopup.py",
> line 119, in updateFiles
> self.server.getFileUpdates()
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdateAgent.py",
> line 346, in getFileUpdates
> self.parent.installLatestRelease()
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdateAgent.py",
> line 195, in installLatestRelease
> success = releaseUpdate.installRelease()
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdateAgent.py",
> line 539, in installRelease
> self.getLatestRelease()
> File
> "/usr/potato/bmbsjp/bin/ccpnmr/ccpnmr1.0/python/ccpnmr/update/UpdateAgent.py",
> line 493, in getLatestRelease
> ftp = FTP(self.ftpServer)
> File "/usr/potato/bmbsjp/bin/ccpnmr/python2.4/lib/python2.4/ftplib.py",
> line 107, in __init__
> self.connect(host)
> File "/usr/potato/bmbsjp/bin/ccpnmr/python2.4/lib/python2.4/ftplib.py",
> line 129, in connect
> raise socket.error, msg
> error: (110, 'Connection timed out')
>
> Does anyone have any advice.
> Cheers
> Steve
>
> n.b. a few notes from gary
>
> I have tried looking at the ftp server directly with firefox through our
> proxy and it is complaining that it can't change to /people/~ccpn
>
>
> ERROR
> The requested URL could not be retrieved
>
> The following URL could not be retrieved:
> ftp://www.bio.cam.ac.uk/~ccpn/ccpNmrUpdate/
>
> Squid sent the following FTP command:
>
> CWD ~ccpn
>
> and then received this reply
>
> /people/ccpn: No such file or directory.
>
> This might be caused by an FTP URL with an absolute path (which does not
> comply with RFC 1738). If this is the cause, then the file can be found at
> ftp://www.bio.cam.ac.uk/%2f/~ccpn/ccpNmrUpdate/.
>
> Your cache administrator is [log in to unmask]
> Generated Fri, 04 Aug 2006 13:44:00 GMT by www-cache.leeds.ac.uk
> (squid/2.5.STABLE8)
>
> I note from your previous code for the patch installation that you are using
> http get for these and clearly they work so it seems to be an ftp problem...
>
|