Hello,
I think that was probably an update of that Io.py file (when Tim was at
CMU?) which was not quite compatible with the other code you have. I'll
send you some other code in a separate email which I hope will be enough
to get it working again.
Wayne
On Fri, 29 Apr 2005, Justin T Douglas wrote:
> Hi,
>
> I accidentally misnamed a project. I changed the name
> of the xml file and project directory. If I open
> Analysis and click project->open I get an "updating
> path" message
> and the following error message
>
> >>> Exception in Tkinter callback
> Traceback (most recent call last):
> File
> "/home/justin/Programs/ccpnmr/python2.2/lib/python2.2/lib-tk/Tkinter.py",
> line 1316, in __call__
> return apply(self.func, args)
> File
> "/home/justin/Programs/ccpnmr/ccpnmr1.0/python/memops/gui/BasePopup.py",
> line 220, in ok
> if (not self.apply()):
> File
> "/home/justin/Programs/ccpnmr/ccpnmr1.0/python/memops/editor/OpenProjectPopup.py",
> line 130, in apply
> askDir=askdir, askFile=askfile)
> File
> "/home/justin/Programs/ccpnmr/ccpnmr1.0/python/memops/general/Io.py",
> line 192, in readXmlProjectFile
> validateProjectPaths(project,
> showWarning=showWarning, askDir=askDir,
> askFile=askFile, defaultUrls = defaultUrls)
> File
> "/home/justin/Programs/ccpnmr/ccpnmr1.0/python/memops/general/Io.py",
> line 210, in validateProjectPaths
> url.path, default_dir = defaultDir)
> TypeError: <lambda>() got an unexpected keyword
> argument 'default_dir'
>
>
> I found a workaround by calling the project via the
> command line (i.e Analysis xxx.xml). Then I get the
> "update path" message and Analysis prompts me to
> select the new directory name.
>
> J
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
|