the main problem is that web2pys DAL is designed for relational databases,
and writing nosql adapaters will mean porting just a subset of relational
functionality, but you will not be able to take advantage of unstructured
data, because from web2py point of view it will look structured, just
Hi Bruno,
cant seem to find content relating raphaeljs eventually finding what
am looking for programmatically imaging with web2py.
BTW congratulation on your selection on PSF.
kind regards,
Teddy
On Mon, Nov 19, 2012 at 7:23 AM, Bruno Rocha rochacbr...@gmail.com wrote:
You need HTML, JS and
Same here. I downloaded the w2p on Nov 12th - so I think I have the latest
version. But the filename seems to be ignored.
I'm using web2py 2.0.9
On Monday, November 12, 2012 1:26:53 PM UTC+5:30, David Sorrentino wrote:
Hello everybody! :)
I am using appreport with the PISA engine in order to
If you cannot control the order of args, you could still look for an int,
but that may not always be reliable. I sometimes decide to use vars
instead. Then you know exactly what you have: your/url/here?id=1234
Construction of the url is easy using the URL helper.
On Friday, November 16,
Thank you! I checked out trunk and now it is working unless I call the
truncate method on any table:
Traceback (most recent call last):
File
/base/data/home/apps/s~cambeoserver/1.363276531332237989/gluon/restricted.py,
line 212, in restricted
exec ccode in environment
File
What comes as a surprise to me is that the admin interface is working in
the GAE SDK emulation...
The error log:
In FILE:
/base/data/home/apps/s~cambeoserver/1.363277968286640588/applications/admin/models/access.py
Traceback (most recent call last):
File
Hi!
I'd like to ask how a password is verified? I've noticed that cloning my
project in a parallel one with a different name that use the same db
connection (to postgres) the same user cannot be recognized from the new
application. What's the right way to do this operation?
Thanks a lot
Regarding the error 426 mentionned, I don't know if you tried to use
chromium instead of chrome. At least I has the 426 error in chromium, but
NOT with chrome. Hope this helps.
Le jeudi 19 janvier 2012 17:23:53 UTC+1, Phyo Arkar a écrit :
Websocket is not ready , it is just a draft protocol.
David,
When I downloaded the 0.1.x version from Downloads section, the
response_filename param works. Hope this helps.
Lucas,
https://github.com/lucasdavila/web2py-appreport/wiki page points to older
w2p file, which is an year old.
May be you should update the documentation to point to 0.1.x
Hi,
I got a big problem I can't use the databaseadministration of my website
anymore. I cecked previous versions and two versions ago it works without a
problem. The funny thing is the db.py files are exactly the same I changed
nothing in the database mainly in views but I would hate to work
Paul I think you will find that you have created a file. The file tuto1.pdf
will be in your web2py folder which is maybe why you are not seeing it.
if you do
pdf.output(name=request.folder+'/static/tuto1.pdf')
It would put it in the static folder of your application.
Peter
On Monday,
Hi ,
Did you find a workaround for this?
On Thursday, March 1, 2012 9:53:50 PM UTC+4, Tito Garrido wrote:
Hi Folks,
I am trying to execute the function adicionar_estoque after I create a new
entrada_produto entry... am I doing anything wrong? Nothing is happening
even when I put a
Mandar,
Thank you very much. I downloaded the version 0.1.x and it perfectly works.
I didn't think that wiki page could have pointed to an old version of the
plugin.
I wish you a wondeful day,
David
On 19 November 2012 11:28, Mandar Vaze mandarv...@gmail.com wrote:
David,
When I downloaded
yes, I realize this ... I just don't want a screen to come up.
The screen PDF displays with the first record. Can we supress?
On Mon, Nov 19, 2012 at 5:16 AM, peter peterchutchin...@gmail.com wrote:
Paul I think you will find that you have created a file. The file
tuto1.pdf will be in your
Looks pretty good, but using an opensource means maintenance and upgrading
issue, so I'd rather prefer a SaaS solution. After doing little research, I
found a good alternative LoginRadius (www.loginradius.com). Did anyone try
it? Would love to hear some feedback.
--
I'm using postgres too, that will be the way to go, tnx
On Monday, November 19, 2012 7:57:32 AM UTC+1, Johann Spies wrote:
On 16 November 2012 15:59, Dragan Matic perakoj...@gmail.comjavascript:
wrote:
It has been asked before but I haven't seen any definitive answer. Is
there a way to
Hi all,
I'm wondering if anyone knows what the best way is to change validators on
a table's input form. In my program, if the record is initially added, I
only need the validators to check a subset of fields (IS_NOT_EMPTY, etc.),
but in another state I need to check them all.
My first
Hi Villas
I like the idea of getting the ID from a var instead of args, however I am
still not sure how to go about getting the ID of the current record I am
viewing/editing in smartgrid.
Forgive my noobishness.
M
On Monday, 19 November 2012 08:57:09 UTC, villas wrote:
If you cannot
Please do.
On Sunday, 18 November 2012 23:21:16 UTC-6, Cliff Kachinske wrote:
Aha.
I could not find the call to stream.read in the pdf manual.
Manual uploads appears to be removed from the on-line manual. Is that
intentional? If not I could write up a patch for the book in the next day
http://code.google.com/p/web2py/issues/detail?id=1176thanks=1176ts=1353330181
will fix tonight
On Monday, 19 November 2012 03:11:24 UTC-6, Sebastian Cambeo wrote:
Thank you! I checked out trunk and now it is working unless I call the
truncate method on any table:
Traceback (most recent
Strange. this is a gae error.
On Monday, 19 November 2012 03:16:46 UTC-6, Sebastian Cambeo wrote:
What comes as a surprise to me is that the admin interface is working in
the GAE SDK emulation...
The error log:
In FILE:
Check there are using the same version of python. Some older pyhton
versions have a buggy hashlib and results in incorrect hashing.
On Monday, 19 November 2012 03:22:59 UTC-6, Manuele wrote:
Hi!
I'd like to ask how a password is verified? I've noticed that cloning my
project in a parallel
Somewhere you are redefining db to be a string. Try print db at the top od
your controller.
On Monday, 19 November 2012 04:44:39 UTC-6, BlueShadow wrote:
Hi,
I got a big problem I can't use the databaseadministration of my website
anymore. I cecked previous versions and two versions ago it
Hi,
I have added one custom button after *Search* and *Clear* buttons of
SQLFORM.grid but unable to associate the action onto it, onclick is not
getting called.Please see below the code:
grid = SQLFORM.grid(db.test_table,deletable=True)
grid[0][1][1].components = [
_onclick expects a javascript fragment to be executed.
On Monday, November 19, 2012 2:40:24 PM UTC+1, Amit wrote:
Hi,
I have added one custom button after *Search* and *Clear* buttons of
SQLFORM.grid but unable to associate the action onto it, onclick is not
getting called.Please see
Could you elaborate more on this with some example code?
On Monday, 19 November 2012 19:13:58 UTC+5:30, Niphlod wrote:
_onclick expects a javascript fragment to be executed.
On Monday, November 19, 2012 2:40:24 PM UTC+1, Amit wrote:
Hi,
I have added one custom button after *Search* and
the _onclick parameter is translated to just a plain onclick attribute of
the tag you're using.
When you do in HTML a href='#' onclick='test'mylink/a nothing will
happen.
an _onclick of alert('clicked me') will fire an alert box (language:
javascript).
What do you need to do upon clicking
upon clicking the button , I need to make query to db and delete the
records...
On Monday, 19 November 2012 19:23:54 UTC+5:30, Niphlod wrote:
the _onclick parameter is translated to just a plain onclick attribute
of the tag you're using.
When you do in HTML a href='#'
Hi all,
I am generating graphs using *cairo plot* in web2py project. Here I am
using *BytesIO()* stream for generating graphs. Everything runs fine when I
run on localhost but when I deploy it on apache server and then run from
different machines OR from different browsers in same machine then
Hello everyone!
I developped an application using web2py 1.99.xx some months ago, and I
passed it to web2py 2.2.1 in order to be up to date :-) (And I prefer the
new layout...) Thanks again for this beautiful version !
Nevertheless, I since encountered several strange problems
Hi Villas
I like the idea of using a var instead of args but I am still uncertain of
how I get the ID of the current record I am viewing/editing in smartgrid.
Mike
On Monday, 19 November 2012 08:57:09 UTC, villas wrote:
If you cannot control the order of args, you could still look for an
now you're the one that needs explaining it further :P
I assume that just going to the test function and return back would not
be enough ? (i.e. a simple _href=URL('test') on that button)
On Monday, November 19, 2012 2:56:36 PM UTC+1, Amit wrote:
upon clicking the button , I need to make query
google points to this
http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions
the fact that on the development server all goes ok is a symptom that
apache is the culprit.
On Monday, November 19, 2012 2:20:42 PM UTC+1, Yasir Saleem wrote:
Hi all,
I am generating graphs using *cairo
Thanks Niphlod,
It works! The only little glitch is that the calendar pop far from the
input field but I don't mine as long as it appears.
Richard
On Fri, Nov 16, 2012 at 5:14 PM, Niphlod niph...@gmail.com wrote:
have you inspected where it goes on error ? My bet would be on the
calendar
if pycall is under applications/myapp/modules, then try restarting web2py
When I created a new file under the modules folder, web2py couldn't
import until it was restarted
See if it helps
-Mandar
On Thursday, November 15, 2012 5:38:27 PM UTC+5:30, Ramos wrote:
Hello
i have web2py running in
I simply have to delete the records from the table, but problem what I am
facing is : if the function would not be get called then how will I achieve
this?
On Monday, 19 November 2012 19:31:53 UTC+5:30, Niphlod wrote:
now you're the one that needs explaining it further :P
I assume that just
all the records ?
if you need to execurte your test() function you just need the browser to
go to that page. Let's assume that in your controller you have
def index():
grid = grid(db.testtable)
grid[0][1][1].components = [
TAG.button('testbutton',
example:
b50_periodo_academico.py:
db.define_table('periodo_academico',
Field('carrera',db.carrera),
Field('codigo', 'string', length=16), #
Field('nombre', 'string', length=64, default='Carrera, Nombre del
Periodo'), # odontologia 2013-2014
Field('fecha_ini', 'date'),
Hi Simon, i didn't go too far with DAL and mongo. Managed to get the grid,
but as mentioned before had a problem retrieving individual record
(document) for view and update. Then I included pymongo, and got needed
functionality outside of grid, but didn't have time then to continue
working on it.
look is this http://vimeo.com/38972256
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidiomari...@itjp.net.br
ITJP - itjp.net.br
83 8826 9088 - Oi
83 9334 0266 - Claro
I have been thinking a little about this. Niphlod's suggestion solves the
problem for me at the moment, but isn't there an enormous problem? It seems
that any web2py installation can be taken down accidentally or maliciously
just by somebody requesting an invalid argument string in the url of
Tks!
web2py has no api for this, in that case you should use JavaScript, html
and css.
You can generate this on web2py side, but in the end it will be the same.
Pyjamas, jquery or raphael should have functions or libs to design.
You can also look at Matplotlib.
Bruno Rocha
Hi All,
i'm running web2py 2.2.1
When I try to return a rss with the generic.rss view or when I try to
follow example
http://www.web2py.com/examples/simple_examples/rss_aggregator
It serves a ticket with:
'module' object has no attribute 'dumps'
The gluon/contrib/rss2 - doesn't have a dumps
# Instructions: Copy all of this into your db.py, and make the one change
in layout.html
# Solution: how to have a user redirected to a page AFTER register
# in this example, the URL('user/profile') will be used.
# app name: AuthRedirect - just a NEW application, with no modication
# web2py
Don't have this statement
return response.stream(open('tuto1.pdf'))
Instead redirect to wherever you want to go next, or just have a plain old
return and use your routine as a function.
Peter
On Monday, 19 November 2012 12:06:51 UTC, Paul Rykiel wrote:
yes, I realize this ... I just don't
I guess it is solved in trunk. I had this problem, then I updated from
github and its gone.
Bruno Rocha
http://rochacbruno.com.br
mobile
Em 19/11/2012 14:44, Rene Dohmen acidj...@gmail.com escreveu:
Hi All,
i'm running web2py 2.2.1
When I try to return a rss with the generic.rss view or
might it be, that users.create_login_url(request.env.path_info) in
check_credentials needs some kind of file access?
Anyhow this request appears to trigger the error
--
I'm trying to determine the best way to code the following situation in
web2py.
Currently I have a model that has this in it:
db.define_table('ingredient',
Field('ingredient_name', 'string', required=True),
Field('kind_ref', 'reference kind', required=True,
The part would would have interested us is potential to re factor live
systems, particularly with changing tenancy requirements.
Thinking that while the DAL, by necessity will have relational database
tendencies and may never have full nosql capability, it would be
interesting to explore areas
i moved my app to web2py2.XX and it works now!
thank you
António
2012/11/19 Mandar Vaze mandarv...@gmail.com
if pycall is under applications/myapp/modules, then try restarting web2py
When I created a new file under the modules folder, web2py couldn't
import until it was restarted
See if it
Thanks for that.
Was looking to see how tender the adapter was and how far it could be
pushed, and that may have answered it.
On Tuesday, November 20, 2012 2:50:20 AM UTC+11, Adi wrote:
Hi Simon, i didn't go too far with DAL and mongo. Managed to get the grid,
but as mentioned before had a
it's just only for those who use the parametric router, not for all the
web2py installations out there.
Il giorno lunedì 19 novembre 2012 17:17:54 UTC+1, jc ha scritto:
I have been thinking a little about this. Niphlod's suggestion solves the
problem for me at the moment, but isn't there an
On 19 Nov 2012, at 12:33 PM, Niphlod niph...@gmail.com wrote:
it's just only for those who use the parametric router, not for all the
web2py installations out there.
You can relax the pattern in routes.py, too.
Il giorno lunedì 19 novembre 2012 17:17:54 UTC+1, jc ha scritto:
I have been
Hello,
Some tests doesn't pass in plugin_mptt, mainly :
line 288, in test_move_child_up_level
node11 node9 2 1 4 5)
controllers/plugin_mptt.py, line 40, in asserTree
for node in nodes]),
AttributeError: 'Row' object has no attribute 'name'
controllers/plugin_mptt.py, line 256, in
+1 for moving in this direction.
On Saturday, November 17, 2012 10:19:15 PM UTC+10, Massimo Di Pierro wrote:
http://labs.codernity.com/codernitydb/index.html
--
It's not clear what you are trying to do.
On Monday, November 19, 2012 1:43:47 PM UTC-5, Amber Doctor wrote:
I'm trying to determine the best way to code the following situation in
web2py.
Currently I have a model that has this in it:
db.define_table('ingredient',
the main issue for those kind of ideas is to explain your vision of a NoSQL
adapter..I've seen a lot of please support a NoSQL DAL but anyone
explaining what is he missing from the current DAL. What do you need NoSQL
DAL for ?
Following some statements raised before:
a) why DAL doesn't
I recently lost some php code and I wanted to redo it in web2py instead of
php so I am trying to convert from php/mysql to web2py.
In php, I pulled database data for 3 lists. The 3 lists are 3 different
kinds of ingredients.
For each kind of ingredient - alcohol, mixer, garnish - I made a
Hello,
I've looked into stripe.com and it does look like it is easier than google
wallet to implement.
When I put the example from the web2py manual into a controller, then the
charge of whatever amount does communicate with Stripe's server and I can
see that a charge went through as a test.
Massimo, thanks for the reply.
I wasn't able to get it working with what you said but this seems to have
done the trick instead:
Field('registration_time', 'datetime', requires=IS_DATETIME(),
writable=False, readable=False, default=request.utcnow),
essentially, the requires field seems to have
I had already tried that but it doesn't seem to be working for me. Could
this be because I am using a custom sign up form? The registration is
working properly though, which is odd...
On Monday, November 19, 2012 4:45:52 PM UTC, peter wrote:
# Instructions: Copy all of this into your
Here's my registration form:
db.define_table(
auth.settings.table_user_name,
Field http://127.0.0.1:8000/examples/global/vars/Field('email',
length=128, default=''),
Field http://127.0.0.1:8000/examples/global/vars/Field('password',
'password', length=512, readable=False),
Field
You're going to have to change the style via CSS. If it's an inbuilt form
in web2py like the login one, good luck :P you will have to use the custom
form widgets and do a bunch of somersaults. Try following this guide, it
may help:
http://web2py.com/book/default/chapter/07#FORM
On Wednesday,
Ah ok I just took a look at the HTML and saw that my code conflicts with
what web2py is generating.
Basically there's a form within a form being constructed, so it looks like
this:
form class=form-horizontalform action=
enctype=multipart/form-data method=post
To avoid this, how can I
In the cookbook it says that we can have more than one response.menu in the
same view !
How would I go about it ? ...
I created another response.menu by naming it in the menu model file :
response.menubar = [ ]
and then expanded on its own menu items inside the __def( ) function
OK. For now do:
db.periodo_academico.sistema.represent = lambda v, row=None:
mi_represent(v, _status)
but please open a ticket about this pointing to this thread. This may be a
web2py bug.
On Monday, 19 November 2012 09:44:28 UTC-6, www.diazluis.com wrote:
example:
A menu is a lust a list which you display with {{=MENU(menu)}}. If you put
the right stuff in the menu it should display right.
On Monday, 19 November 2012 20:25:47 UTC-6, Don_X wrote:
In the cookbook it says that we can have more than one response.menu in
the same view !
How would I go
I had to work around this problem in tools.py in my web2py 1.9x code.
Maybe this issue is still in 2.x
@staticmethod
def get_or_create_key(filename=None):
request = current.request
if not filename:
filename = os.path.join(request.folder,'private','auth.key')
if os.path.exists(filename):
key
Hi all,
What folder inside of Web2py is the best place to store and retreive images
for things like LOGO's and ICONS?
Please advise.
Thank you!
--
Greetings...
I am using PYFPDF to create my pdf's ... all is great, but instead of
automatically creating the PDF, I would like the system to prompt the user
to enter the directory where they want the PDF saved to? Can this be done,
this would be a big help.
Thanks in advance for your
Here is a revision to Step 2:
2. In main.py starting around line 526
# ##
# try load session or create new session file
# ##
if not
In the not to distant future we need to refactor reasonable large SQL
databases.
Current open source choices are limited to MySQL and PostgreSQL.
(trying to avoid vendor lock in issues).
Interest in this thread is as a prompt to explore nosql pros and cons.
Both SQL options are mature, well
On 19 November 2012 15:53, Cédric Mayer argla...@gmail.com wrote:
File
C:/Users/cedric/projets/LACT/eclipse/Lactw221/web2py/applications/lact/models/a34_lact_running_modes.py
http://127.0.0.1:8000/admin/default/edit/lact/models/a34_lact_running_modes.py,
line 43, in on_end
On 19 November 2012 14:58, Michael Hall pix...@gmail.com wrote:
Hi Villas
I like the idea of using a var instead of args but I am still uncertain of
how I get the ID of the current record I am viewing/editing in smartgrid.
Here is an example of code I am using where 'auid' represents the id
74 matches
Mail list logo