lionevan / micolog

Automatically exported from code.google.com/p/micolog
MIT License
0 stars 0 forks source link

category problem #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
make a new category, open the /category/[new category],show "A server
error occurred.  Please contact the administrator."

What is the expected output? What do you see instead?
#

1.
      11-18 05:43AM 05.481 /category/niconico 500 67ms 141cpu_ms
92api_cpu_ms 0kb Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW;
rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5,gzip(gfe),gzip(gfe)
      See details

      220.229.173.2 - renn999 [18/Nov/2009:05:43:05 -0800] "GET
/category/niconico HTTP/1.1" 500 120 "http://micolog.renn999.twbbs.org/"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.9.1.5) Gecko/20091102
Firefox/3.5.5,gzip(gfe),gzip(gfe)"

2.
      E 11-18 05:43AM 05.542 Traceback (most recent call last):
3.
      E 11-18 05:43AM 05.542 File
"/base/python_dist/lib/python2.5/wsgiref/handlers.py", line 92, in run
   4.
      E 11-18 05:43AM 05.543 self.result = application(self.environ,
self.start_response)
   5.
      E 11-18 05:43AM 05.543 File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
523, in __call__
   6.
      E 11-18 05:43AM 05.543 handler.handle_exception(e, self.__debug)
   7.
      E 11-18 05:43AM 05.543 File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
387, in handle_exception
   8.
      E 11-18 05:43AM 05.543 self.error(500)
   9.
      E 11-18 05:43AM 05.543 File
"/base/data/home/apps/renn999micolog/1.337839795475396783/base.py", line
197, in error
  10.
      E 11-18 05:43AM 05.544 self.response.out.write(
template.render(errorfile, self.template_vals))
  11.
      E 11-18 05:43AM 05.544 File
"/base/python_lib/versions/1/google/appengine/ext/webapp/template.py", line
80, in render
  12.
      E 11-18 05:43AM 05.544 t = load(template_path, debug)
  13.
      E 11-18 05:43AM 05.544 File
"/base/python_lib/versions/1/google/appengine/ext/webapp/template.py", line
92, in load
  14.
      E 11-18 05:43AM 05.544 abspath = os.path.abspath(path)
  15.
      E 11-18 05:43AM 05.544 File
"/base/python_dist/lib/python2.5/posixpath.py", line 402, in abspath
  16.
      E 11-18 05:43AM 05.544 if not isabs(path):
  17.
      E 11-18 05:43AM 05.544 File
"/base/python_dist/lib/python2.5/posixpath.py", line 49, in isabs
  18.
      E 11-18 05:43AM 05.544 return s.startswith('/')
  19.
      E 11-18 05:43AM 05.545 AttributeError: 'NoneType' object has no
attribute 'startswith'

What version of the product are you using? On what operating system?
micolog 0.6

Please provide any additional information below.

Original issue reported on code.google.com by renn...@gmail.com on 18 Nov 2009 at 1:55

GoogleCodeExporter commented 8 years ago

Original comment by coolch...@gmail.com on 1 Feb 2010 at 5:22

GoogleCodeExporter commented 8 years ago

Original comment by coolch...@gmail.com on 1 Feb 2010 at 5:23

GoogleCodeExporter commented 8 years ago

Original comment by coolch...@gmail.com on 1 Feb 2010 at 5:24