I always test trunk, but I think there are users who has some difficult using 
hg to pull trunk. 

If possible to include a .zip version of trunk available to download I guess 
more people would test it. 

Google code has a download tab. 

Maybe the commit script could zip and upload it just after the commit ?



Enviado via iPhone

Em 19/12/2010, às 19:06, mdipierro <[email protected]> escreveu:

> Fixing in 1.90.4. I apologize and wish people had tested this more on
> trunk but looks like very few users test trunk.
> 
> Massimo
> 
> On Dec 19, 2:38 pm, pandaluv <[email protected]> wrote:
>> Traceback (most recent call last):
>>   File "/home/felix/Desktop/web2py/gluon/restricted.py", line 188, in
>> restricted
>>     exec ccode in environment
>>   File "/home/felix/Desktop/web2py/applications/SGE/controllers/
>> incidents.py", line 174, in <module>
>>   File "/home/felix/Desktop/web2py/gluon/globals.py", line 95, in
>> <lambda>
>>     self._caller = lambda f: f()
>>   File "/home/felix/Desktop/web2py/gluon/tools.py", line 2289, in f
>>     return action(*a, **b)
>>   File "/home/felix/Desktop/web2py/applications/SGE/controllers/
>> incidents.py", line 7, in create
>>     form = SQLFORM(db.incident,field=['contact', 'event_id',
>> 'location', 'phone', 'reported_by', 'synopsis', 'started_at',
>> 'severity'])
>>   File "/home/felix/Desktop/web2py/gluon/sqlhtml.py", line 792, in
>> __init__
>>     inp = self.widgets.options.widget(field, default)
>>   File "/home/felix/Desktop/web2py/gluon/sqlhtml.py", line 205, in
>> widget
>>     options = requires[0].options()
>>   File "/home/felix/Desktop/web2py/gluon/validators.py", line 424, in
>> options
>>     self.build_set()
>>   File "/home/felix/Desktop/web2py/gluon/validators.py", line 405, in
>> build_set
>>     fields = [f for f in self.dbset.db[ktable]]
>> NameError: global name 'ktable' is not defined
>> 
>>  <type 'exceptions.NameError'>(global name 'ktable' is not defined)
>> 
>> ------------------------------------------------------------------
>>         if self._and:
>>             self._and.record_id = id
>> 
>>     def build_set(self):
>>         if self.fields == 'all':
>> fields = [f for f in self.dbset.db[ktable]]
>> 
>>         else:
>>             fields = [self.dbset.db[ktable][k] for k in self.fields]
>>         if self.dbset.db._dbname != 'gae':
>>             orderby = self.orderby or reduce(lambda a,b:a|b,fields)
>> 
>> --------------------------------------------------------------------
>> 
>> def create():
>>     form = SQLFORM(db.incident,field=['contact', 'event_id',
>> 'location', 'phone', 'reported_by', 'synopsis', 'started_at',
>> 'severity'])
>>     # check submited form (custom insert if ok)
>>     if form.accepts(request.vars, session, dbio=False):
>>         incident_id = db.incident.insert(**form.vars)
>>         response.flash = T("Incident %s created!") % incident_id
>>     elif form.errors:
>>         response.flash = T("Incident not saved! (correct errors!)")
>>     else:
>>         response.flash = T("Complete the form")
>>     return dict(form=form)
>> 
>> ---------------------------------------------------------------
>> 
>> Version 1.90.3 (2010-12-19 16:48:26)
>> 
>> =) help

Reply via email to