Problems with Grail 0.6 and Python 1.5.2 (NT)

Chris... sca at isogmbh.de
Fri Aug 6 13:54:57 CEST 1999


Hello

  I've just downloaded the latest version of Grail, but got the following
error:
-+--+--+--+--+--+--+ schnippel +--+--+--+--+--+--+--+--+--+--+--+--+-- 
C:\TEMP\Grail\grail-0.6>grail.py
Traceback (innermost last):
  File "C:\TEMP\Grail\grail-0.6\grail.py", line 499, in ?
    main()
  File "C:\TEMP\Grail\grail-0.6\grail.py", line 155, in main
    browser.home_command()
  File "C:\TEMP\Grail\grail-0.6\Browser.py", line 400, in home_command
    self.context.load(home)
  File "C:\TEMP\Grail\grail-0.6\Context.py", line 487, in load
    scrollpos=scrollpos)
  File "C:\TEMP\Grail\grail-0.6\Context.py", line 378, in read_page
    Reader(self, url, method, params, show_source, reload, data, scrollpos)
  File "C:\TEMP\Grail\grail-0.6\Reader.py", line 447, in __init__
    if url: self.restart(url)
  File "C:\TEMP\Grail\grail-0.6\Reader.py", line 491, in restart
    BaseReader.__init__(self, self.last_context, api)
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 62, in __init__
    self.start()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 85, in start
    self.checkapi_regularly()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 157, in checkapi_regularly
    self.callback()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 184, in checkmeta
    self.getapimeta()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 206, in getapimeta
    self.handle_meta(errcode, errmsg, headers)
  File "C:\TEMP\Grail\grail-0.6\Reader.py", line 544, in handle_meta
    if not self.handle_meta_prelim(errcode, errmsg, headers):
  File "C:\TEMP\Grail\grail-0.6\Reader.py", line 534, in handle_meta_prelim
    self.restart(url)
  File "C:\TEMP\Grail\grail-0.6\Reader.py", line 491, in restart
    BaseReader.__init__(self, self.last_context, api)
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 62, in __init__
    self.start()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 85, in start
    self.checkapi_regularly()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 157, in checkapi_regularly
    self.callback()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 184, in checkmeta
    self.getapimeta()
  File "C:\TEMP\Grail\grail-0.6\BaseReader.py", line 206, in getapimeta
    self.handle_meta(errcode, errmsg, headers)
  File "C:\TEMP\Grail\grail-0.6\Reader.py", line 557, in handle_meta
    bkmks.record_visit(self.url, last_modified)
  File "C:\TEMP\Grail\grail-0.6\ancillary\BookmarksGUI.py", line 1000, in record
_visit
    bookmarks = self.get_bookmarks_by_uri(uri)
  File "C:\TEMP\Grail\grail-0.6\ancillary\BookmarksGUI.py", line 996, in get_boo
kmarks_by_uri
    self.initialize()
  File "C:\TEMP\Grail\grail-0.6\ancillary\BookmarksGUI.py", line 900, in initial
ize
    root, reader = self._iomgr.load(usedefault=1)
  File "C:\TEMP\Grail\grail-0.6\ancillary\BookmarksGUI.py", line 269, in load
    fp, reader = self.__open_url_for_reading(filename)
  File "C:\TEMP\Grail\grail-0.6\ancillary\BookmarksGUI.py", line 213, in __open_
url_for_reading
    fp = urllib.urlopen(url)
  File "C:\TEMP\Grail\grail-0.6\grail.py", line 344, in open_url_simple
    api = self.open_url(url, 'GET', {})
  File "C:\TEMP\Grail\grail-0.6\grail.py", line 339, in open_url
    api = self.url_cache.open(url, method, params, reload, data=data)
  File "C:\TEMP\Grail\grail-0.6\CacheMgr.py", line 159, in open
    return self.open_get(key, url, mode, params, reload, data)
  File "C:\TEMP\Grail\grail-0.6\CacheMgr.py", line 199, in open_get
    item = SharedItem(url, mode, params, self, key, data)
  File "C:\TEMP\Grail\grail-0.6\Cache.py", line 74, in __init__
    self.reset()
  File "C:\TEMP\Grail\grail-0.6\Cache.py", line 91, in reset
    data=self.postdata)
  File "C:\TEMP\Grail\grail-0.6\protocols\ProtocolAPI.py", line 119, in protocol
_access
    access = app.find_extension('protocols', sanitized).access
AttributeError: 'None' object has no attribute 'access'
-+--+--+--+--+--+--+ schnippel +--+--+--+--+--+--+--+--+--+--+--+--+-- 
My system is Windows NT 4 (SP5), Python 1.5.2 and TCL8 (that from the Python
distribution, btw. the installation program doesn't add a path to tcl
automatically, that was my first problem...).

  What's going wrong here (Grail 0.5 did work alright).

  Thanks a lot in advance!

bye
  Chris...




More information about the Python-list mailing list