Can you look for the ticket file and post the content?
On Tuesday, 4 August 2015 18:51:06 UTC-5, forumweb...@gmail.com wrote:
>
> he Group,
>
> i creat different Projectts with we2py. But last time i see, that all
> Project works fine only with DesktopPc.If i call the project from
> a mobile dev
#
# assuming
#
# curl --data "@/path/to/filename" http://.../receive_post/myfilename.txt
def receive_post():
open(os.path.join('somefolder',request.args[-1]),'w').write(request.body.read())
On Tuesday, 4 August 2015 10:23:55 UTC-5, Alehandro Ramoz Rodrigez wrote:
>
> I'm very new to web2p
please kindly add me also
Name : stifix
Country : Indonesia
Website : stifix.com
Thanks and Best Regards,
stifan
--
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 Issu
Hi Massimo,
Please add me to the list:
Raphael Lechner - GeekOnDemand (Italy) http://www.geekondemand.it/
Thanks!
On Sunday, February 15, 2015 at 11:21:36 PM UTC+1, Massimo Di Pierro wrote:
>
> We need to update the list of companies that provide web2py consulting.
> This list is obsolete:
>
> h
he Group,
i creat different Projectts with we2py. But last time i see, that all
Project works fine only with DesktopPc.If i call the project from
a mobile device a get an error:
exceptions.IndexError list index out of range
I understand, that web2py will render the Project if a mobile device
is
On Tuesday, August 4, 2015 at 3:19:27 PM UTC-7, Anthony wrote:
>
> The problem is stated right in the returned HTML:
>
> You are seeing this message because this HTTPS site requires a 'Referer
>> header' to be sent by your Web browser, but none was sent. This header is
>> required for security
On Tuesday, August 4, 2015 at 3:07:43 AM UTC-4, Paolo Amboni wrote:
>
> One problem of google groups is the lack of categories.
>
It does have tags: https://groups.google.com/forum/#!tags/web2py
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
If you do have two _next variables in the query string, you might want to
figure out if that is a bug, and if not, you have to decide which of the
two is the correct one to use.
Anthony
On Tuesday, August 4, 2015 at 11:14:52 AM UTC-4, Massimo Di Pierro wrote:
>
> No a security issue but definit
One further option is to run the code as a script via the command line:
python web2py.py -S myapp -M -R myscript.py
That will run myscript.py in the environment of myapp (including the
models). This approach doesn't put code into the app that only gets
executed one time in the life of the app.
The problem is stated right in the returned HTML:
You are seeing this message because this HTTPS site requires a 'Referer
> header' to be sent by your Web browser, but none was sent. This header is
> required for security reasons, to ensure that your browser is not being
> hijacked by third par
Bellow is the last two post from the thread I started on Pythonanywhere
forum regarding this issue:
*I am not sure exactly how I finally set this up and I can't replicate the
process unless I delete the app and start over which I am not going to do
now.*
*This is what I think I did:*
*First,
another way around is i think you can define it on controllers, let say it
initialize.py, and put the insert db or populate in there, so when you want
to initialize insert db, just access the controller, after all db is
initalized you can either comment all the script or remove it. it seems
lik
Greetings again!!! THANKS FOR YOUR EARLY ANSWER! I'm very sorry for being
late... Kinda busy and daily life stuff goin' on.
Well, the issue happens with these functions.
The android device sends a POST request in order to get some data, every 30
secs. To this functions... Obviously.
http://loc
Maybe...
On Tue, Aug 4, 2015 at 3:02 PM, Dave S wrote:
>
>
> On Tuesday, August 4, 2015 at 11:39:49 AM UTC-7, Richard wrote:
>>
>> The error make no sens there is no php in web2py... You may use an
>> example file which call a php backend and that why you fall on that error,
>> that the only thi
The error make no sens there is no php in web2py... You may use an example
file which call a php backend and that why you fall on that error, that the
only thing I can see...
On Tue, Aug 4, 2015 at 2:18 PM, Phillip wrote:
> just posted as a side-note in case it is resulting from something obviou
You can use the field_id parameter to specify the primary key field from
the table that you want to edit.
Let me know if you have further questions.
-Jim
On Tuesday, August 4, 2015 at 10:24:05 AM UTC-5, Herman Redelinghuys wrote:
>
> I am struggling with the same issue as Jim. I dont want to cr
On Tuesday, August 4, 2015 at 11:39:49 AM UTC-7, Richard wrote:
>
> The error make no sens there is no php in web2py... You may use an example
> file which call a php backend and that why you fall on that error, that the
> only thing I can see...
>
Or he may be seeing a 404 error from Web2py
On Tuesday, August 4, 2015 at 12:01:56 AM UTC-7, reddyreddy wrote:
>
> Hello All,
>
> I have a script in Web2py private folder. Now Iam running it from command
> line.
>
> But I want to run the script, when a button in html page is clicked.
>
> Can anyone let me know how can I do this.
>
>
Is t
On Monday, August 3, 2015 at 9:00:45 PM UTC-7, reddyreddy wrote:
>
> But, how can I access it.
>
> Tablename.myfield is giving None.
>
>
>
How are you populating your table? Appadmin, importing a csv, importing
into the database using it's import tools, or just filling out a (web2py)
form for
just posted as a side-note in case it is resulting from something obvious.
I would have to revert back to the set up I was using to get the full
traceback, but I remember it was related to jquery 1.7
On Tuesday, August 4, 2015 at 12:51:51 PM UTC-5, Richard wrote:
>
> server/php 404 ??
>
> Richar
I used a similar approach, in my appconfig.ini after pool_size i added
first_run = True and wrapped every sentence i want to run only one time
with if (myconf.take('db.first_run') == 'True'):
Thanks for the help!
El martes, 4 de agosto de 2015, 9:55:22 (UTC-4:30), Lisandro escribió:
>
> The way
server/php 404 ??
Richard
On Tue, Aug 4, 2015 at 1:44 PM, Phillip wrote:
> I am using fileuploader.js trying to implement the web2py cookbook example
>
> jQuery-File-Upload has the singleFileUploads option to send all files at
> once instead of making an upload request for each file
>
> *note:
Its strange
web2py Shell 2.7.4-stable+timestamp.2013.10.14.15.16.29In [1] : from
gluon.tools import Mail
In [2] : mail = Mail()
In [3] : mail.settings.server = 'smtp.gmail.com:465'
In [4] : mail.settings.sender = 'm...@gmail.com'
In [5] : mail.settings.login = 'm...@gmail.com:xyz'
In [6]
I am using fileuploader.js trying to implement the web2py cookbook example
jQuery-File-Upload has the singleFileUploads option to send all files at
once instead of making an upload request for each file
*note: *I have already tried the jQuery-File-Upload, but was receiving a
server/php 404 erro
Has anyone had the 404 error (where server/php is called)? I do not know
where to trace this to.
--
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 rec
You are right. I planned to use validator for the "initial" state and then
Ajax for "online changes", but it was too messy, so finally i'm using just
Ajax.
Thanks for the info links but I've written my own solution. Here it is,
just in case it helps anyone:
Moved db definition code to a model,
I am struggling with the same issue as Jim. I dont want to create custom
edit forms and if possible use the builtin edit form. Is there an answer
for this yet? Did the ticket get actioned?
Thanks
Herman
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://githu
I'm very new to web2py and I try use it for a simple purpose: I need to
create an application that allow to send POST requests (with python
requests library) to remote server with file to process, and get counter
POST request with report-file.
Now I have a page that I used to link with local fo
In [1] : from gluon.tools import Mail
In [2] : mail = Mail()
In [3] : mail.settings.server = 'smtp.gmail.com:465'
In [4] : mail.settings.sender = 'x...@gmail.com'
In [5] : mail.settings.login = 'x...@gmail.com:yyy'
ALTERNATIVELY: I used "[5] : mail.settings.login = 'xxx:yyy'"
In [6] : q=mail.send('
good catch! I opened a ticket: https://github.com/web2py/pydal/issues/262
On Monday, 3 August 2015 16:25:24 UTC-5, Lisandro wrote:
>
> I **think** I've found the problem.
> After some tests, I've deduced that the error is thrown when using DAL
> with lazy_tables=True.
> So when I retrieve a Row
You may also consider this approach :
https://github.com/niphlod/welcome_augmented
Which is BDD centric and use Splinter (Python wrap of Selenium HQ) to
perform test...
Sorry I don't have clue for your issue...
:)
Richard
On Sat, Aug 1, 2015 at 12:32 PM, Octavian G wrote:
> Hello,
>
> I
before the mail.send print mail.settings.sender. It is possible this value
is reset somewhere else. It should work
On Monday, 3 August 2015 16:04:36 UTC-5, Mark Billion wrote:
>
> Im pulling straight from the book and running on python anywhere, so Im a
> bit confused:
>
> web2py Shell 2.11.2-st
Yes. It should. I agree. We should leave the sections on Apache but comment
they we do not recommend apache.
On Monday, 3 August 2015 10:23:58 UTC-5, Niphlod wrote:
>
> IMHO given that the majority of issues reported come with "one step
> production deployment" keywords, the book chapter
> http
No a security issue but definitively something is wrong. Not in the call
you show but it appears some times you have two _next parameters as in
...login/_next=...&_next=
so in your code you should do
if isinstance(request.vars._next, list): request.vars._next = request.vars.
_next[0]
if 'def
The way I do it is this: I define a module and I define in there a function
that does db initialization.
modules/myfunctions.py
# -*- coding: utf-8 -*-
from gluon import *
def initialize_db():
db = current.db
# here, do all needed inserts to database tables
Then, in db.py (after tabl
is this work?
if db(db.[table-name]).count()==0:
populate ...
2015-08-04 17:08 GMT+03:00 Luis Valladares :
> Hello!
>
> Im trying to populate some fields inside my database each time is created,
> things like creating some groups in auth_groups, creating triggers for all
> the tables and a
Hello!
Im trying to populate some fields inside my database each time is created,
things like creating some groups in auth_groups, creating triggers for all
the tables and adding some records in other tables, but i want this to be
done ONLY when web2py creates the database because a lot of this
G+ is dead... It will be renamed Streams... It may be good for news, but
surely not for a forum...
Richard
On Tue, Aug 4, 2015 at 3:07 AM, Paolo Amboni wrote:
> One problem of google groups is the lack of categories.
> What about a g+ comunity?
>
> Il giorno mercoledì 29 luglio 2015 17:00:00 UT
Definitely not working and not usable at all.
Just try register (and offer to others) a new plugin. You will not be happy!
Dne pondělí 3. srpna 2015 14:45:41 UTC+2 Anthony napsal(a):
>
> On Monday, August 3, 2015 at 8:12:14 AM UTC-4, Mirek Zvolský wrote:
>>
>> Some WORKING place for addon softw
yes a good find I had the same thing my $ in the field names
cheers
--
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 yo
Il 04/08/15 09:01, reddyreddy ha scritto:
> Hello All,
>
> I have a script in Web2py private folder. Now Iam running it from
> command line.
>
> But I want to run the script, when a button in html page is clicked.
>
> Can anyone let me know how can I do this.
I reddyreddy,
I would create a web ser
One problem of google groups is the lack of categories.
What about a g+ comunity?
Il giorno mercoledì 29 luglio 2015 17:00:00 UTC+2, Ramos ha scritto:
>
> I hate google groups because its not easy to find help so people keep
> asking the same question over and over again.
> we should follow other
Hello All,
I have a script in Web2py private folder. Now Iam running it from command
line.
But I want to run the script, when a button in html page is clicked.
Can anyone let me know how can I do this.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github
ok, we were discussing the same thing over at pydal's repo to address
another issue, that is closely related
. https://github.com/web2py/pydal/issues/155
On Monday, August 3, 2015 at 8:57:44 PM UTC+2, Boris Aramis Aguilar
Rodríguez wrote:
>
> I've found the following:
>
> To insert a text using
44 matches
Mail list logo