Print

Print


Dear Elias

Are there any accented characters in your filename? The presence of these in a filename can throw errors of this kind.

Best

Simon

-------------------------------------------------------------------------------------

Dr Simon P. Skinner
Postdoctoral Research Associate CCPN

Department of Molecular and Cell Biology,

University of Leicester, 

University Road, Leicester, LE1 7RH, UK

T: +44 (0) 116 223 1904
E: 
[log in to unmask]



Elite without being elitist

Follow us on Twitter or visit our Facebook page


On 13 Aug 2015, at 10:12, Elias Akoury <[log in to unmask]> wrote:

Hello Wayne and everyone on the list,

Thank you for the tips. I have started with a fresh project and for some days saving and backup was working. Today I had problems again with loading the most recent saved project. So I opened an older backuped project and this loaded fine. Once I tried to save it under a new date with todays date, it started complaining again as you can see below and saving the project was not completed. Any help and tips are highly appreciated.

Thank you
Best regards
Elias Akoury

>>> Registered (Elias Akoury, Gene Center LMU, [log in to unmask])
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable
setPopupGeometry exception 'NoneType' object is not callable_Clr4_1_191_
### renaming 15N13C_Clr4_1_191_final_august12 15N13C_Clr4_1_191_final_august14
Copying directory /home/akoury/housedata/7_NMR_CCPN/1_Final_Assignments/15N13C_final_august12_backup to /home/akoury/housedata/7_NMR_CCPN/1_Final_Assignments/15N13C_final_august14 (this might take some time if there are big files)
start generating output :  memops.Implementation.MemopsRoot
start generating output :  ccpnmr.Analysis.AnalysisProject
start generating output :  ccp.general.DataLocation.DataLocationStore
start generating output :  ccp.molecule.MolSystem.MolSystem
start generating output :  ccp.nmr.Nmr.NmrProject
Exception working on topObject <ccp.nmr.Nmr.NmrProject ['defaultProject']>, file /home/akoury/housedata/7_NMR_CCPN/1_Final_Assignments/15N13C_final_august14/ccp/nmr/Nmr/defaultProject+defaultProject_akoury_2015-06-03-16-43-28-543_00002.xml
Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/akoury/ccpnmr/python2.7/lib/python2.7/lib-tk/Tkinter.py", line 1532, in __call__
    return self.func(*args)
  File "/home/akoury/ccpnmr/ccpnmr2.4/python/memops/editor/SaveProjectFrame.py", line 164, in save
    showWarning=showWarning)
  File "/home/akoury/ccpnmr/ccpnmr2.4/python/memops/general/Io.py", line 425, in saveProject
    topObject.save()
  File "/home/akoury/ccpnmr/ccpnmr2.4/python/memops/api/Implementation.py", line 5134, in save
    self.saveTo(repository)
  File "/home/akoury/ccpnmr/ccpnmr2.4/python/memops/api/Implementation.py", line 5158, in saveTo
    XmlIO.save(repository.url.getDataLocation(), self)
  File "/home/akoury/ccpnmr/ccpnmr2.4/python/memops/format/xml/XmlIO.py", line 178, in save
    saveToStream(stream, topObject, mapping, comment, simplified, compact)
  File "/home/akoury/ccpnmr/ccpnmr2.4/python/memops/format/xml/XmlIO.py", line 193, in saveToStream
    simplified, compact, expanded)
  File "/home/akoury/ccpnmr/ccpnmr2.4/python/memops/xml/Implementation.py", line 4598, in saveToStream
    strapp(value)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa7' in position 7: ordinal not in range(128)




On Fri, 2015-08-07 at 22:04 +0100, Wayne Boucher wrote:
Hello,

As far as I can tell, that check is still there.  So it should pop up a warning if the file is not complete, and print out a list of the file(s) which are not complete onto the console.  Something must have gone wrong here, not sure what.

That *.xml.bak version of the XML file looked complete to me.  So in this case, in the ccp/nmr/Nmr directory, copying the *.xml.bak file to the *.xml file should work (well, should likely work).  (It can go wrong if the data in the backup is somehow inconsistent with the other xml files, but in my experience that is not too likely to happen.)

Wayne

> On 7 Aug 2015, at 14:59, Justin Lecher <[log in to unmask]> wrote:
> 
> On 07/08/15 15:57, Elias Akoury wrote:
>> yes I have the latest version with all updates.
>> 
> 
> Wayne, could you please check whether the check after saving is still working as
> expected?
> 
> Thanks,
> Justin
> 
> 
> -- 
> Justin Lecher
> Institute of Complex Systems
> ICS-6 Structural Biochemistry
> Research Centre Juelich
> 52425 Juelich, Germany
> phone: +49 2461 61 2117
> 
>