[web2py] Re: crash - session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL) on 2.9.11

2015-12-17 Thread Шаманов Алексей
This is mod_wsgi issue. Directive WSGIApplicationGroup %{GLOBAL}solves the problemz воскресенье, 20 сентября 2015 г., 20:33:38 UTC+5 пользователь Massimo Di Pierro написал: > > This is clearly a case of file being corrupted. If you remove your cache > files does it happen again? Do you have a l

[web2py] How to pass parameters

2015-09-12 Thread Шаманов Алексей
e.g. showid=False to underlying elements of SQLFORM.smartgrid? Variant SQLFORM.smartgrid(, formargs={'showid':False}} does not work. Thnx. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web

[web2py] Strange behavior with db.commit and firebird database

2015-09-12 Thread Шаманов Алексей
Hello. I have to import large amount of data from csv-files with some additional work on their structure. I try reader = csv.reader(form.vars.data.file) for row in reader: db.mytable.insert() and so huge memory consumption. Standart behavior commit-before-response does not fit to mez I add e

[web2py] Mercurial python 3

2020-04-02 Thread Шаманов Алексей
Hello, anybody tries web2py + mercurial versioning with python 3? Mercurial 5.2+ support python 3 but in web2py i have a bunch of errors: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' Версия web2py™ Version 2.19.1-stable+timestamp.2020.03.21.21.49.28 Python