pshung29 / turbocare

Automatically exported from code.google.com/p/turbocare
0 stars 0 forks source link

Configuration Room & beds #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configuration admin--> Room & Beds -> new entry -> save -> error
2. Also while entering Departments and Wards, one is disappeared.
3.

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

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

241
Please provide any additional information below.
500 Internal error

The server encountered an unexpected condition which prevented it from
fulfilling the request.

Page handler: <function _wrapper at 0x2aaaab221ed8>
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools
.py",
line 105, in _run
    self.main()
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools
.py",
line 254, in main
    body = page_handler(*virtual_path, **self.params)
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/identity
/conditions.py",
line 275, in _wrapper
    return fn( *args, **kw )
  File "<string>", line 3, in RoomsEditorSave
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/controll
ers.py",
line 334, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/database
.py",
line 245, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/controll
ers.py",
line 351, in <lambda>
    mapping, fragment, args, kw)))
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/controll
ers.py",
line 378, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/errorhan
dling.py",
line 71, in try_call
    return func(self, *args, **kw)
  File "<string>", line 3, in RoomsEditorSave
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/controll
ers.py",
line 173, in validate
    return errorhandling.run_with_errors(errors, func, *args, **kw)
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/errorhan
dling.py",
line 106, in run_with_errors
    return func(self, *args, **kw)
  File "<string>", line 3, in RoomsEditorSave
  File
"/usr/lib/python2.4/site-packages/TurboGears-1.0b2-py2.4.egg/turbogears/identity
/conditions.py",
line 235, in require
    return fn(self, *args, **kwargs)
  File "/home/me/svn/turbocare/turbocare/controllers_configuration.py",
line 1246, in RoomsEditorSave
    RoomType = model.TypeRoom(Type='ward', Name='Ward room')
  File
"/usr/lib/python2.4/site-packages/SQLObject-0.7.2-py2.4.egg/sqlobject/declarativ
e.py",
line 93, in _wrapper
    return fn(self, *args, **kwargs)
  File
"/usr/lib/python2.4/site-packages/SQLObject-0.7.2-py2.4.egg/sqlobject/main.py",
line 1203, in __init__
    self._create(id, **kw)
  File
"/usr/lib/python2.4/site-packages/SQLObject-0.7.2-py2.4.egg/sqlobject/main.py",
line 1222, in _create
    raise TypeError, "%s() did not get expected keyword argument %s" %
(self.__class__.__name__, column.name)
TypeError: TypeRoom() did not get expected keyword argument LdVar

Powered by CherryPy 2.2.1 

Original issue reported on code.google.com by tushar.c...@gmail.com on 17 Apr 2007 at 12:35

GoogleCodeExporter commented 8 years ago
This error should be solved by 243.  It is like Issue 22.

Original comment by umpen...@gmail.com on 18 Apr 2007 at 9:53