that's interesting. If I remenber right, this happened after a CVS update and 
rerunning the install. If I see this again, I'll try to analyse more before 
hacking around :-)

stephan

On Thursday 29 August 2002 21:55, you wrote:
> Stephan, the fix you show below shouldn't be necessary at all unless
> someone messed up one of the Properties.py files by renaming "file" to
> "filename" in a "docs = [...]" line.
>
> And the problem Sasha reported looks like there's a Properties.py floating
> around in a subdirectory without a "docs = []" in it.
>
> Everything installs fine using Webware from CVS so I don't think there's
> anything to fix.
>
> - Geoff
>
> Stephan Diehl wrote:
> > I had this a while ago, but with the CVS version. I somehow
> > forgot to file a
> > bug report to the list, sorry.
> > It might be fixed though in the meantime, who knows :-)
> >
> > Anyway, in install.py (around line 422), you'll find
> >
> > --------------------------------------------------------------
> > -------------
> > for doc in comp['docs']:
> >     ht.append(link % (doc['file'], doc['name']))
> >
> > --------------------------------------------------------------
> > ---------------
> > --------
> >
> > I changed it into:
> >
> > --------------------------------------------------------------
> > ---------------
> > --------
> > for doc in comp['docs']:
> >     try:
> >         ht.append(link % (doc['file'], doc['name']))
> >     except:
> >         ht.append(link % (doc['filename'], doc['name']))
> > --------------------------------------------------------------
> > ---------------
> > --------
> >
> > I'm not sure if this is the REAL fix but at least it let me
> > install the thing
> >
> > Stephan
> >
> > On Wednesday 28 August 2002 16:28, you wrote:
> > > Hello All,
> > >
> > > Having a problem installing webware 0.7 final.
> > > Here is the verbose output:
> > > Python 2.2.1 (#1, Aug 28 2002, 10:02:16)
> > > Creating components' index.html...
> > > Traceback (most recent call last):
> > >   File "install.py", line 553, in ?
> > >     Installer().run(verbose=verbose, passprompt=passprompt,
> > > defaultpass=defaultpass)
> > >   File "install.py", line 57, in run
> > >     self.installDocs()
> > >   File "install.py", line 206, in installDocs
> > >     self.createComponentIndexes()
> > >   File "install.py", line 422, in createComponentIndexes
> > >     for doc in comp['docs']:
> > >   File "/usr/local/lib/python2.2/UserDict.py", line 14, in
> > > __getitem__
> > >     def __getitem__(self, key): return self.data[key]
> > > KeyError: docs
> > >
> > > Please reply directly...
> > > Thanks,                    Sasha


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to