Ok
Il giorno giovedì 4 aprile 2013 00:10:02 UTC+2, Massimo Di Pierro ha
scritto:
>
> import gluon
>
> should be
>
> from gluon import *
>
> On Wednesday, 3 April 2013 16:06:24 UTC-5, Ivan Gazzola wrote:
>>
>> I wrote this module my_util.py:
>>
>> #!/usr/bin/env python
>> # coding: utf8
>>
>> impo
Unfortunately I can't install any dbms on that machine, I will make a test
on an other 'similar' machine where I have postgres installed.
Paolo
2013/4/3 Niphlod
> ok, at least it seems consistent:
> there's:
> - no send_heartbeat(), do_assign_tasks=True line
> - no Inside If, do_assign_tasks=
thank you, that helped. I now send a custom link which directs to my url.
Also I defined the _next variable of the request_reset_password page
manually to point to my login page.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubsc
In a function I have the following code:
form.element('input[id=what3]').update(_data-content="My text",
_data-toggle="popover", _title="", _data-original-title="My title")
This code cannot be saved, it result in a keyword can't be an expression
error.
data-content, data-toggle and data-origin
How would I be able to use a query like this (or the DAL equivalent) to
show the result in a grid?
select so as Journal, SUM(aantal) as Articles
from isi.nr_arts_per_journal
group by Journal
order by Journal
Regars
Johann
--
Because experiencing your loyal love is better than life itself,
my li
Hi,
I'm going to give a briefly presentation about web2py this Saturday:
https://tymr.com/event/encontro-python-pt-6-abril-2013-porto/515c6f2a03d36d409716741e
Are there any great slides/presentations out there that I can use or get
inspiration from?
Francisco Costa
https://tymr.com
--
---
like this one
http://pt.scribd.com/doc/58040260/apostila-web2py-basico
and this one
http://pt.scribd.com/doc/12288297/Web2py-vs-Others
Abraço
António
2013/4/4 Francisco Costa
> Hi,
>
> I'm going to give a briefly presentation about web2py this Saturday:
> https://tymr.com/event/encontro-pytho
Hello Marin,
sorry for the late reply. I don't have your e-mail (this list doesn't show
e-mails), but I am also not sure I can provide a lot more extra info on
this.
Did you manage to look into it? Did you find anything?
Thanks!
Tamas
On Friday, March 8, 2013 4:00:24 PM UTC+1, Marin Pranjić w
See the end of this section in the book:
http://web2py.com/books/default/chapter/29/05#HTML-helpers
Notice that helper attributes are passed as keyword arguments to the
helper. In some cases, however, attribute names include special characters
that are not allowed in Python identifiers (e.g., h
I'm guessing it will be hard. You'll better code a view and access it as a
"fake table".
PS: you show it in a grid then what record do you want to
add/edit/delete ?
I'm guessing that this time you want to use the grid just to search,
orderby and paginate, but there's a LOT of logic inside i
the grid exposes several callbacks that you can use to "attach" your own
counters .oncreate, onupdate and ondelete
On Thursday, April 4, 2013 4:55:49 AM UTC+2, Dan Kozlowski wrote:
>
> I have a smartgird that is being used for adds, updates, and deletes and
> wondering how I can call a funct
good.
your bayesian watches the body, while stopforumspam inspects usernames,
emails and ips.
Don't know how much use can it have to instruct your filter with the
"terms" present in username and emails of stopforumspam, but I'm happy that
at least someone will use the plugin :P
On Thursday, A
Thanks guys, i solved it other way.
On Thursday, April 4, 2013 3:17:49 AM UTC+2, 黄祥 wrote:
>
> please try this in your db.py:
>
> db.define_table('company',
> Field('company_name'),
> Field('website'),
> format='%(company_name)s')
>
> auth.settings.extra_fields['auth_user']=[
> Fie
Hi Guys,
i am new to web2py. I have a problem and i am not sure how to approach it.
I am working on a multitenant application.
I have two tables:
Tenants
- id
- name
- url_sufix
- active
- deleted
Tenans_users
- tenant_id
- user_id
in tenants table url_sufix is a url_su
I'm very new to web2py and python in general but have a bit of knowledge
when it comes to C/C++.
I've got a db setup which needs to pull data from a row in a .csv file and
put each column in the .csv into the corresponding column in the db. Rather
than doing this explicitly (there's ~40 column
This is automatic:
db[csv_data].import_from_csv_file(open('filename.csv'))
On Wednesday, 3 April 2013 16:40:01 UTC-5, David S wrote:
>
> I'm very new to web2py and python in general but have a bit of knowledge
> when it comes to C/C++.
>
> I've got a db setup which needs to pull data from a r
Are there any good self paced learning courses on webdev with web2py?
So far I am enjoying learning how to make websites with web2py. I don't
mind spending a little money on courses or learning material, but I really
only do this as a hobby so I'm not interested in shelling out several grand
whats the easiest way to create a pie/bar chart using web2py/python, i was
attempting to use pycha with cairo/pycairo libraries with very little
success, failed to install pycairo on the mac all the googled exmaples not
working.
Any ideas?
--
.
Hello
I am use http://pygooglechart.slowchop.com/
Is very simple, create a file, a use then in the view.
On Thu, Apr 4, 2013 at 10:37 AM, Teddy Nyambe wrote:
> whats the easiest way to create a pie/bar chart using web2py/python, i was
> attempting to use pycha with cairo/pycairo libraries wi
D3js is the way to go. Its javascript but hey, its the way to go also.
The best part, and matplotlib is behind this, is interactivity in the
browser.
Apart from other cool stuff
Best
2013/4/4 Javier Pepe
> Hello
>
> I am use http://pygooglechart.slowchop.com/
>
> Is very simple, create a fi
pygooglechart looks easy, but have a small issue with web2py.
I did:
easy_install pygooglechart
on the python prompt the module is being imported:
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits"
It would be really sweet to do something like
mycrumbtrail = SQLFORM.smartgrid.do_crumbtrail(...
or
myconsole = SQLFORM.smartgrid.do_console(...
On Thursday, April 4, 2013 9:17:11 AM UTC-4, Niphlod wrote:
>
> I'm guessing it will be hard. You'll better code a view and access it as a
> "fake
Hi Anthony,
Thanks for the reference and for your extensive explanation how to solve my
problem. The popover works!
Best regards,
Annet
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving e
Ok looks like i needed to restart web2py!! its ok now.
On Thu, Apr 4, 2013 at 4:07 PM, Teddy Nyambe wrote:
> pygooglechart looks easy, but have a small issue with web2py.
>
> I did:
>
> easy_install pygooglechart
>
> on the python prompt the module is being imported:
>
> Python 2.7.3 (v2.7.3:70
The image is generated at google.com, what if there is no internet? this is
not good will be operating also in off-line modesbut like the
simplicity.
On Thu, Apr 4, 2013 at 4:16 PM, Teddy Nyambe wrote:
> Ok looks like i needed to restart web2py!! its ok now.
>
>
> On Thu, Apr 4, 2013 at 4:0
Another option is to use the DAL callbacks:
http://web2py.com/books/default/chapter/29/06#before-and-after-callbacks
Anthony
On Thursday, April 4, 2013 9:21:14 AM UTC-4, Niphlod wrote:
>
> the grid exposes several callbacks that you can use to "attach" your own
> counters .oncreate, onupdat
Alec,
I think you are on a rigth spot about "javascript web2py validator" that
something that are missing when someone want to transfert some stuff to
client side... Now it requires that we reinvent the wheel... If there were
a way we could reuse the web2py validators definition and use them in a
better pip install next time...
http://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install
Mainly because you can delete the package...
Richard
On Thu, Apr 4, 2013 at 10:07 AM, Teddy Nyambe wrote:
> pygooglechart looks easy, but have a small issue with web2py.
>
> I did:
>
> easy
I´m having the same problem reported here
https://code.google.com/p/web2py/issues/detail?id=1234
my grid
mytable = SQLFORM.grid( db.t_docs.f_trab_ref==query ,
csv=False,
searchable=False,
maxtextlength=32,
- Hello web2py users,
Out of convenience, I was copying a web2py application created in Windows
to my home computer (a mac and a debian vm). When I try to run it, it does
start well but images cached from openlayers, mainly the background map,
render with tiles far apart from each othe
I have the following function:
rows=db(db.nodeNavbar.nodeID==id).select()
if rows:
for r in rows:
if r.navbarID==VIEWNAVBARID:
view_navbar_delete(id)
if r.navbarID==TEXTNAVBARID:
text_navbar_delete(id)
if r.navbar
I doubt it's a web2py problem ... you should check for users hitting the
same behaviour using openlayers on different OSes ... probably it's a
matter of css .
On Thursday, April 4, 2013 5:03:37 PM UTC+2, Luis wrote:
>
>
>- Hello web2py users,
>
>
> Out of convenience, I was copying a web2py
bump.
On Tuesday, April 2, 2013 4:45:08 PM UTC-7, Yassine Elouri wrote:
>
> Thanks for the link, but I am not able to get it to work. Maybe I'm doing
> some thing wrong. Would you please verify this:
> I create the private/dropbox.key file with APP_KEY:APP_SECRET:dropbox
> in models/db.py I have
bump.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out
I initially tried using that function however import_from_csv_file()
doesn't work with this file. I also tried using a few lines of code to
manipulate the data into something import_from_csv_file would like and
write that to a .csv then try importing it, but had no luck. Below are the
contents
hello can i suggest a more descriptive title for these videos?
http://www.youtube.com/playlist?list=PL5E2E223FE3777851
I dont want to see all the videos to discover if its contents are
interesting.
best regards
--
---
You received this message because you are subscribed to the Google Group
>
> Are there any great slides/presentations out there that I can use or get
> inspiration from?
>
Great presentation in spanish although slightly outdated
http://www.slideshare.net/martinpm/web2py-pensando-en-grande-9448110
This is even older, but I would rename it as "How do you make a
pres
Thanks. I checked my web2py versions and they are the same. I'll take a
more careful look at the js within applications.
On Thursday, April 4, 2013 11:23:25 AM UTC-4, Niphlod wrote:
>
> I doubt it's a web2py problem ... you should check for users hitting the
> same behaviour using openlayers on
I read that metawidget thing and it seems interesting, can you write more
about how to get metawidget working with web2py?
On Wednesday, April 3, 2013 10:31:36 PM UTC-7, Alec Taylor wrote:
>
> On Thu, Apr 4, 2013 at 7:05 AM, Arnon Marcus
> >
> wrote:
> > I agree that it does seem right now, th
Ok you can do:
colnames = ['field1','field2',etc.]
for lines in import_data:
items = lines.split(',')
db[csv_data].insert(**dict((colnames[i],v) for i,v in enumerate(items)))
It may still fail of the data is not in the right format but you can find
out why.
On Wednesday, 3 April 2013 16
Can you please try web2py 2.4.* I believe this was fixed.
On Thursday, 4 April 2013 09:57:35 UTC-5, Ramos wrote:
>
> I´m having the same problem reported here
>
> https://code.google.com/p/web2py/issues/detail?id=1234
>
>
>
> my grid
>
>
> mytable = SQLFORM.grid( db.t_docs.f_trab_ref==query ,
The data isn't formatted quite right. It's looking like I'll have to format
the file a little.
As a test, I tried adding the column names to the top of the .csv file and
import_from_csv_file works. I'm going to make a function to add the column
names to the first line of the file.
Thanks for
just to clarify on the
> Not a bad argument Arnon, but you shouldn't discount search scrapers so
> easily.
>
> I think Google's Search Bot has support AJAX for a good 5 years now.
>
> part . have you actually tried it ??
search bots (google included) have "some" ajax support in the s
PS: ajax is not quite the same as javascript, but the underlying "core
concept" of the previous post is valid for both.
On Thursday, April 4, 2013 11:27:02 PM UTC+2, Niphlod wrote:
>
> just to clarify on the
>
>
>> Not a bad argument Arnon, but you shouldn't discount search scrapers so
>> easi
Hi,
when I add normal links to a site I use the A() helper where I can add a
title tag (_title="") is there a way to add those to my links in the
response menu?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this gro
i have found this script in the web:
/etc/init/web2py-scheluder.conf
description "web2py task scheduler"
start on (local-filesystems and net-device-up IFACE=eth0)
stop on shutdown
respawn
exec sudo -u www-data python /home/www-data/web2py/web2py.py -K myapp
===
Suppose I have:
db.define_table('table_a',
Field('name'),
)
db.define_table('table_b',
Field('my_a', 'list:reference table_a'),
)
I create a row_a in table a, and I put its id as member of the list my_a in
row_b of table_b.
Suppose I then delete row_a. What happens?
1.
I am considering teaching one such class in connection with UCSC in the
Fall of this year.
Luca
On Thursday, April 4, 2013 6:37:15 AM UTC-7, jjg0 wrote:
>
> Are there any good self paced learning courses on webdev with web2py?
>
> So far I am enjoying learning how to make websites with web2py.
http://www.youtube.com/playlist?list=PL978B2CE2D788F745
nJoy! :)
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For
After writing this, I realized that it's not beyond my grasp to write my
own wsgi web app, so I'm going that route.
I've been at it a few days, and I do miss the automatic CSRF and double
submit that W2P provides. It's also very easy to just add plugins. Still, I
am having fun writing my own "f
It is by a guy who runs this site:
http://codeschool.org/
I've watched all his lectures - they are SUPERB (!)
Each module is an extremely well organised course.
He speaks very clearly, uses very clear slides, and the whole experience is
of a highly-structured top-quality course.
This particular
This is by far the best course I've seen about web2py :
http://www.youtube.com/playlist?list=PL5E2E223FE3777851
I couldn't find his slides, but you can try to contact the guy who made it
through his website:
http://codeschool.org/
--
---
You received this message because you are subscribed t
In your example when row_a is deleted row_b is unaffected BUT when the form
is next visualized the link that no longer exists will disappear.
For normal reference the default is ON DELETE CASCADE and linked records
are deleted. For list:references the linked records are NOT deleted
On Thursday,
Can you post the actual files? The w2p can't be imported to the latest
web2py...
Also, some questions:
1. The way I understand this, an implementation would be via a
controller-action that receives the event-stream-request, then responds
with a "200 OK" and that MIME thing, to affirm the conne
I was supposed to teach one spring but I did not advertise and
was canceled. If there are at least 7 people committed it can still be
offered:
http://www.cdm.depaul.edu/ipd/Programs/Pages/WebDevelopmentwithPython.aspx
On Thursday, 4 April 2013 18:30:19 UTC-5, Arnon Marcus wrote:
>
> http://www
The only thread on this in this group has been deleted.
I have a few questions:
1. The way I understand this, an implementation would be via a
controller-action that receives the event-stream-request, then responds
with a "200 OK" and that MIME thing, to affirm the connection. But from
that po
1. How? Usually by a yield somewhere. Where? The already existing open
connection knows where.
2. Slow down there, you're overthinking it. Web2py comes with this.
Look at web2py/gluon*/contrib/*comet_messaging.py
And...
watch this video by Bruno Rocha
http://vimeo.com/18399381
On Thursday, Ap
hi,
is it normal for list:string type field is empty when on editing page?
e.g.
db.define_table('contact',
*Field('salutation'),*
Field('first_name'),
Field('last_name'),
*Field('gender', 'list:string'),*
Field('birthday', 'date'),
Field('job_title'),
Field('address',
i have this setup:
2 severs with the same web2py & app installed, each of then run a
scheluder worker
the problem is that only one of then get jobs, and in
db.scheluder_worker the one with do all the work is the only with true
in is_ticker field, i just the 2 of em cooperate and pickup the
It turned out that the 2.12 version of openlayers was giving me issues with
rendering default base map tiles. I switched to 2.11 and problem solved.
On Thursday, April 4, 2013 1:27:21 PM UTC-4, Luis wrote:
>
> Thanks. I checked my web2py versions and they are the same. I'll take a
> more careful
...but I cannot get it to work. As soon as I start the service via the
service console, it terminates without an error code. It tried 32/64 bit
version of nssm, w and w/o quotes for the paths. In procexp I see that the
python.exe is started but it terminates immediately.
pythonw.exe without App
HI,
Started working on a project where the team is already working on using
extjs to develop the views. Each view of web2py application is basically an
ExtJS application. They've placed extjs library in
web2py/applications/app/static /extjs and created an extjs_views folder in
web2py/applicat
62 matches
Mail list logo