Please disregard. I was opening the file instead of directing it to the
path. Complete user error here *embarrassed face*
On Tuesday, March 24, 2015 at 7:18:34 AM UTC-4, LoveWeb2py wrote:
Hello,
I'm trying to run a quick check on user access with our company server. If
I run the script
Il 24/03/15 12:12, Manuele Pesenti ha scritto:
How is it possible?
bingo!
Beware that if the task has no return values, it is removed from the
scheduler_run table as soon as it is finished.[cit. 1]
so I have to investigate why the function executed in my task is not
returning the expected
Massimo,
On that note. I have seen some of that lecture and it seems very undergrad
level. Is there a grad level course that you can offer where we can go
through each API (or the most important one). Lets create few stand alone
code and go line by line to understand how the framework is made?
You may replace Field('product', db.product), by Field('product',
'reference product'),
It may help and it is a better practice.
Richard
On Mon, Mar 23, 2015 at 9:16 AM, KPlusPlus khalid.s.almur...@gmail.com
wrote:
Thanks for noticing that , I've fixed it , but the problem still persist
and
Hello,
I'm trying to run a quick check on user access with our company server. If
I run the script normally I can make the query fine, but when I use web2py
I get an Errno 336265218 _ssl.c: 341 SSL
routines:SSL_CTX_use_PrivateKey_file:system lib
mypemfile = '/etc/mypath/to/key.pem'
In
Hi!
I have to debug a strange situation in witch it seams the scheduler
worker remove the scheduler_run record just after it completes
successfully the task.
So I got a scheduler_task record with a status equal to COMPLETED and no
scheduler_run record assigned to it.
How is it possible?
Thank you
Thanks for all your replies, will take a look at this and see if it will
work for what I'm trying to do.
Thanks again
On Tuesday, 24 March 2015 01:59:09 UTC, Dave S wrote:
On Monday, March 23, 2015 at 6:44:15 PM UTC-7, Dave S wrote:
[...]
Looking again at
URL:
http://www.rapydscript.com/
This one seems to be pretty good too.
On Tuesday, March 24, 2015 at 12:46:21 AM UTC-7, Massimo Di Pierro wrote:
This is the last one I have seen: http://apppyjs.appspot.com/
Anyway, to echo Niphlod. Programming with these systems is a nightmare
because you get
Bump with edits.
--
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
I did find a new bug (well, not really a bug but a documentation error that
didn't reflect the code in one of the examples) and fixed it in a pull
request. Anyway, should have at least a week's notice if you want to pull
people into a competition.
On Friday, March 20, 2015 at 8:41:16 AM
Web2py template is the best you have out there. you will be silly to look
for something else. My opinion.
On Monday, March 23, 2015 at 11:05:19 PM UTC-4, Massimo Di Pierro wrote:
yes. the sandbox prevents the code in templates from accessing the file
system. What I am saying is that it is
I am looking from templating genrated form through SQLFORM.factory is possible
that we can clone of address table Multiple time like one person can have
multiple address using add address button. Than submit all together with bulk
insert.
--
Resources:
- http://web2py.com
-
Hi there,
I have an image sharing app, and am looking for advice on how to implement
our image storage in fast (enough) and scalable way that will allow for
client-side editing. I want to reduce large images uploaded client side
before sending them to the server. Currently our app
Hi ,
I have cloned src today from git and found this page. Is this new design or
commit by mistake?
https://lh6.googleusercontent.com/-tQJEK-ma7I8/VRGuc3pRIFI/SYY/5-CUnfMS4S8/s1600/web2py%2Badmin%2Bpage.PNG
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
Massimo should Think of Starting a software company/organization :D
What if we could have Several Levels of Certificate ?
of course it will push web2py forward
On Tuesday, March 24, 2015 at 7:19:23 PM UTC+3, Massimo Di Pierro wrote:
No. Perhaps there should be. But not yet.
On Tuesday, 24
In controller, redirect is not working with 'tab' as var name:
redirect(URL('mycontroller', 'index', vars={'tab':'DF03'})) is not working
redirect(URL('mycontroller', 'index', vars={'tab2':'DF03'})) works fine
Is that a bug?
Phillip
--
Resources:
- http://web2py.com
-
Hi!
I try to define subclass of Table:
model.py:
-
db=DAL('sqlite://...')
from dal.objects import Table , Field
class my_tab(Table):
def __init__(self, db, tablename, *fields, **args):
fields=(
Field('num', 'integer'),
Looks like you did. :-O
Anyway, the point of a university is that we do not usually teach courses
about specific technologies. We use specific technologies to serve more
abstract purposes. For example I teach CSC438 which is about the internal
design of web frameworks and I use web2py as one
That's the new welcome app, with bootstrap3 support.
Please do suggest / contribute improvements, as you see them.
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Wed, 25-03-2015 12:06 AM, Vikash Sharma wrote:
Hi ,
I have cloned src today
I agree. Next time we will plan better
On Tuesday, 24 March 2015 18:49:42 UTC-5, Derek wrote:
I did find a new bug (well, not really a bug but a documentation error
that didn't reflect the code in one of the examples) and fixed it in a
pull request. Anyway, should have at least a week's
I think for starters trying integrate a different layout and writing
instructions about how to do that would help a lot.
On Tuesday, 24 March 2015 15:37:53 UTC-5, Richard wrote:
Would help too!
On Tue, Mar 24, 2015 at 4:31 PM, Tim Richardson t...@growthpath.com.au
wrote:
this seems like
Definitively not a bug in web2py. Add a print request.env.path_info in your
app to see what is really going on.
On Tuesday, 24 March 2015 22:14:54 UTC-5, Phillip Parente wrote:
In controller, redirect is not working with 'tab' as var name:
redirect(URL('mycontroller', 'index',
Try import DAL and Field from gluon instead of dal.objects
On Tuesday, 24 March 2015 22:14:49 UTC-5, Val K wrote:
Hi!
I try to define subclass of Table:
model.py:
-
db=DAL('sqlite://...')
from dal.objects import Table , Field
class my_tab(Table):
it should not look like that. Either a css is missing or your browser is
caching some old style file (most likely). Try force a reload and check the
JS console for errors.
On Tuesday, 24 March 2015 22:14:49 UTC-5, Vikash Sharma wrote:
Hi ,
I have cloned src today from git and found this
No, you wouldn't do getattr(request.controller, index). index is the
value of request.controller, not an attribute. So, you literally just use
request.controller, all by itself -- that stores the string name of the
current controller.
Anthony
On Tue, Mar 24, 2015 at 6:37 AM, Michel Krav
We should clone you saying!? lol. jk:-). Would be nice to have an advance
course like that. Someone should write to the dean and sign me up.
On Tuesday, March 24, 2015 at 12:19:23 PM UTC-4, Massimo Di Pierro wrote:
No. Perhaps there should be. But not yet.
On Tuesday, 24 March 2015
I spoke too soon. Please wait I post a new version for testers. I will
email this list.
Then try:
db = DAL('google:sql://[app-name]:[db-name]/[table-name]')
...
auth.settings.extra_fields['auth_user'] = [Field('username_fb', length=128,
default=, unique=True, writable=False, readable=False)]
Thank you for the answer.
Could you explain a bit more the there are no migrations on GAE, is it
only for the actual version and the fixed version will solve it?
I realised that I am using the 2.10.0-beta version of web2py. The one
downloaded from the main download page.
Thanks for the help
El
Hello Guys,
redirect with var name 'tab' doesn't work:
redirect(URL('mycontroller', 'index', vars={'tab':'DF03'}))
Is that a bug?
redirect(URL('mycontroller', 'index', vars={'tab_with_another_string':'DF03'}))
works fine!
Thanks,
--
Resources:
- http://web2py.com
-
Good idea to look through uwsgi.log.
The problem was harakiri on a process after 60 seconds. There was an entry
in the log along the lines of HARAKIRI ON WORKER 4 (pid: 2557, try: 1).
To fix, I increased harakiri to 120 in /etc/uwsgi/web2py.xml.
That created a new problem which showed up in
No. Perhaps there should be. But not yet.
On Tuesday, 24 March 2015 08:40:40 UTC-5, Ron Chatterjee wrote:
Massimo,
On that note. I have seen some of that lecture and it seems very undergrad
level. Is there a grad level course that you can offer where we can go
through each API (or the
I am pretty sure the redirect works. Something bad happens your action when
you have request.vars.tag. Cannot say without looking at the code.
On Tuesday, 24 March 2015 11:18:06 UTC-5, Phillip Parente wrote:
Hello Guys,
redirect with var name 'tab' doesn't work:
def myfunc():
do_something
doesn't return anything
def myfunc():
do_something
return 1
returns something
On Tuesday, March 24, 2015 at 2:44:26 PM UTC+1, Manuele wrote:
Il 24/03/15 12:12, Manuele Pesenti ha scritto:
How is it possible?
bingo!
Beware that if the task
On Tuesday, March 24, 2015 at 8:07:45 PM UTC, Niphlod wrote:
seems the right job for the scheduler :-P
Yeah, maybe you're right.
Basically my program generates a large image for a user which takes about 1
min. I want to show please wait on the web-page while it's generating,
then show
Would help too!
On Tue, Mar 24, 2015 at 4:31 PM, Tim Richardson t...@growthpath.com.au
wrote:
this seems like a true path to the future for web2py and I will help,
after I understand what you are doing ...
On Tuesday, 24 March 2015 18:41:56 UTC+11, Massimo Di Pierro wrote:
W3 stands for
On Tuesday, March 24, 2015 at 9:34:41 PM UTC+1, Toby wrote:
On Tuesday, March 24, 2015 at 8:07:45 PM UTC, Niphlod wrote:
seems the right job for the scheduler :-P
Yeah, maybe you're right.
Basically my program generates a large image for a user which takes about
1 min. I want to
I have a record with two reference links -- to two different tables. The
validation I want is that one and only one of the two references are filled
in. Cleary I can just brute force this when processing the form but I
wonder if I am missing a way to do this in the model.
--
Resources:
-
seems the right job for the scheduler :-P
On Tuesday, March 24, 2015 at 6:10:15 PM UTC+1, Toby wrote:
Good idea to look through uwsgi.log.
The problem was harakiri on a process after 60 seconds. There was an entry
in the log along the lines of HARAKIRI ON WORKER 4 (pid: 2557, try: 1).
To
this seems like a true path to the future for web2py and I will help, after
I understand what you are doing ...
On Tuesday, 24 March 2015 18:41:56 UTC+11, Massimo Di Pierro wrote:
W3 stands for my lack of creativity in coming up with good names. ;-)
Eventually it will be renamed.
It is not
1) there are no migrations on GAE, web2py will still create .table files
but they serve no purpose.
2) GAE support is broken in 2.9.12. It works in trunk pydal and we will
released a fixed version this week
On Monday, 23 March 2015 21:53:04 UTC-5, Sébastien Loix wrote:
Hi,
I am having
Yes.
http://www.cdm.depaul.edu/ipd/Programs/Pages/WebDevelopmentwithPython.aspx
I teach it and it is basically a course on web2py. Problem is, I am too
busy to teach it and I have not been teaching it in one year.
Anyway, past lectures are all online. I am considering automating the
W3 stands for my lack of creativity in coming up with good names. ;-)
Eventually it will be renamed.
It is not finished but at a very good stage. The nice part if the fact that
the view uses a combination of web2py template {% ... %} and ractive {{ ...
}}, form styles are defined clients-side,
every bit of code you need to run on the client side should be in
javascript. you can code everything else in python.
BTW: that's really not the direction web development is taking though :-P
On Tuesday, March 24, 2015 at 2:32:25 AM UTC+1, Ron Chatterjee wrote:
I don;t know much javascript
All,
I am trying to unittest a GET request, I have had no problem testing all my
other functions which were POST requests.
I have a simple function, that takes two vars; a file name and a path and
then downloads the file.
def file_downloader():
if request.vars:
filename =
This is the last one I have seen: http://apppyjs.appspot.com/
Anyway, to echo Niphlod. Programming with these systems is a nightmare
because you get errors in the compiled JS and you still need to understand
it. JS is a functional language and not a procedural one. Using Python or
Ruby or other
45 matches
Mail list logo