Yes, but only on monday(

сб, 22 июн. 2019 г., 16:41 Anthony <[email protected]>:

> Can you show the full traceback?
>
> On Saturday, June 22, 2019 at 3:25:23 AM UTC-4, Константин Комков wrote:
>>
>> In my controller I have function:
>> def send_app():
>>     if session.abit_email is None:redirect('
>> https://oas.timacad.ru/application', client_side=True)
>>     const = {rec.NAME:rec.TEXT for rec in 
>> db((db.t_const.NAME=='RECTOR_RANKU')
>> | (db.t_const.NAME=='PREDSEDU') | (db.t_const.NAME=='VUZ')).select(
>> db.t_const.NAME,db.t_const.TEXT)}
>>     rectorRank = const['RECTOR_RANKU']
>>     rectorName = const['PREDSEDU']
>>     *vuzName* = const['VUZ']
>>     statement=create_application_for_edit(rectorRank,rectorName,vuzName)
>>     ...
>> and it's code create_application_for_edit function:
>> def create_application_for_edit(rectorRank,rectorName,vuzName):
>>     ...
>>     if session.edu_course_name!='Без курсов':
>>         edu = edu + 'Закончил(-а) подготовительные курсы {0}: <b>{1}</b>.
>> '.format(*vuzName*,session.edu_course_name)
>>     ...
>> Today I see one user get error 10 times:
>> NameError(name 'vuzName' is not defined)
>> After that I see automatic letter from him on email. It means that error
>> was and something happened and error was gone and that user can send
>> automatic letter from my function. How it is possible?
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/CtsITs1D4po/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/da61f285-7624-4783-900a-a25a03171570%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/da61f285-7624-4783-900a-a25a03171570%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAM7z-Vmh9CbBgPWYFKp9txkd4O2Wo_hCmPdDeOyG8ehzpUXwzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to