Also, to get Bug Reporting to work again there is a similar edit in
ccpnmr2.2/python/ccpnmr/analysis/popups/ReportError.py, so the line
print fetchUrl('http://www.ccpn.ac.uk/cgi-bin/karolis/SubmitBug.py',
values, timeout=3)
should also have www --> www2.
Wayne
On Thu, 19 Jul 2012, Wayne Boucher wrote:
> Hello,
>
> Is it possible for you to install 2.2.2? Because that bug was fixed and
> probably already in 2.2.1, but we don't post updates for 2.2.1 any more. And
> the second problem below is that our server changed from www.ccpn.ac.uk to
> www2.ccpn.ac.uk. Now if you really want to stick with 2.2.1 then you should
> still be able to get the patches for that but you will need to do a bit of
> editing. In ccpnmr2.2/python/ccpnmr/analysis edit AnalysisPopup.py and look
> for:
>
> serverDirectory = 'ccpNmrUpdate%d.%d' % (version.major, version.minor)
> popup = UpdatePopup(self, serverLocation='www.ccpn.ac.uk',
>
> What you want instead is:
>
> serverDirectory = 'ccpNmrUpdate2.2.1'
> popup = UpdatePopup(self, serverLocation='www2.ccpn.ac.uk',
>
> Regards, Wayne
>
> On Thu, 19 Jul 2012, Ross Thomson wrote:
>
>> Hi
>>
>> I'm using version 2.2.1 and when I click on the resonance tab I'm getting
>> this trace back. The resonance tab is not set out as a table with all the
>> information squashed to the left side.
>>
>>
>> Traceback (most recent call last):
>> File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
>> return self.func(*args)
>> File
>> "/usr/local/ccpnmr/ccpnmr2.2/python/ccpnmr/analysis/AnalysisPopup.py", line
>> 1949, in browseResonances
>> popup.update() # TBD: not sure if this is really needed
>> File
>> "/usr/local/ccpnmr/ccpnmr2.2/python/ccpnmr/analysis/popups/BrowseResonances.py",
>> line 1448, in update
>> colorMatrix=colorMatrix)
>> File "/usr/local/ccpnmr/ccpnmr2.2/python/memops/gui/ScrolledMatrix.py",
>> line 2061, in update
>> self.refreshSize()
>> File "/usr/local/ccpnmr/ccpnmr2.2/python/memops/gui/ScrolledMatrix.py",
>> line 973, in refreshSize
>> self.drawCanvas()
>> File "/usr/local/ccpnmr/ccpnmr2.2/python/memops/gui/ScrolledMatrix.py",
>> line 1355, in drawCanvas
>> elif doEditMark(i+vo, j+ho):
>> File "/usr/local/ccpnmr/ccpnmr2.2/python/memops/gui/ScrolledMatrix.py",
>> line 1406, in doEditMark
>> return self.doEditMarkExtraRules(self.objectList[row], row, col)
>> File
>> "/usr/local/ccpnmr/ccpnmr2.2/python/ccpnmr/analysis/popups/BrowseResonances.py",
>> line 562, in doEditMarkExtraRules
>> resonance, shift = obj
>> TypeError: 'Resonance' object is not iterable
>>
>> I tried to send it using the error report tab but I got
>>
>> Report failed <class 'urllib2.HTTPError'>
>>
>>
>> Ross
>>
>
|