|
From: Andy T. <an...@ha...> - 2001-12-20 05:39:57
|
Problem found, and solved (thanks for the help Kevin). I wasn't checking code out of cvs properly. This error message was caused by my local copy of the code not having the 'components' directory. I was doing a 'cvs update' but that doesn't pick up new directories that other people have created in the repository. Andy Todd wrote: > Afternoon all. After being slack for the last couple of weeks I got some > free time and thought I would continue with some documentation I have > been working on. I updated from CVS and now all of the samples are > broken (well, I've only tried dbBrowser and minimal). Is CVS currently > in a working state? > > If it is, then this is my error; > > """ > C:\Work\Python\PythonCardPrototype\samples\minimal>python minimal.py > Traceback (most recent call last): > File "minimal.py", line 25, in ? > app = model.PythonCardApp(Minimal) > File "c:\work\python\PythonCardPrototype\model.py", line 112, in __init__ > self.resource = res.ResourceFile(aFileName).getResource() > File "c:\work\python\PythonCardPrototype\res.py", line 47, in getResource > return Resource( self.dictionary ) > File "c:\work\python\PythonCardPrototype\res.py", line 90, in __init__ > aDictionary[ key ] = Resource( value ) > File "c:\work\python\PythonCardPrototype\res.py", line 96, in __init__ > value[ i ] = Resource( item ) > File "c:\work\python\PythonCardPrototype\res.py", line 96, in __init__ > value[ i ] = Resource( item ) > File "c:\work\python\PythonCardPrototype\res.py", line 101, in __init__ > self.enforceSpec( aDictionary ) > File "c:\work\python\PythonCardPrototype\res.py", line 133, in > enforceSpec > loadComponentModule(typeStr.lower()) > File "c:\work\python\PythonCardPrototype\res.py", line 30, in > loadComponentModule > raise ImportError > ImportError > """ > > Regards, > Andy As usual, google came to the rescue; http://groups.google.com/groups?q=cvs+new+directory&hl=en&rnum=3&selm=fa.g2cdd4v.on0kqn%40ifi.uio.no (excuse wrapping) This prompted me to actually RTFM, and the appropriate flag is '-d', as documented here; http://www.cvshome.org/docs/manual/cvs_16.html#SEC151 Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Another year older, still no wiser." - Me, on my birthday |