I think a browser that can utilise the microphone or other devices on a
computer might be a serious security risk.
Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)
--
Resources:
- http://web2py.com
- http://web2py.com/b
The type of the field should be 'datetime'.
A timestamp can be done with the following syntax according to the book
(search for 'request.now') :
Field('created_on', 'datetime',
default=request.now, update=request.now, writable=False),
I suspect the timesone-thing can be done with repr
What I mean is to record audio through the browser using the build in
microphone. Imagine you visit a website and are able to record your own
voice.
Am Dienstag, 17. September 2013 23:23:18 UTC+2 schrieb Richard:
>
> what do you mean?
>
> Record a online radio stream?
>
> There is downloadhelper
Hi
I've looked through the forum and can find nothing.
my code
db.define_table('franchise',
Field('code', 'string', length=1),
Field('name'),
Field('recorddate','timestamp with time zone'),
)
the error
Field: unknown field type: timestamp with
time zone for recorddate
Assistance appreciated
Absolutely! Thank you very much.
On Tuesday, September 17, 2013 8:38:31 PM UTC+10, Niphlod wrote:
>
> this is rather a "how can I enable GIS support on postgres?" question...
> http://trac.osgeo.org/postgis/wiki/UsersWikiNewbieAddgeometrycolumn
>
> Il giorno martedì 17 settembre 2013 12:05:27 UTC+
On Wednesday, 18 September 2013 01:05:28 UTC+10, Anthony wrote:
>
> On Monday, September 16, 2013 9:07:35 PM UTC-4, Tim Richardson wrote:
>
>> The importance of definition order is in the book
>
>
> Where specifically? Are you talking about the fact that a computed field
> can depend on a previo
This is why we moved the wsgihandler.py to the handlers subfolder, so that
people can copy and edit it to accommodate the requirements of their own
hosting provider.
On Tuesday, 17 September 2013 17:31:36 UTC-5, Epyt Otorp wrote:
>
>
> path = os.path.dirname(os.path.abspath(__file__))
>>
>> into
> path = os.path.dirname(os.path.abspath(__file__))
>
> into
>
> path = '/home/username/web2py/'
>
> This file does not like to be symlinked.
>
Thank you! It seems to be working; I ran passenger by hand with no
errors, and hitting my domain in a browser gives the welcome (and of
course, I ca
Well, by now I have tested the heck out of this thing, and the ill behavior
has gone away and I can't get it to come back.
My natural curiosity wants to know why but, in any case, good riddance!
On Tue, Sep 17, 2013 at 4:12 PM, REM <32variati...@gmail.com> wrote:
> In further explorati
Hi Massimo-
I took a look in gluon/tools.py as you recommended, and I do not see class
Config! So I'm not sure why that might be.
Could it be that the command line updating (unzipping web2py_src) works
fine, but the GUI-based button updater on the admin interface halts partway
through or some
Correction
edit the file and change
path = os.path.dirname(os.path.abspath(__file__))
into
path = '/home/username/web2py/'
This file does not like to be symlinked.
On Tuesday, 17 September 2013 17:17:38 UTC-5, Massimo Di Pierro wrote:
>
> Edit the file and at the top add:
>
> import os; o
Edit the file and at the top add:
import os; os.chdir(' /home/username/web2py')
On Tuesday, 17 September 2013 17:09:20 UTC-5, Epyt Otorp wrote:
>
> There is a README in /web2py/handlers/README
> Doh; completely missed that. However, it still won't work!
>
> You need to copy /web2py/handlers/ws
There is a README in /web2py/handlers/README
Doh; completely missed that. However, it still won't work!
You need to copy /web2py/handlers/wsgihandler.py
> into /web2py/wsgihandler.py and link the latter.
>
I did this. I have:
/home/username/web2py/wsgihandler.py
/home/username/mydomain.com/p
I´m planning on having multiple apps in my web2py server.
I think i should use CAS but seems correct to create a CAS app only for
that purpose,Authentication.
I tried using some of the apps as a CAS provider but using it from another
app only allows the user to log in, not to register. Is this o
what do you mean?
Record a online radio stream?
There is downloadhelper extension for firefox that can help download
youtube or other media :
https://addons.mozilla.org/fr/firefox/addon/video-downloadhelper/
About recording audio stream I don't know there is surely a solution, but I
only had wor
Can you email me your app (confindentially)?
On Tuesday, 17 September 2013 14:49:07 UTC-5, Avi A wrote:
>
> i changed some fileds type to :type='upload', notnull=True, and I do see
> the changes, but not with the dropdwon .
>
> On Tuesday, September 17, 2013 10:27:27 PM UTC+3, Massimo Di Pierro w
i changed some fileds type to :type='upload', notnull=True, and I do see
the changes, but not with the dropdwon .
On Tuesday, September 17, 2013 10:27:27 PM UTC+3, Massimo Di Pierro wrote:
>
> I do not believe the lack of dropdown has anything to do with the
> migration. Something is changing th
Sure, thanks.
On Tuesday, September 17, 2013 10:57:25 PM UTC+3, Massimo Di Pierro wrote:
>
> Can you email me your app (confindentially)?
>
> On Tuesday, 17 September 2013 14:49:07 UTC-5, Avi A wrote:
>>
>> i changed some fileds type to :type='upload', notnull=True, and I do see
>> the changes, b
requires=IS_EMPTY_OR([IS_LENGTH(maxsize=200),
IS_MATCH('^[a-zA-Z0-9\s\#\.\$\-\_]+$',
error_message='Character
Not Allowed.')])
Anthony
On Tuesday, September 17, 2013 2:44:14 PM UTC-4, REM wrote:
>
> I have a form field which is not required, but when it is submitted with
Hey guys,
do you know a way to record audio files through the web browser?
Best regards
Andreas
--
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 rece
Actually, in checking out this solution, there is no change. It *still*always
triggers the validator.
What could be causing this?
On Tuesday, September 17, 2013 2:56:16 PM UTC-4, Anthony wrote:
>
> requires=IS_EMPTY_OR([IS_LENGTH(maxsize=200),
> IS_MATCH('^[a-zA-Z0-9\s\#\.
In further exploration, there's some inconsistencies in behavior.
Sometimes it triggers the error and sometimes it doesn't. I haven't yet
figured out what the determining factor is.
On Tuesday, September 17, 2013 4:02:53 PM UTC-4, REM wrote:
>
> Actually, in checking out this solution, there i
The first issue, yes I don't get a dropdown list. I only changed the field
type and the migration line. I used the wizard to create a new app and
there are quite many fixes I have to make, mostly changing the type to
reference and replacing strings with uploads.
thanks.
On Tuesday, September 17
I do not believe the lack of dropdown has anything to do with the
migration. Something is changing the validator.
On Tuesday, 17 September 2013 13:39:51 UTC-5, Avi A wrote:
>
> The first issue, yes I don't get a dropdown list. I only changed the field
> type and the migration line. I used the wi
I have a form field which is not required, but when it is submitted with
data, I want the data to be validated. The problem is, I get the validator
triggering when the form is submitted with no value in that field. I want
it to wait until there's data in there to validate it and ignore it if
bl
Hi,
I have the same problem as
https://groups.google.com/forum/?fromgroups#!searchin/web2py/custom$20form$20jquery/web2py/7Meea7Ul0o8/4ZdrD9hP5MEJ
https://groups.google.com/forum/?fromgroups#!searchin/web2py/custom$20form$20jquery/web2py/E9RyEqh01RQ/6duW4RmALvcJ
>From the first thread/link abov
Please open a ticket about this.
On Tuesday, 17 September 2013 08:53:10 UTC-5, Dimid Korovev wrote:
>
> Update to question 2: PUT works now, but DELETE doesn't. I get the
> following error:
>
> not indexable
>
> web2py™ Version
> 2.6.3-stable+timestamp.2013.09.15.17.01.20Python Python 2.7.4:
Many EXTREME thanks for your kind help
On Tuesday, September 17, 2013 2:56:16 PM UTC-4, Anthony wrote:
>
> requires=IS_EMPTY_OR([IS_LENGTH(maxsize=200),
> IS_MATCH('^[a-zA-Z0-9\s\#\.\$\-\_]+$',
> error_message='Character
> Not Allowed.')])
>
>
> Anthony
>
> On Tuesd
Update to question 2: PUT works now, but DELETE doesn't. I get the
following error:
not indexable
web2py™ Version
2.6.3-stable+timestamp.2013.09.15.17.01.20Python Python 2.7.4:
/usr/bin/python (prefix: /usr) Traceback (most recent call last):
File "../gluon/restricted.py", line 217, i
On Thursday, September 12, 2013 6:30:01 PM UTC-7, Dave S wrote:
>
>
>
> On Wednesday, August 21, 2013 11:58:36 AM UTC-7, Dave S wrote:
>>
>> One thing I haven't figured out yet is if web2py has logging of its
>> activity (startup, requests seen, etc) other than what I might record in my
>> app's
On Saturday, September 14, 2013 5:54:47 AM UTC-7, Niphlod wrote:
>
> the syntax is more or less:
>
> db(filter).select(thefieldsyouneed)
>
> so, your "conditions" must be inside the db() and not the select()
>
>
Wow! That fixed *my* code! Thanks!
(I did have a workaround with db.executesql(),
Thank you all, folks. It solved the problem. :-)
On Tue, Sep 17, 2013 at 1:02 PM, Massimo Di Pierro
wrote:
> cp web2py/handler/wsgihandler.py web2py/wsgihandler.py
>
>
> On Tuesday, 17 September 2013 10:34:54 UTC-5, Paolo Valleri wrote:
>>
>> Check if in the web2py root directory there is a file
On Monday, September 16, 2013 8:13:18 PM UTC-7, Tim Richardson wrote:
>
> I added a slice with some rough notes in using jqGrid including edit mode.
>
> http://www.web2pyslices.com/slice/show/1714/jqgrid-including-updating-data
>
The example and the exposition both look good! Thank you.
/dps
Check if in the web2py root directory there is a file called wsgihandler.py
if not move it there
remember to restart uwsgi after that
Paolo
On Tuesday, September 17, 2013 3:58:40 PM UTC+2, viniciusban wrote:
>
> Thanks, Niphlod.
>
> I found errors in uwsgi.log.
>
> Probably it's referred to so
cp web2py/handler/wsgihandler.py web2py/wsgihandler.py
On Tuesday, 17 September 2013 10:34:54 UTC-5, Paolo Valleri wrote:
>
> Check if in the web2py root directory there is a file called
> wsgihandler.py if not move it there
> remember to restart uwsgi after that
>
> Paolo
>
> On Tuesday, Septemb
Thanks Villas, it works perfectly. I really appreciate the help.
Alex
On Tuesday, September 17, 2013 8:04:28 AM UTC-7, villas wrote:
>
> Tip: when you are struggling, take something which works and then using
> 'baby-steps' incrementally change the example until it is transformed into
> what
On Monday, September 16, 2013 9:07:35 PM UTC-4, Tim Richardson wrote:
> The importance of definition order is in the book
Where specifically? Are you talking about the fact that a computed field
can depend on a previously defined computed field (but not a computed field
that hasn't been define
Tip: when you are struggling, take something which works and then using
'baby-steps' incrementally change the example until it is transformed into
what you need.
Here is something which you previously said was working:
def view_all_suggestions_and_comments():
query = (db.IdeaComment.idea
Niphlod, this solved the issue with "no wsgihandler" import error in
another thread.
Thank you. :-)
On Tue, Sep 17, 2013 at 9:23 AM, Niphlod wrote:
> handlers got moved in the 2.6.1 release... it's clearly stated in the
> changelog everyone in the need of a specific handler is required to
>
cn:1 and cn:2 works for me :
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods = [auth, ldap_auth(mode='ad',
bind_dn='domain\user', bind_pw='password',
manage_groups=False,
manage_user=True,
user_firstname_attrib='cn:1',
user_lastname_attrib='cn
Thanks, Niphlod.
I found errors in uwsgi.log.
Probably it's referred to some error we can see from line 58 in this
pastebin: http://pastebin.com/jvSCK8e5
Any further help?
On Tue, Sep 17, 2013 at 9:17 AM, Niphlod wrote:
> internal server error generated by web2py or nginx ?
>
> location of
There are two different issues. One is the question in your first email
about migration. Is the problem that you do not get a dropdown? Is it
possible you manually set a validator for the field?
Your second question. How to drop a table.
1) enable migrations
2) python web2py.py -S yourapp -M -M
Changing it to True, didn't make a change either.
On Tuesday, September 17, 2013 3:34:29 PM UTC+3, Avi A wrote:
>
> What's the procedure to drop the table?
>
> On Tuesday, September 17, 2013 3:22:35 PM UTC+3, Niphlod wrote:
>>
>> if you set migrate=False, what kind of migration you expect ?
>>
>>
There is a README in /web2py/handlers/README
You need to copy /web2py/handlers/wsgihandler.py
into /web2py/wsgihandler.py and link the latter.
This was a much debated change in web2py 2.6.x. We decided that handlers
are examples that users should copy because they may want to modify them.
Ma
What's the procedure to drop the table?
On Tuesday, September 17, 2013 3:22:35 PM UTC+3, Niphlod wrote:
>
> if you set migrate=False, what kind of migration you expect ?
>
> PS: changing something from integer to string suualy doesn't involve any
> problem: doing the opposite brings many my t
yep, every now and then I strip ctrl, c and v directly from the keyboard :P
On Tuesday, September 17, 2013 12:39:03 PM UTC+2, Ramos wrote:
>
> hell with copy paste.
> I had a date field and changed to datetime but forgot to change the
> validator.
>
> Thank you a lot Niphold
>
>
>
>
>
>
> 2013/9/
I got the "error cleaning up" message after updating the web2py. I had set
user specific permissions, thats what happened. Well its resolved now.
Thanks for all the support given by the web2py group.
On Tuesday, 17 September 2013 17:50:58 UTC+5:30, Niphlod wrote:
>
> catching those kind of error
handlers got moved in the 2.6.1 release... it's clearly stated in the
changelog everyone in the need of a specific handler is required to
copy it/them in the root folder.
On Tuesday, September 17, 2013 1:21:14 PM UTC+2, Python Webdev wrote:
>
> Hi,
>
> today I downloaded the current web2py
if you set migrate=False, what kind of migration you expect ?
PS: changing something from integer to string suualy doesn't involve any
problem: doing the opposite brings many my totally personal advice is
drop those table and recreate them from scratch
On Tuesday, September 17, 2013 1:33:54
catching those kind of errors is going to be a real PITA... every backend
(i.e. database engine) logs the error as it wishes, so we don't have a
"method" for pointing what is going wrong. No logs you reported included
"error cleaning up": if you told me earlier, I would have pointed you in
the
internal server error generated by web2py or nginx ?
location of errors logs:
/var/log/nginx/error.log <-- nginx
/var/log/uwsgi/uwsgi.log <--uwsgi
On Tuesday, September 17, 2013 1:57:33 PM UTC+2, viniciusban wrote:
>
> Hi guys.
>
> I'm using web2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh t
I'm trying to evaluate web2py, and I have no idea what I'm doing. I
haven't gotten to the point of doing apps, or anything; I'm just on
'deployment', which the manual's recipes (
http://web2py.com/books/default/chapter/29/13/deployment-recipes) doesn't
have any help for me.
My hosting is on Dr
Hi,
today I downloaded the current web2py source (version
2.6.3-stable+timestamp.2013.09.15.17.01.20) and copied a app.yaml that
worked for me to it.
When added this existing Application to GoogleAppEngine Laucher (Version
1.8.4.1050) and started there this configuration.
First everything
Hi guys.
I'm using web2py/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh to setup a
nginx server in my vagrant box, but I'm receiving Internal Server
Error.
Where can I see for what's happening?
I've never used nginx before. I'd appreciate any help.
--
Resources:
- http://web2py.com
- http://web2p
Hi Niphlod,
Got my scheduler working correctly.
I updated my web2py version to 2.5.1 from 2.2.1 as you mentioned
earlier. After that started two upstart jobs, one for my app and another
for the scheduler. Still it returned an error "error cleaning up.".
I couldn't find an appropr
Hi,
I changed in some table (t_items) a field type from:
type='string'
to:
type='reference t_categories'
and replaced:
migrate=settings.migrate
with:
migrate=False,fake_migrate=True
I stopped and started the server, but I don't see that the change took
place, on the relevant form. (create item.).
Hi,
I changed in some table (t_items) a field type from:
type='string'
to:
type='reference t_categories'
and replaced:
migrate=settings.migrate
with:
migrate=False,fake_migrate=True
I stopped and started the server, but I don't see that the change took
place, on the relevant form. (create item.).
hell with copy paste.
I had a date field and changed to datetime but forgot to change the
validator.
Thank you a lot Niphold
2013/9/17 Niphlod
> first and foremost if you need a datetime you should use the
> IS_DATETIME validator :-P
> Second, either you pass a FIXED format (not depen
this is rather a "how can I enable GIS support on postgres?" question...
http://trac.osgeo.org/postgis/wiki/UsersWikiNewbieAddgeometrycolumn
Il giorno martedì 17 settembre 2013 12:05:27 UTC+2, Nate ha scritto:
>
> I cannot get Postgis to work with
>
> web2py™ Version 2.6.3-stable+timestamp.201
first and foremost if you need a datetime you should use the
IS_DATETIME validator :-P
Second, either you pass a FIXED format (not dependant on T) or you act on
the "default" %Y-%m-%d translation string (from the languages section in
the admin app). It's then easier to track "bugs" on the l
If i code
db.define_table('test11',
Field('nome'),
Field('datt','datetime'))
db.test11.datt.requires=[IS_DATE(format=T('%Y/%m/%d %H:%M:%S'),
error_message=T("Formato pretendido /mm/dd"))]
It saves the record with 2012/01/01 00:00:00 in the datt field clearing my
time selection in the
Never mind - the problem is in a messed-up configuration of different OUs
...there's no default Groups-Key in my environment - I'll have to customize
ldap_auth.py all the way for recursive searches etc.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.c
It turns out I needed to add this to the Apache config:
On Tuesday, September 17, 2013 11:23:00 AM UTC+2, Michele Comitini wrote:
>
> Fredrik,
>
> You should be able to use http basic authentication on ssl.
> You can also use x509 auth if you want to use client side certificates
> (still using w
I cannot get Postgis to work with
web2py™ Version 2.6.3-stable+timestamp.2013.09.15.17.01.20
Python Python 2.7.3: C:\Python27\python.exe (prefix: C:\Python27)
pg.define_table('franchise',
Field('code', 'string', length=1),
Field('name'),
)
pg.define_table('fastfood',
Field('franchi
pbkdf2_ctypes is at least 20x times faster than flask, django or web2py
fallback implementation. I think it takes much more time to transmit than
to hash on common connections ;-)
2013/9/15 samuel bonill
> thanks massimo...
>
> El domingo, 15 de septiembre de 2013 08:32:12 UTC-5, Massimo Di
Fredrik,
You should be able to use http basic authentication on ssl.
You can also use x509 auth if you want to use client side certificates
(still using web2py auth_* tables).
I do not understand what is the exact error on your client. Can you post it?
mic
2013/9/17 Fredrik
> Hi Larry,
>
> t
In version 2.6.3, sort=False is still there. Unsure if the way it's
supposed to be used has changed. Got the same bug as before when I updated.
Den fredagen den 14:e december 2012 kl. 09:39:24 UTC+1 skrev Joel
Samuelsson:
>
> Glad to help! You do excellent work. Thanks!
>
> Den tisdagen den 11:e
nope... the first question would be to open the console and see what js
errors are there :-P
Il giorno martedì 17 settembre 2013 07:46:45 UTC+2, Tim Richardson ha
scritto:
>
>
>
> On Tuesday, 17 September 2013 07:25:47 UTC+10, Horace Cunningham wrote:
>>
>> I am having this strange issue in web2
Hi Larry,
thanks for the quick reply. It might have something to do with the
certificate. Me calling it a production server is actually not totally
correct, it's more of a staging server, and therefore the SSL certificate
does not match the domain name.
Using basic auth was more of a way to fi
69 matches
Mail list logo