[web2py] UnicodeEncodeError

2020-06-08 Thread aabelyakov
web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2020 Version 2.20.4-stable+timestamp.2020.05.03.05.18.50 Database drivers available: sqlite3, psycopg2, imaplib, pymysql please visit: http://127.0.0.1:8000/ use "kill -SIGTERM 7474" to shutdown the web2py server ERROR:Rocket.Erro

[web2py] Error importing Russian characters from csv file

2020-03-31 Thread aabelyakov
When importing data (russian characters) from a .csv-file into a table, an error occurs: 'ascii' codec can't decode byte 0xd0 in position 65: ordinal not in range(128). Standalone PyDAL works fine! = import locale prin

[web2py] APScheduler ValueError

2014-09-08 Thread aabelyakov
At the start of the function XXX() from the library uLib.py using APScheduler ValueError exception occurs. What to do? OS - Ubuntu 12.04 64 bits Web2py version - 2.9.8 APScheduler version = 3.0.0 controller - opros.py ~ import uLib as l from apscheduler.schedulers.background

[web2py] How to run the sheduler on AppFog?

2013-06-17 Thread aabelyakov
-- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.

[web2py] Re: TypeError: __call__() takes exactly 3 arguments (4 given)

2013-01-15 Thread aabelyakov
roto, port=port),), > dict(startup=True)) > > with > > thread.start_new_thread(start_browser, > (get_url(ip, proto=proto, port=port), > True)) > > On Sunday, 13 January 2013 23:44:45 UTC-6, aabelyakov wrote: >> >> ubuntu v.1

[web2py] TypeError: __call__() takes exactly 3 arguments (4 given)

2013-01-13 Thread aabelyakov
self.func(*args) File "/home/aabelyakov/MyPython/web2py/gluon/widget.py", line 514, in start dict(startup=True)) TypeError: __call__() takes exactly 3 arguments (4 given) --

[web2py] Re: TypeError: can't pickle file objects

2012-08-28 Thread aabelyakov
tively goes in modules. > > On Monday, 27 August 2012 23:50:27 UTC-5, aabelyakov wrote: >> >> gLib.py - this is a common library of functions and procedures. It uses >> global variables attached to the session. >> >> понедельник, 27 августа 2012 г., 23:00:3

[web2py] Re: TypeError: can't pickle file objects

2012-08-27 Thread aabelyakov
gLib.py - this is a common library of functions and procedures. It uses global variables attached to the session. понедельник, 27 августа 2012 г., 23:00:37 UTC+4 пользователь Massimo Di Pierro написал: > > gLib.py is probably a module, not a model. I would put it there. Why it > fails I cannot

[web2py] TypeError: can't pickle file objects

2012-08-27 Thread aabelyakov
After placing gLib.py module into directory "models" web2py (versions 2.0 and 1.99.7 on Windows and Ubuntu) fails: Traceback (most recent call last): File "/home/aabelyakov/MyPython/web2py/gluon/main.py", line 528, in wsgibase session._try_store_on_disk(request, response) Fi

[web2py] KeyError: 'routes_logging'

2010-08-11 Thread aabelyakov
OS - Ubuntu 10.04 LTS - Lucid Lynx web2py - Version 1.82.1 (2010-08-04 18:57:33) pull from https://web2py.googlecode.com/hg/ KeyError: 'routes_logging' File "/home/aabelyakov/Web2py/web2py.py", line 17, in import gluon.widget File "/home/aabelyakov/Web2py/gluo

[web2py] Re: How to return the resources?

2010-04-17 Thread aabelyakov
with industrial robots, some logic had to be > done faster than the webbrowser could do it.  So having a "machine > server" as we call it at work, helps take care of those common logic > steps so that web2py doesn't worry about it. > BR, > Jason Brower > > >

[web2py] Re: NameError: global name 'formstyle' is not defined

2010-04-17 Thread aabelyakov
I re-downloaded a working copy of trunk from https://web2py.googlecode.com/hg/. Error disappeared. Topic closed. Thanks On 16 апр, 17:25, mdipierro wrote: > where did you get web2py from? > > On Apr 16, 2:01 am, aabelyakov wrote: > > > > > On 16 апр, 10:21, mdipierr

[web2py] Re: How to return the resources?

2010-04-17 Thread aabelyakov
web2py via queued messages. > > Massimo > > On Apr 16, 2:13 am, aabelyakov wrote: > > > > > I do not use os.chdir or explicit calls to thread module. > > I'm using PySerial and after the error COM port remains open. > > To close it, I restart the web server. >

[web2py] Re: How to return the resources?

2010-04-16 Thread aabelyakov
ode? > > On Apr 15, 12:15 pm, aabelyakov wrote: > > > > > During my application error occurs and it stops giving error ticket. > > > How can I in my application to return the resources of the operating > > system > > (eg close the COM port)  befo

[web2py] Re: NameError: global name 'formstyle' is not defined

2010-04-16 Thread aabelyakov
On 16 апр, 10:21, mdipierro wrote: > In the version in trunk that line is 768 and not 977 and it is > defined. It is an argument of the function. > Your file appear longer than it should be and that is very odd. Please > try download it again. I added into sqlhtml.py 2 missing strings:

[web2py] NameError: global name 'formstyle' is not defined

2010-04-15 Thread aabelyakov
Version 1.76.5 (2010-03-20 12:12:17) web2py source code from trunk File "D:\MyProg\_MyPython\Web2py\gluon\sqlhtml.py", line 799, in __init__ if formstyle == 'table3cols': NameError: global name 'formstyle' is not defined -- Subscription settings: http://groups.google.com/group/web2py/subsc

[web2py] How to return the resources?

2010-04-15 Thread aabelyakov
During my application error occurs and it stops giving error ticket. How can I in my application to return the resources of the operating system (eg close the COM port) before the error ticket not to restart the web server? Excuse my bad English... Regards -- To unsubscribe, reply using "rem