Ah, it looks like 2.0.3 had the bug and I fixed it but forgot to put that
fix on the update server (but must have fixed my local copy in my 2.0.3.
directory, how bizarre). Anyway, if in UpdateAgent.py you look for the
lines:
class ReleaseUpdate:
def __init__(self, server, installRoot, currentVersion,
releaseDir = 'temporaryReleaseDir', ccpnmrTopDir = 'ccpnmr',
ccpnmrCodeDir = 'ccpnmr2.0', httpServer = 'www.bio.cam.ac.uk',
httpDir = 'ccpnmr', uid = 'ccpn'):
it should say 2.0 in the third line (as it is here), not 1.0. People will
have to fix that by hand (now that the update server is on 2.0.4).
Wayne
On Wed, 15 Oct 2008, Christoph Brockmann wrote:
> I am already in 2.0.3 and see the same error so there might be problems
> in the UpdateAgent.
>
> Christoph
>
>
> Wayne Boucher wrote:
> > Ah, your UpdateAgent must be broken still (are you on 2.0.2? I thought
> > that got fixed for 2.0.3 but maybe not). So in
> > ccpnmr2.0/python/ccpnmr/update/UpdateAgent.py look for the string 1.0 and
> > change to 2.0. Then start Analysis and try again.
> >
> > Wayne
> >
> > On Wed, 15 Oct 2008, Ben Goult wrote:
> >
> >
> >> Hi Wayne,
> >>
> >> I get a similar error to those poster earlier in this thread, this time when
> >> I try and use the update popup within Analysis.
> >>
> >> Exception in Tkinter callback
> >> Traceback (most recent call last):
> >> File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> >> return self.func(*args)
> >> File
> >> "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/AnalysisPopup.py", line
> >> 1800, in updateAnalysis
> >> dataFile='__UpdateAgentData.db')
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/update/UpdatePopup.py",
> >> line 27, in __init__
> >> BasePopup.__init__(self, parent=parent, title='CcpNmr Software Update',
> >> quitFunc=quitFunc)
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/memops/gui/BasePopup.py", line
> >> 124, in __init__
> >> self.initial_focus = self.body(frame)
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/update/UpdatePopup.py",
> >> line 69, in body
> >> self.updateFiles()
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/update/UpdatePopup.py",
> >> line 129, in updateFiles
> >> self.server.getFileUpdates()
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/update/UpdateAgent.py",
> >> line 402, in getFileUpdates
> >> self.parent.installLatestRelease()
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/update/UpdateAgent.py",
> >> line 235, in installLatestRelease
> >> success = releaseUpdate.installRelease()
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/update/UpdateAgent.py",
> >> line 608, in installRelease
> >> self.compileCCode() # What if this fails?
> >> File "/data/prog/ccpnmr/ccpnmr2.0/python/ccpnmr/update/UpdateAgent.py",
> >> line 643, in compileCCode
> >> os.chdir('%s/%s/%s/%s/c' % (self.baseDir, self.releaseDir,
> >> self.ccpnmrTopDir, self.ccpnmrCodeDir))
> >> OSError: [Errno 2] No such file or directory:
> >> '/data/prog/ccpnmr/temporaryReleaseDir/ccpnmr/ccpnmr1.0/c'
> >>
> >>
> >> Cheers
> >>
> >> Ben
> >>
> >>
> >
> >
>
>
> --
> ---------------------------------------------------------
> Dr. Christoph Brockmann
> Division of Structural Studies
> MRC Laboratory of Molecular Biology
> Hills Road
> Cambridge, CB2 2QH
> phone: +44-1223-40-2261 or +44-1223-40-2042
> e-mail: [log in to unmask]
> ---------------------------------------------------------
>
|