Grail on OpenBSD
John C. Hollemans
contrex at home.com
Wed May 24 23:29:49 EDT 2000
Hello !
Just wondering if anyone has run the (apparently obsolete) web browser
grail under OpenBSD 2.6 lately. I followed the advice of a fellow on
the OBSD newsgroup and ran into a problem. Here is the error stream.
Can anyone point me into the right direction please ?? I have _never_
used python before ! Python is available as a package on OBSD and
requires the usual "pkg_add ..." command to install.
> _____
> Dave,
>
> I followed your tip, installed tcl/tk and python from my OBSD 2.6 CD,
> downloaded the grail sources, unpacked into /usr/local/lib/grail0.6/*
> and i get this message:
>
> localhost# /usr/local/lib/grail0.6/grail.py
> File "/usr/local/lib/grail0.6/grail.py", line 145
> raise
> ^
> SyntaxError: invalid syntax
> localhost#
>
> Running the following python test gives these errors:
>
> localhost# python GrailPrefs.py
> Traceback (innermost last):
> File "GrailPrefs.py", line 349, in ?
> prefs = test()
> File "GrailPrefs.py", line 307, in test
> exercise("prefs = AllPreferences()", env, "Suck in the prefs")
> File "../utils/testing.py", line 34, in exercise
> exec stmt in env
> File "<string>", line 1, in ?
> File "GrailPrefs.py", line 133, in __init__
> self.load()
> File "GrailPrefs.py", line 140, in load
> self.sys = Preferences(os.path.join(utils.get_grailroot(),
> File "/usr/local/lib/python1.5/posixpath.py", line 45, in join
> elif path == '' or path[-1:] == '/':
> AttributeError: __getslice__
> localhost#
>
> Would you be able to help with this ?? I have _never_ used python
> before on any system.
>
> Regards / John
>
> Dave Simons wrote:
> >
> > We've tracked down the source of the following rumour to
> > euth at uchicago.edu (euth) on dim., 21 mai 2000 19:30:32 GMT
> > :
> >
> > >What do you recommend as a browser then? I have many problems
> > >with Netscape, but I have yet to find a good unix
> > >replacement.
> >
> > It's far from being the fastest and smoothest, since it's
> > written in python, an interpreter language. But the good side is
> > if you want to change something, well, you can change something.
> > What's more it's only 336 Kbytes so it costs nothing to give it
> > a try.
> >
> > http://grail.python.org/
> >
> > --
> >
> > ...What was God doing all that time - before the first day?
>
--
Message prepared: 20:10, 24/05/2000
More information about the Python-list
mailing list