Yes, I think web2py allow this : db(db.where_clause).select()
But there is nothing like being explicit... In SQL this won't work :
SELECT
FROM table_name
WHERE table_name.field_name = something
So...
Richard
On Thu, Dec 17, 2015 at 4:23 PM, Gael Princivalle wrote:
> Thanks Anthony. In fact d
Thanks Anthony. In fact db_phplist tables where commented. Sorry.
Thanks Richard.
With:
db_phplist.phplist_listuser.ALL ticket was an SQL error:
ProgrammingError: (1064, "You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
Could it be because in your select inside your function you not specifying
any fields/columns (should be db_phplist.phplist_listuser.ALL)
Also you have a mix of db and db_phplist is the latter defined somewhere?
Richard
On Thu, Dec 17, 2015 at 3:28 PM, Anthony wrote:
> Hard to say without more
Hard to say without more context, but looks like there is no
phplist_user_user table defined on the db_phplist DAL object.
Anthony
On Thursday, December 17, 2015 at 3:18:34 PM UTC-5, Gael Princivalle wrote:
>
>
> Hello.
>
> I was running this script without problems with 2.9.13:
>
> def add_phpl
Hello.
I was running this script without problems with 2.9.13:
def add_phplist_user(f,id):
auth_user = db.auth_user(id)
#add user
last_id = db_phplist.phplist_user_user.insert(
email = auth_user.email,
confirmed = auth_user.newsletter)
phplist_listuser = db_phplis
Thanks for the work
On Friday, 7 August 2015 18:59:13 UTC+2, Massimo Di Pierro wrote:
>
> Changelog:
>
> - security fix: Validate for open redirect everywhere, not just in login()
>
> - allow to pack invidual apps and selected files as packed exe files
>
> - allow bulk user registration with defau
You may still use web2py without venv, but consider using it for stuff like
pyDAL...
:)
It all depends of your needs and number of projects you manage...
Even if venv is always a better idea, I would say as a rule of thumb, if
you didn't face any issue, and only manage one app and only use web2p
You are right. I should use venv. Haven't tried with web2py. But I agree.
On Monday, October 19, 2015 at 1:22:19 PM UTC-4, Richard wrote:
>
> Hello Ron,
>
> Do you know virtualenv?
>
> You can avoid this kind of issue with it...
>
> Get started...
> Ref : http://docs.python-guide.org/en/latest
Hello Ron,
Do you know virtualenv?
You can avoid this kind of issue with it...
Get started...
Ref : http://docs.python-guide.org/en/latest/dev/virtualenvs/
Richard
On Mon, Oct 19, 2015 at 12:04 PM, Ron Chatterjee
wrote:
> I downloaded from web2py site. Anyway, I did pip uninstall pydal from
I downloaded from web2py site. Anyway, I did pip uninstall pydal from my
site packages and now it works fine. Somehow it was conflicting with the
local pydal copy. Thanks for the help. I appreciate it!
On Monday, October 19, 2015 at 11:39:20 AM UTC-4, Richard wrote:
>
> Ron did you download w
Ron did you download web2py from Github or from web2py site... The latter
should prevent fromt this issue, but if you use Git repo, you need to
update pyDAL submodule, that what Niphold is explaning...
Richard
On Mon, Oct 19, 2015 at 11:34 AM, Niphlod wrote:
> any version of web2py is tested to
any version of web2py is tested to run with a TAGGED version of pydal. You
can't mix and match. For example, current web2py works with pydal 15.09 .
On Monday, October 19, 2015 at 5:25:53 PM UTC+2, Ron Chatterjee wrote:
>
> Niphlod, I don't know what you just said, can you please break it down fo
Niphlod, I don't know what you just said, can you please break it down for
me? What you mean unpinned version of pydal? I have a local version of
pydal installed in my site packages.
On Monday, October 19, 2015 at 11:21:05 AM UTC-4, Niphlod wrote:
>
> I'd imagine you are running with an unpinn
I'd imagine you are running with an unpinned version of pydal. Travis and
appveyor (our CI) are not failing.
On Monday, October 19, 2015 at 5:07:33 PM UTC+2, Ron Chatterjee wrote:
>
> Does anyone has any issues downloading the latest Source Code from web2py
> site?
>
> Because when I do python w
Does anyone has any issues downloading the latest Source Code from web2py
site?
Because when I do python web2py.py I get hit with the error:
\...\...\gluon\sqlhtml.py", line 32, in from pydal.helpers.methods
import smart_query, bar_encode, _repr_ref
ImportError: cannot import name _repr_ref.
I use Apachi under Window server
error report:
https://groups.google.com/forum/#!searchin/web2py/pickle/web2py/r3LcWSbEbmM/TI_enYLZCQwJ
my suggestion replace code with:
try:
pickle.dumps(self, pickle.HIGHEST_PROTOCOL)
ecxept:
pickle.dumps(self)
понедельник, 31 августа 2015 г., 5:55:42 UTC
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:
>
> ok
>
> may be do it in wsgihandle.py - for apache ?
>
> пятница, 28 августа 2015 г., 1
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.highprot
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 anywhere
>
That will only help when running web2py via the built-in development
server, so would be of limited usefulness.
A
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
2.12.3 is out and fixes this problem.
On Tuesday, 18 August 2015 04:57:17 UTC-5, Massimo Di Pierro wrote:
>
> Apologies. Will post a new version asap.
>
> On Monday, 17 August 2015 10:02:36 UTC-5, Niphlod wrote:
>>
>> due to bad commit
>> https://github.com/web2py/web2py/commit/e95115deb401552d1
Apologies. Will post a new version asap.
On Monday, 17 August 2015 10:02:36 UTC-5, Niphlod wrote:
>
> due to bad commit
> https://github.com/web2py/web2py/commit/e95115deb401552d122ff06c3482c264e02eaf32
>
> multi-groan :P
>
> On Monday, August 17, 2015 at 4:41:25 PM UTC+2, Paolo Valleri wr
due to bad
commit
https://github.com/web2py/web2py/commit/e95115deb401552d122ff06c3482c264e02eaf32
multi-groan :P
On Monday, August 17, 2015 at 4:41:25 PM UTC+2, Paolo Valleri wrote:
>
> @Massimo, I've just noticed that web2py 2.12.2 points to an old version of
> pydal. is that correct?
@Massimo, I've just noticed that web2py 2.12.2 points to an old version of
pydal. is that correct?
see https://github.com/web2py/web2py/tree/R-2.12.2/gluon/packages
Paolo
On Sunday, August 16, 2015 at 10:45:19 PM UTC+2, Massimo Di Pierro wrote:
>
> Fine with most of these. Can you send PR reques
Fine with most of these. Can you send PR requests and I will
review/accept/reject?
Massimo
On Saturday, 15 August 2015 08:58:58 UTC-5, ermolaev.icrea...@gmail.com
wrote:
>
> for prevetn pickle error please add new param in session:
>
> session.connect(request,response,cookie_key='kjykGFDRETf
for prevetn pickle error please add new param in session:
session.connect(request,response,cookie_key='kjykGFDRETfxf65',
compression_level=None, *pickle_low*=True)
If *pickle_low: - not use high protocol foe pickle*
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- enable /appadmin/manage/auth by default for user admin ???
no! - please set it as settings by default is desabled
I use admin only on local machine!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google
++ please separate admin (backoffice) layout.html and frontoffice layouts!!!
++ please in appadmin/db - in settings set counter or records to show on
one pape
100 recs is too long (((
++ please insert in admin/db in edit some record if that field is refernce
to table - link to that table record
please insert in settings using pickle.HIGHPROTOCOL
if I set unuse.pickle_HP - than will switch off it
https://groups.google.com/forum/?hl=ru#!searchin/web2py/pickle/web2py/r3LcWSbEbmM/TI_enYLZCQwJ
now I edit it by hand ((
четверг, 13 августа 2015 г., 6:17:27 UTC+3 пользователь Massimo Di Pierro
Ouch! Will fix it asap.
On Wednesday, 12 August 2015 08:46:49 UTC-5, ermolaev.icrea...@gmail.com
wrote:
>
> if session stored in cookies - folders in /sessions folder created anyway
> ((
>
> пятница, 7 августа 2015 г., 19:59:13 UTC+3 пользователь Massimo Di Pierro
> написал:
>>
>> Changelog:
>>
if session stored in cookies - folders in /sessions folder created anyway ((
пятница, 7 августа 2015 г., 19:59:13 UTC+3 пользователь Massimo Di Pierro
написал:
>
> Changelog:
>
> - security fix: Validate for open redirect everywhere, not just in login()
>
> - allow to pack invidual apps and selec
Ouch. This is serious. Releasing 2.12.2 in one a minute with a fix.
On Sunday, 9 August 2015 03:45:01 UTC-5, 黄祥 wrote:
>
> same old error during pack all still show up said about cache directory.
> step to produce an error:
> download web2py source
> extract and then run web2py
> pack all welcome
same old error during pack all still show up said about cache directory.
step to produce an error:
download web2py source
extract and then run web2py
pack all welcome app
solution :
don't forget to create cache directory before you pack all your app
best regards,
stifan
On Sunday, August 9, 2015
yes. It has been since 2.11.1
On Friday, 7 August 2015 19:24:17 UTC-5, JorgeH wrote:
>
> thanks for the great job massimo and team!!
>
> Is bootstrap 3 + as default?
>
> On Friday, August 7, 2015 at 11:59:13 AM UTC-5, Massimo Di Pierro wrote:
>>
>> Changelog:
>>
>> - security fix: Validate for ope
thanks for the great job massimo and team!!
Is bootstrap 3 + as default?
On Friday, August 7, 2015 at 11:59:13 AM UTC-5, Massimo Di Pierro wrote:
>
> Changelog:
>
> - security fix: Validate for open redirect everywhere, not just in login()
>
> - allow to pack invidual apps and selected files as p
Ne because it iI do not know for sure that is a bug in web2py.
On Friday, 7 August 2015 14:14:18 UTC-5, ermolaev.icrea...@gmail.com wrote:
>
> pickled.HIGHPROTOCOL - fixed?
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source cod
pickled.HIGHPROTOCOL - fixed?
--
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
"
37 matches
Mail list logo