I think - permissions is wrong
воскресенье, 4 марта 2018 г., 12:26:03 UTC+3 пользователь Val K написал:
>
> Look for 'track_changes' in the chapter "The core" of the book, or just
> restart web2py
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
how I may reload module manual?
воскресенье, 4 марта 2018 г., 12:08:11 UTC+3 пользователь Val K написал:
>
> It happens when module was changed but not reloaded
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
And when I rty to SAVE I see:::
failed to reload module because:
SyntaxError('invalid syntax', ('', 1, 21, 'import
applications.7pay_in.modules.serv_block_proc\n'))
воскресенье, 4 марта 2018 г., 11:58:51 UTC+3 пользователь Dmitri Ermolaev
написал:
>
> see line 463 - "return&q
see line 463 - "return" - but error below!
why?
Error ticket for "7pay_in"Ticket ID
__1.2018-03-04.11-56-18.c0a358b4-b24b-4968-be91-5b80d853bed1
'1'Версия
web2py™ Version 2.16.1-stable+timestamp.2017.11.14.05.54.25
Python Python 2.7.5: /usr/bin/python (prefix: /usr)Traceback
1.
2.
3.
4.
5.
6.
:52:50 UTC+3 пользователь Dmitri Ermolaev
написал:
>
> *Error in string:*
> * format='%(name)s',*
>
> *db.define_table('systems',** Field('name', length=25, readable=False,
> comment='name of tokenized system'),** Field('from_block', 'integer',
> comment='block was test
*Error in string:*
* format='%(name)s',*
*db.define_table('systems',** Field('name', length=25, readable=False,
comment='name of tokenized system'),** Field('from_block', 'integer',
comment='block was tested'),*
* #migrate=False,** format='%(name)s',** )*
(1146, u"Table
пятница, 16 сентября 2016 г., 21:34:57 UTC+3 пользователь Dmitri Ermolaev
написал:
>
> I try to install on Unix server - unpack .zip
> and run apps - error:
> Failure to connect, tried 5 times: Traceback (most recent call last):
> File
> "/usr/local/lib/python
I install pyDALL https://github.com/web2py/pydal
but same error ((
in python command line - erro is same - not found driver!
пятница, 16 сентября 2016 г., 21:34:57 UTC+3 пользователь Dmitri Ermolaev
написал:
>
> I try to install on Unix server - unpack .zip
> and run apps - error:
&
Failure to connect, tried 5 times: Traceback (most recent call last): File
"/usr/local/lib/python2.7/site-packages/pyDAL-16.8-py2.7.egg/pydal/base.py",
line 455, in __init__ self._adapter = adapter(**kwargs) File
What steeps?
--
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"
web2py application foe bets portal in bitcoin payments
https://github.com/icreator/web2py_bets_bitcoin
--
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)
---
I use
if not request.env.web2py_runtime_gae:
migrate = 0
fake_migrate = myconf.take('db.fake_migrate') and True or False
migrate = (myconf.take('db.migrate') or migrate) and True or False
## if NOT running on Google App Engine use SQLite or other DB
## folder="../databases"
Yes! not need to downlad full MS Visual C
вторник, 5 апреля 2016 г., 4:59:40 UTC+3 пользователь Massimo Di Pierro
написал:
>
> are you proposing this for including in web2py?
>
> On Sunday, 3 April 2016 03:51:20 UTC-5, Dmitri Ermolaev wrote:
>>
>> *wfastc
*wfastcgi.py for IIS and web2py*
воскресенье, 3 апреля 2016 г., 7:56:03 UTC+3 пользователь Dmitri Ermolaev
написал:
>
> I do it! Its work:
> http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS
>
> IIS much quicker than Apache - Apache load a processor a
I do it! Its work:
http://web2py.com/books/default/chapter/29/13/deployment-recipes#IIS
IIS much quicker than Apache - Apache load a processor at 100% for AJAX
requests ((
thanx
вторник, 6 сентября 2011 г., 13:03:42 UTC+3 пользователь Hassan Alnatour
написал:
>
> how can i deploy web2py on
all work
https://7pay.in/gifts/list
but than raise error - why - data in table is static
воскресенье, 21 февраля 2016 г., 11:51:46 UTC+3 пользователь Dmitri
Ermolaev написал:
>
> in code : T('some text %s ...')
>
> in lang: 'some text ...'
>
>
>
> 09.106.143.35.2016-02-2
no!
in gifts records only UTF-8 text in russian
воскресенье, 21 февраля 2016 г., 11:51:46 UTC+3 пользователь Dmitri
Ermolaev написал:
>
> in code : T('some text %s ...')
>
> in lang: 'some text ...'
>
>
>
> 09.106.143.35.2016-02-21.02-16-01.e334476f-4130-4466-9ac4-a0de4d
., 11:51:46 UTC+3 пользователь Dmitri
Ermolaev написал:
>
> in code : T('some text %s ...')
>
> in lang: 'some text ...'
>
>
>
> 09.106.143.35.2016-02-21.02-16-01.e334476f-4130-4466-9ac4-a0de4ddc1de5
> need more than 1 value to unpackВерсия
> web2py™ V
in code : T('some text %s ...')
in lang: 'some text ...'
09.106.143.35.2016-02-21.02-16-01.e334476f-4130-4466-9ac4-a0de4ddc1de5
need more than 1 value to unpackВерсия
web2py™ Version 2.11.2-stable+timestamp.2015.05.30.16.33.24
Python Python 2.7.6: C:\Program Files (x86)\Apache Software
hey - do you see cryptocurrency Auth?
in NEXT - http://nxt.org/ - it have token by user account in cryptocurrency
четверг, 24 декабря 2015 г., 18:21:42 UTC+3 пользователь Massimo Di Pierro
написал:
>
> web2py 2.13.3 is out. MERRY CHRISTMAS EVERYBODY!!!
>
> It contains some bug fixes for bugs
WARNING!
if you define some globals in model files then it can not be assigned any
where else
example
in models/ in 0.py or meny.py or db.py I define:
_SOME_GLOBAL = 123
in any other controller or view
_SOME_GLOBAL = 222 - ERROR! This global willbe deleted!
globals()['_SOME_GLOBAL'] = 333 -
If I use Parameter-based system
http://web2py.com/books/default/chapter/29/04/the-core?search=favicon
how make route for http:/my_site.com/favicon.ico ???
that nnot worked
routes_in = (
('/favicon.ico', '/examples/static/favicon.ico'),
('/robots.txt', '/examples/static/robots.txt'),
)
may be make default routes
in main app folder routes.py:
# -*- coding: utf-8 -*-
routes_in = (
(r'/favicon.ico', r'/main_app/static/images/favicon.png'),
(r'/robots.txt', r'/main_app/static/robots.txt'),
(r'/', r'/main_app/default/index/'),
(r'/index/$anything',
appadmin work slowly!!!
please limit rows in list to 10
or make input for set LIMIT rows in DB view in appadmin controller
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
pickle error
web2py™Version 2.11.2-stable+timestamp.2015.05.30.16.33.24PythonPython
2.7.6: C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\bin\httpd.exe (prefix: C:\Python27)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
Traceback (most recent call last):
File
DAL error
h = CAT(
SQLFORM.grid(db.gifts,
deletable=False,
editable=False,
details=False,
selectable=None,
create=False,
csv=False,
),
error
2467.
2468.
2469.
2470.
2471.
2472.
2473.
2474.
2475.
When the model is loaded, all files are downloaded in the order their name
my suggestion:
im /moder folder use names:
0_set[tings].py - any settings for application:
from gluon import current
current.PARTNER_MIN = PARTNER_MIN = 10
PARTNER_GO = 77
## app configuration made easy. Look
new error in cache with *HIGHEST_PROTOCOL (((*
Traceback (most recent call last):
File "C:\web2py-m\gluon\restricted.py", line 227, in restricted
exec ccode in environment
File "C:/web2py-m/applications/ipay3/controllers/default.py"
:17:35 UTC+3 пользователь Dmitri Ermolaev
написал:
>
> new error in cache with *HIGHEST_PROTOCOL (((*
>
> Traceback (most recent call last):
> File "C:\web2py-m\gluon\restricted.py", line 227, in restricted
> exec ccode in environment
> File "C:/web2py-m/appli
in admin -> db -> cache:
web2py™Version 2.11.2-stable+timestamp.2015.05.30.16.33.24PythonPython 2.7.6
: C:\Python27\python.exe (prefix: C:\Python27)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
Traceback (most recent call last):
File "C:\web2py-m\gluon\restricted.py", line 227, in
I have tablet sansung andriod TAB E
it not detected as
current.IS_TABLET = IS_TABLET = request.user_agent().is_tablet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
in db:
Field('bal', 'decimal(16,8)', default = Decimal(0)),
Field('fee', 'decimal(5,3)', default = Decimal(0)),
in appadmin I set values
in controller:
t.fee =0.3
t.bal - t.fee -> error! float and decimal operation
--
Resources:
- http://web2py.com
- http://web2py.com/book
fff = round( float (t.decimal_val), 2)
четверг, 13 февраля 2014 г., 14:49:44 UTC+3 пользователь Robin Manoli
написал:
>
> Hey,
> I have a decimal in db, for which I tried numerous ways to round to two
> decimal points, and also to calculate with other numbers. Basically I want
> to convert it
UTC+3 пользователь Massimo Di
Pierro написал:
>
> Once again, I would like to understand what is this problem with the
> HIGH_PROTOCOL. Can you explain to me again what the problem is?
>
> Massimo
>
> On Sunday, 30 August 2015 10:19:08 UTC-5, Dmitri Ermolaev wrote:
>
migrate_enabled = False => migrate_enabled = "False"
all in .ini - converted to STRING
суббота, 5 сентября 2015 г., 9:21:21 UTC+3 пользователь Annet написал:
>
> In appconfig.ini I have the following settings:
>
> ; db configuration
> [db]
> uri =
, 2015 at 11:29:15 AM UTC+2, Dmitri Ermolaev wrote:
>>
>> no - it not work too ((
>>
>> for ajax call I use session ((
>>
>> пятница, 28 августа 2015 г., 8:32:29 UTC+3 пользователь Dmitri Ermolaev
>> написал:
>>>
>>>
>>> in mode
ok
may be do it in wsgihandle.py - for apache ?
пятница, 28 августа 2015 г., 15:47:47 UTC+3 пользователь Anthony написал:
On Friday, August 28, 2015 at 5:34:50 AM UTC-4, Dmitri Ermolaev wrote:
may be set some key for web2py?
web2py.exe --pickle_high_off
- will off pickle.highprotocol
best perfomance in modules??
1
def get_gift_code():
from gluon import current
request = current.request
v = request.vars...
2
def get_gift_code(request):
v = request.vars
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
no - it not work too ((
for ajax call I use session ((
пятница, 28 августа 2015 г., 8:32:29 UTC+3 пользователь Dmitri Ermolaev
написал:
in models/0.py that code work:
if request.cookies.has_key('gift_code'):
## если онн уже дежжит в кукиях то берем его а не новый из запроса
may be set some key for web2py?
web2py.exe --pickle_high_off
- will off pickle.highprotocol anywhere
воскресенье, 16 августа 2015 г., 23:45:19 UTC+3 пользователь Massimo Di
Pierro написал:
Fine with most of these. Can you send PR requests and I will
review/accept/reject?
Massimo
On
in models - 0.py or menu.py I declare:
CONST1 = 1
conts2 = 2
in controller I use this constatns - all work, BUT if I call an ajax
function:
onclick='''
//$(this).css('z-index','0');
$('#tag%s').hide('fast');
in models/0.py that code work:
if request.cookies.has_key('gift_code'):
## если онн уже дежжит в кукиях то берем его а не новый из запроса
MY_GIFT_CODE = request.cookies['gift_code'].value
#print 'in cookies gift_code:', MY_GIFT_CODE
else:
# если в кукиях нет кода то возможно он
solved:
I declare consts in IF block
but need in main list
exanlpe1:
if condition1:
CONST1=a
else:
CONST1=b
--- will raise error
right:
CONST1 = None
if condition1:
CONST1=a
else:
CONST1=b
пятница, 28 августа 2015 г., 7:38:56 UTC+3 пользователь Dmitri Ermolaev
написал
nor worked again ((
I declare const GIFT_CODE:
GIFT_CODE = None
if ...:
GIFT_CODE=1
else:
GIFT_CODE=0
then in any ajax call
print GIFT_CODE - raise error ((
пятница, 28 августа 2015 г., 7:38:56 UTC+3 пользователь Dmitri Ermolaev
написал:
in models - 0.py or menu.py I declare:
CONST1
If I use ajax - it willl load all in /model - menus too
but for what?
ajax requests need in db + settings - and not need in menu
My idea: - make separate folder /menus - it will be laded as layout.html
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
how you start web2py under IIS ?
2015-08-18 11:07 GMT+03:00 Remco Boerma remco.boe...@gmail.com:
Solved.
While gathering information about my setup I found the solution.
Setting Default web site Authentication Anonymous Authentication
(keep enabled) to Application Pool Identity
46 matches
Mail list logo