AttributeError: 'NoneType' object has no attribute 'save'

Bug #264226 reported by Morten Brekkevold
4
Affects Status Importance Assigned to Milestone
Network Administration Visualized
Fix Released
Low
Morten Brekkevold

Bug Description

Several users have reported intermittent, but rare, crashes in the web interface. The following is an excerpt of the output displayed in a browser when such a crash occurs:

189

<pre>
Mod_python error: "PythonCleanupHandler nav.web"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/nav/web/__init__.py", line
106, in cleanuphandler
    req.session.save()

AttributeError: 'NoneType' object has no attribute 'save'

</pre>

HTTP/1.1 200 OK
Date: Wed, 03 Sep 2008 06:50:56 GMT
Server: Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4
PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

818
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

    <title>NAV</title>
    <link rel="stylesheet" type="text/css" href="/style/reset.css" />
    <link rel="stylesheet" type="text/css" href="/style/default.css" />

    <script type="text/javascript" src="/js/default.js"></script>

</head>

Changed in nav:
assignee: nobody → mvold
importance: Undecided → Low
milestone: none → v3.5.0
status: New → Confirmed
Changed in nav:
milestone: v3.5.0 → v3.4.3
status: Confirmed → In Progress
Revision history for this message
Morten Brekkevold (mbrekkevold) wrote :

Committed fix in rev bb6ea3e5eef4 on series/3.4.x branch: http://metanav.uninett.no/hg/series/3.4.x/rev/bb6ea3e5eef4

Changed in nav:
status: In Progress → Fix Committed
Changed in nav:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.