Changes between Version 2 and Version 3 of Pakistan


Ignore:
Timestamp:
08/11/10 23:21:33 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Pakistan

    v2 v3  
    55 * http://pakistan.sahanafoundation.org
    66
    7 A new SitRep module has been built to manage:
     7A new !SitRep module has been built to manage:
    88 * Flood Reports
    9  * Assessments
    10 
     9 * Assessments from WFP
     10 * School Reports
     11 
    1112These can be uploaded as files, but we really want volunteers using a Mechanical Turk process to input the data into the structured fields.
    1213
     
    1415
    1516Would be good to write a custom PDF writer for this format of report so we can consider getting people to enter data into DB directly.
     17
     18Bugs:
     19 * Setting a Parent to a GIS Location causes an error on MySQL/Python25 (sqlite on Python26 fine)
     20{{{
     21Traceback (most recent call last):
     22  File "gluon/restricted.py", line 186, in restricted
     23    exec ccode in environment
     24  File "/home/web2py/applications/eden/controllers/gis.py", line 1672, in <module>
     25  File "gluon/globals.py", line 96, in <lambda>
     26    self._caller = lambda f: f()
     27  File "/home/web2py/applications/eden/controllers/gis.py", line 491, in location
     28    output = shn_rest_controller(module, resource)
     29  File "/home/web2py/applications/eden/models/01_crud.py", line 1891, in shn_rest_controller
     30    res, req = s3xrc.parse_request(module, resource, session, request, response)
     31  File "applications/eden/modules/s3xrc.py", line 2798, in parse_request
     32    debug=self.debug)
     33  File "applications/eden/modules/s3xrc.py", line 2780, in request
     34    debug=self.debug)
     35  File "applications/eden/modules/s3xrc.py", line 1755, in __init__
     36    self.resource.load()
     37  File "applications/eden/modules/s3xrc.py", line 600, in load
     38    self.__set = self.__db(self.__query).select(self.table.ALL, limitby=limitby)
     39  File "gluon/sql.py", line 3214, in select
     40    rows = response(query)
     41  File "gluon/sql.py", line 3209, in response
     42    db._execute(query)
     43  File "gluon/sql.py", line 978, in <lambda>
     44    self._execute = lambda *a, **b: self._cursor.execute(*a, **b)
     45  File "/var/lib/python-support/python2.5/MySQLdb/cursors.py", line 166, in execute
     46    self.errorhandler(self, exc, value)
     47  File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line 35, in defaulterrorhandler
     48    raise errorclass, errorvalue
     49ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
     50}}}