----- Original Message ----- From: "Magnus Nordseth" magnus@ntnu.no To: "Odd Arne Hauge" odd.hauge@hiMolde.no Cc: nav-users@itea.ntnu.no Sent: Wednesday, June 02, 2004 1:21 PM Subject: Re: Sm?rusk med Beta5
Odd Arne Hauge:
Browsing av bokser (/browse/switch-navn) virker ikke. Vet ikke om den featuren er "sluppet" enn?.
Du mangler modulen IPy, jeg er ikke helt sikker p? om den har blitt lagt til som prerekvisitt i installasjonsguiden enda. Modulen kan hentes fra http://c0re.23.nu/c0de/IPy/ og m? installeres for den
python-installasjonen
apache bruker.
OK. Har gjort det. Fikk da problemer med uptodate feltet som er flyttet til netbox tabellen fra type. Tror koden m? sjekkes for dette. Output ble: We're terribly sorry, but something went wrong.. :(
Traceback (most recent call last): File "/usr/local/nav/lib/python/nav/web/devBrowser/dispatcher.py", line 96, in handler result = handler.process(request) File "/usr/local/nav/lib/python/nav/web/devBrowser/netbox.py", line 162, in process result.append(info.showInfo()) File "/usr/local/nav/lib/python/nav/web/devBrowser/netbox.py", line 205, in showInfo info.add('Type', urlbuilder.createLink(self.type)) File "/usr/local/nav/lib/python/nav/web/urlbuilder.py", line 183, in createLink content = str(object) File "/usr/local/apache/libexec/python/lib/python2.2/site-packages/forgetSQL.py", line 902, in __str__ short = [str(getattr(self, short)) for short in shortView] File "/usr/local/apache/libexec/python/lib/python2.2/site-packages/forgetSQL.py", line 389, in __getattr__ self.load() File "/usr/local/apache/libexec/python/lib/python2.2/site-packages/forgetSQL.py", line 468, in load self._loadDB() File "/usr/local/apache/libexec/python/lib/python2.2/site-packages/forgetSQL.py", line 697, in _loadDB curs.execute(sql, self._getID()) ProgrammingError: ERROR: No such attribute type.uptodate
SELECT type.uptodate, type.typeid, type.sysobjectid, type.frequency, type.cs_at_vlan, type.descr, type.typename, type.cdp, type.tftp, type.vendorid FROM type WHERE (type.typeid=13) - odd arne