Hi Matt,
The IS_IN_SET() should read:
IS_IN_SET([(True,'Yes'),(False,'No')])
Kind regards,
Annet.
I think you are right. perhaps the problem is session. Did you try
unlock it?
On Nov 11, 12:48 am, VP wrote:
> >- if you are using sqlite, the database is locked (sqlite cannot be
>
> accessed concurrently)
>
> Is this true?
> I thought sqlite db's can be read (but not written) concurrently. If
>- if you are using sqlite, the database is locked (sqlite cannot be
accessed concurrently)
Is this true?
I thought sqlite db's can be read (but not written) concurrently. If
so, then even if web2py opens it, and as long as there's no write
access, things still should be fine. Right?
On Nov 11
I can contribute code (have a lot) but we need a project manager to
call an IRC kick off meeting and coordinate future work.
Massimo
On Nov 10, 10:34 pm, rāma wrote:
> Interesting thread glad I found it by searching the group because this
> is what I am doing currently. However, the LMS is desig
web2py opens it anyway because it is in the model.
You can force a release
DAL.close_all_instances(DAL.commit)
at the beginning of your long action. should work
On Nov 11, 12:12 am, VP wrote:
> Didn't think of this, but in fact I'm using sqlite, which seems to be
> a lot faster than postgreSQL.
Session locking is the problem.
session._unlock(response) seems to fix this.
But i'll consider the background process option (as of now , it's more
convenient for me this way).
Thanks.
Raphael and processing.js provide low level drawing primitives.
jsPlumb is specific for diagrams.
On Nov 11, 12:03 am, mart wrote:
> Hey Alexandre,
>
> first jsPlumb, now this!... so many choices :) Looks so good as
> well :) and says "easy to use" right there on the front page! (love
> "easy to
Didn't think of this, but in fact I'm using sqlite, which seems to be
a lot faster than postgreSQL. However, the controller function that
i called does not touch the database. So unless web2py opens the
database and kind of "leaves it there", it shouldn't happen (right?).
Another behavior is th
Hey Alexandre,
first jsPlumb, now this!... so many choices :) Looks so good as
well :) and says "easy to use" right there on the front page! (love
"easy to use"!). OK, tanks for that as well... I will try them both.
Thanks for the tip!
Mart :)
On Nov 10, 10:08 pm, Alexandre Augusto wrote:
>
Anyway...
a background process may be a better solution (no session problem but
you may still have sqlite lock unless you db.commit() manually after
each update).
On Nov 10, 11:57 pm, mdipierro wrote:
> I do not think this is locking web2py. But there are two
> possibilities:
> - if you are usin
I do not think this is locking web2py. But there are two
possibilities:
- if you are using sqlite, the database is locked (sqlite cannot be
accessed concurrently)
- the user session is locked. This means the user who called the long
running process cannot access other actions until his session is
u
did this work?
should this perhaps be default in web2py?
On Nov 9, 9:33 pm, mdipierro wrote:
> http://code.google.com/p/android-scripting/issues/detail?id=276
>
> On Nov 9, 6:18 pm, pallav wrote:
>
> > I checked and the line was already commented out.
>
> > I don't know how to run web2py with t
I have this problem that I think is related to threading and web2py.
I have an apache2 standard setup with web2py.
One of the function (in controller) is computing intensive, taking up
to 10+ seconds to execute. When this function is called (i.e.
http://domain/app/func), the app is locked up. O
Ok. In trunk.
Please give this a try
raise service.JsonRpcException(100,"info")
On Nov 10, 10:07 pm, Matt wrote:
> Hi there,
>
> (This is probably more or a small request that a question.)
>
> The JSON-RPC service by default always returns error codes of 100.
>
> Can we possibly have this amende
Can you please run these tests for me?
cd into the gluon folder and run python from there (or vice versa).
>From the python shell run
from contenttype import contenttype
from storage import Storage, StorageList, Settings, Messages
from validators import *
from html import *
from sqlhtml import *
Interesting thread glad I found it by searching the group because this
is what I am doing currently. However, the LMS is designed to be a
prototype trial though. I will be testing the beta LMS with a bunch of
students next week. I will be interested to help too in this project.
On Nov 8, 2:45 pm,
Hi there,
(This is probably more or a small request that a question.)
The JSON-RPC service by default always returns error codes of 100.
Can we possibly have this amended so that we could say raise a custom
JsonRpcException (from within our methods) provide a code, and message
and have that code
Hey Mart,
If you like visual appealing JavaScript Framework you may also be
interested in Raphaël—JavaScript Library
What is it?
Raphaël is a small JavaScript library that should simplify your work
with vector graphics on the web. If you want to create your own
specific chart or image crop and r
Try http://www.health.gov.on.ca/english/providers/program/drugs/edition_40.html
On Nov 10, 8:02 pm, mdipierro wrote:
> Not quite what I am looking for. Not software but lists of conditions
> and drugs.
>
> On Nov 10, 6:23 pm, mart wrote:
>
> > have you checked this page?
>
> >http://en.wikipedia
Can you email the page source in html?
On Nov 10, 7:28 pm, Anthony wrote:
> Now I get a flash that says "Searching: 1 files" -- but it still
> doesn't display the matching file.
>
> On Nov 10, 5:26 pm, mdipierro wrote:
>
> > OK, I think I understand and it is fixed. Can you try it again (from
>
On Nov 10, 4:26 pm, Syed wrote:
> Nice. Thanks for the tip. If I'm completely new to python and web2py--
> and am most interested building web2py apps on GAE--should I just
> stick to official book for awhile? Will I need to delve into
> peculiarities of GAE anytime soon?
I haven't done anything
Now I get a flash that says "Searching: 1 files" -- but it still
doesn't display the matching file.
On Nov 10, 5:26 pm, mdipierro wrote:
> OK, I think I understand and it is fixed. Can you try it again (from
> trunk)?
>
> On Nov 10, 3:43 pm, Anthony wrote:
>
>
>
> > According to Firebug, when I
Its losing the args when it creates a new URL. It will require a patch on
set_links so you can pass custom args and vars to URL.
--
Thadeus
On Wed, Nov 10, 2010 at 4:36 PM, Andrew Evans wrote:
> I just noticed the difference in URLs
>
> https://127.0.0.1:8000/Working/display/product_wall/405
Hi, i'm trying to make a copy of an image inside my "uploads" folder. I
´m using the shutil module:
import shutil
shutil.copy(path, destination)
But i get "No such file or directory" error. Can anyone tell me the
correct path if my project is inside: /home/user/web2py/applications/
myproject/uplo
Not quite what I am looking for. Not software but lists of conditions
and drugs.
On Nov 10, 6:23 pm, mart wrote:
> have you checked this page?
>
> http://en.wikipedia.org/wiki/List_of_open_source_healthcare_software
>
> Mart :)
>
> On Nov 10, 5:44 pm, mdipierro wrote:
>
> > Does anybody know of
can anyone figure out something going wrong here?
i'm trying to get radio buttons that return True/False but show Yes/No
to the user. these buttons look good but no matter what you select,
they return True. this happens in appadmin, so there's nothing strange
in my view code.
Field('isComplet
Alex,
Thanks for all your help. Yes, you were correct that the issue was
simply that the id value was not being passed in the ajax call. Here
is my final code for reference if anyone is interested.
<>
def test():
firms = db(db.firm).select()
return dict(firms=firms)
def test_chg():
layout , eh? i"ll give it a go. I assume will be easier then better
then me trying the photoshop thing...
thanks again
Mart :)
On Nov 10, 2:10 pm, rochacbruno wrote:
> You can try web2py.com/layouts
>
> Enviado via iPhone
>
> Em 10/11/2010, às 16:04, mart escreveu:
>
> > Works great! double t
have you checked this page?
http://en.wikipedia.org/wiki/List_of_open_source_healthcare_software
Mart :)
On Nov 10, 5:44 pm, mdipierro wrote:
> Does anybody know of a free database (xml or csv) of medical
> conditions and/or drugs?
Mic, now that's what I'm talking about! That looks awesome! :)
Thanks for that!
Mart :)
On Nov 10, 5:33 pm, Michele Comitini
wrote:
> Hi mart,
>
> Not a flowchart app, a library, but you can make very nice charts if
> you need to show them with web2py:
>
> http://morrisonpitt.com/jsPlumb/html/j
I just noticed the difference in URLs
https://127.0.0.1:8000/Working/display/product_wall/4056
above is the comments on the product notice the id.
below is the next link of the pagination
https://www.127.0.0.1:8000/Working/display/product_wall?p=5
it loses the 4056 which is the id of the produ
Nice! I want to use it.
I am thinking in a way to create a inline editable table.
Enviado via iPhone
Em 10/11/2010, às 20:08, "Martin.Mulone" escreveu:
> I decided to start to make my own implementation of table maker. The
> diference with sqltable or TABLE(), it use div (more flexible), acc
I just wanted to add that my new build of pyodbc using MinGW32 didn't
seem to work either. I removed pyodbc from my Python site-packages
folder and after installing MingW and adding it to my PATH in the
pyodbc source folder I ran 'python setup.py build -c mingw32' followed
by 'python setup.py inst
Hi mart,
Not a flowchart app, a library, but you can make very nice charts if
you need to show them with web2py:
http://morrisonpitt.com/jsPlumb/html/jquery/demo.html
mic
2010/11/10 mart :
> Hey,
>
> Anybody know of any relatively decent flow chart app out there that
> would be compatible with
OK, I think I understand and it is fixed. Can you try it again (from
trunk)?
On Nov 10, 3:43 pm, Anthony wrote:
> According to Firebug, when I search for "gae", it is calling:
>
> http://127.0.0.1:8000/admin/default/search/welcome?keywords=gae
>
> and returning the following JSON response:
>
> {"
this is the model
2010/11/10 Martin.Mulone
> I decided to start to make my own implementation of table maker. The
> diference with sqltable or TABLE(), it use div (more flexible), accept
> web2py helpers as values and is very simple to use.
>
> Example:
>
> http://web2pytesting.appspot.com/table
I decided to start to make my own implementation of table maker. The
diference with sqltable or TABLE(), it use div (more flexible), accept
web2py helpers as values and is very simple to use.
Example:
http://web2pytesting.appspot.com/tablediv/
Code:
table =
SIMPLE_TABLE_DIV(fixedwidth=True,maxw
Please try the web2py nighlty built.
On Nov 10, 3:48 pm, Jonas Rundberg wrote:
> Hi Sverre,
>
> I have the exact same issue. (Running web2py 1.87.3)
> Did you manage to get to work?
>
> / jonas
>
> On Nov 4, 11:10 am, Sverre wrote:
>
> > My cron tab looking like this
>
> > #crontab
> > */2 * * *
Hi Sverre,
I have the exact same issue. (Running web2py 1.87.3)
Did you manage to get to work?
/ jonas
On Nov 4, 11:10 am, Sverre wrote:
> My cron tab looking like this
>
> #crontab
> */2 * * * * root *sys/test_cron
> @hourly root *applications/mm/cron/expire_sessions.py
>
> but
According to Firebug, when I search for "gae", it is calling:
http://127.0.0.1:8000/admin/default/search/welcome?keywords=gae
and returning the following JSON response:
{"files": ["models\\db.py"]}
So, it appears to be working -- but the admin design page is not then
displaying the output prope
Nice. Thanks for the tip. If I'm completely new to python and web2py--
and am most interested building web2py apps on GAE--should I just
stick to official book for awhile? Will I need to delve into
peculiarities of GAE anytime soon?
On Nov 10, 3:18 pm, Syed wrote:
> Complete user-error. Although I did reinstall with python 2.5.4 from
> python.org, and then the binary distribution of web2py
Note, if you run the binary version of web2py, I think it simply runs
the Python interpreter that comes with web2py (which happens to be
send it to me and I will take a look.
On Nov 10, 3:04 pm, guruyaya wrote:
> I'm not sure how to attach files here, but I've created a patch that
> creates a dropdown with all possible languages on the admin. Anyone
> wants it?
>
> On Nov 10, 2:53 pm, Stefan Scholl wrote:
>
> > I know, but I don'
In admin/controllers/default.py|search(), can you add a print
statement to make sure it is being called and it is returning te
correct list of matching files?
On Nov 10, 2:49 pm, Anthony wrote:
> > One thing that's a bit odd is the in file search, which doesn't seem
> > to have any effect on FF
I'm not sure how to attach files here, but I've created a patch that
creates a dropdown with all possible languages on the admin. Anyone
wants it?
On Nov 10, 2:53 pm, Stefan Scholl wrote:
> I know, but I don't want to use one browser for development (English)
> and one for the rest (German).
>
>
Here is a the problem. If you put queries in try... except you must
follow this pattern:
try:
... any db io ...
except:
db.rollback()
If you do not rollback any subsequent attempt to commit or access the
db again results in an error.
On Nov 10, 2:07 pm, David Zejda wrote:
> -BEGIN P
> @Anthony: The reason that I am using python 2.5 is because I want
> web2py to play nicely with App Engine. If I am limiting myself to
> learning web2py first and foremost, does it matter that I am using
> python 2.5?
If you're creating an app for App Engine, then I suppose sticking with
2.5 make
> One thing that's a bit odd is the in file search, which doesn't seem
> to have any effect on FF (I entered "index" and pressed enter). On IE
> it's a bit different: "index" and [enter] collapsed all sections
> (Models, Controllers, Views,...) and they couldn't be expanded again
> after this. Only
But this fails when you to show the result of a query.
You can only filter by one field from the serverside. It´s good, but
not enough.
A lot of potential of this jquery plugin is being lost.
The editable jqgrid plugin is good, but is not documented and does not
work fully.
Would be nice to have it
Not long at all. Many thanks!
On Nov 10, 8:51 am, mdipierro wrote:
> bug. Fixed in trunk. Sorry it took so long.
>
> On Nov 8, 10:38 pm, "richard.ree" wrote:
>
> > I want to upload a file and store it in a blob field:
>
> > db.define_table(
> > "data",
> > Field("citation", "string", re
Complete user-error. Although I did reinstall with python 2.5.4 from
python.org, and then the binary distribution of web2py, the probably
was a result of me trying to install instantpress_beta5.zip.
I found the proper file: web2py.app.instantpress_beta5.w2p
Installation was without issue. Sorry a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This one is also quite common:
Traceback (most recent call last):
File "/opt/web2py/gluon/main.py", line 475, in wsgibase
BaseAdapter.close_all_instances(BaseAdapter.rollback)
File "/opt/web2py/gluon/sql.py", line 810, in close_all_instances
IE8 to be precise
On 10 Nov., 21:00, qqsaqq wrote:
> I tried the nightly on Win7 with FF 3.6 and IE.
>
> I couldn't break anything significant. Creating an app and fiddling
> around with it worked just fine.
>
> One thing that's a bit odd is the in file search, which doesn't seem
> to have any ef
URL generates a URL, it can only contains strings.
On Nov 10, 1:50 pm, Tom Chang wrote:
> All,
>
> I just realized that when I pass a hash variable to redirect, it will
> get converted into a string? Is there a way I can pass a hash variable
> via redirect?
>
> for example,
> redirect(URL(r=reque
I tried the nightly on Win7 with FF 3.6 and IE.
I couldn't break anything significant. Creating an app and fiddling
around with it worked just fine.
One thing that's a bit odd is the in file search, which doesn't seem
to have any effect on FF (I entered "index" and pressed enter). On IE
it's a bi
db.define.table('advanced'
Field('name1',requires=IS_IN_DB(db,'basic.name1')),
On Nov 10, 1:49 pm, andrej burja wrote:
> hi
>
> is it possible to create a text field in table 'advandced' containing
> 'name1' (no reference, just characters)
>
> andrej
>
> On 10 nov., 15:22, mdipier
On Nov 10, 12:50 pm, Chris Baron wrote:
> Hello web2py users,
>
> I've been playing around with components recently and they are helping
> me modularize my application. I was hoping someone could explain to
> me why they do what they do.
>
> I've noticed that when a controller function that is
fixed in trunk
On Nov 10, 11:55 am, Branko Vukelic wrote:
> On Wed, Nov 10, 2010 at 6:51 PM, Anthony wrote:
> > now that we're indenting the file names within subfolders, maybe we
> > can simply get rid of the path altogether (this will especially help
> > when there are several nested subfolder
I kind of stopped working on it after I learned that the Web2Py nightly has
a default layout that is much more pleasing to the eye.
I just wanted to demo my Web2Py appliances with a better looking theme.
You can grab what I have, though:
http://dl.dropbox.com/u/508947/plugin_layout_metamorphosis.z
All,
I just realized that when I pass a hash variable to redirect, it will
get converted into a string? Is there a way I can pass a hash variable
via redirect?
for example,
redirect(URL(r=request,
f='scmView.html',vars=dict(scmResult=scmResult, a= a,
totalCm=totalCm,osPath=osPath,scmOUI=scmOUI,sc
hi
is it possible to create a text field in table 'advandced' containing
'name1' (no reference, just characters)
andrej
On 10 nov., 15:22, mdipierro wrote:
> ERRATA:
>
> do this:
>
> db.define.table('basic'
> Field('name1')
> ...,format='%(name1)s')
>
> db.defin
Just in case you didn't see the "pinned" message at the top of the
group messages, there are 5 weeks to get your apps ready for the
Web2py Application Exhibition ( Version 2.0 )
For more details, see the "pinned" message.
Good Luck!
Mr.NetAdmin
Hi John,
I'm interested on the theme you are working on for web2py, in case you
want to share.
Thanks!,
Carlos
On Nov 9, 4:25 am, John Murphy wrote:
> There are numerous web2py themes, but none of them are very good. So I
> decided to make a nice one based
> on:http://demo.woothemes.com/?
You can try web2py.com/layouts
Enviado via iPhone
Em 10/11/2010, às 16:04, mart escreveu:
> Works great! double thanks! she'll be thrilled, now I just need to
> change the blueish-green header/footer to purple, then I can walk
> away :)
>
> On Nov 10, 12:51 pm, mart wrote:
>> ah, i see it! :
Hello web2py users,
I've been playing around with components recently and they are helping
me modularize my application. I was hoping someone could explain to
me why they do what they do.
I've noticed that when a controller function that is referenced by a
component returns a dict(), it require
Hi Massimo,
Thanks for your prompt response. That was my first thought as well.
The system I'm working on though is a pretty fresh build and searching
the file system for 'site-packages' I only find results (as expected)
within web2py and in my python installation folder, 'C:\python'. So
unless
fixed everywhere I think
On Nov 10, 9:58 am, leone wrote:
> Hi,
> CAS return this incorrect address in
> emailhttps://mdp.cti.depaul.edu/cas/cas/verify?id=191&key=d1c373ab1570cfb9...
> It must
> behttps://www.web2py.com/cas/cas/verify?id=191&key=d1c373ab1570cfb9a7db...
> What can I do to correc
I have to edit some applications problems with the new admin. With
some works without problems. In other gives the following error:
Traceback (most recent call last):
File "/usr/home/jose/web2py/gluon/restricted.py", line 188, in
restricted
exec ccode in environment
File "/usr/home/jose/w
Works great! double thanks! she'll be thrilled, now I just need to
change the blueish-green header/footer to purple, then I can walk
away :)
On Nov 10, 12:51 pm, mart wrote:
> ah, i see it! :) Great! I must have declined the "replace file?" while
> dropping an updated filesset.
>
> thank you very
Hi again,
I can login in the book application, using my google credentials, but
I don't know how to edit the page, can't seem to find any edit button.
Googled for how to do it, but can't seem to find how.
I think I'm not editor already, but if you want, you can make me
editor, and I shall gladly e
Hey,
Anybody know of any relatively decent flow chart app out there that
would be compatible with web2py?
Thanks,
Mart :)
On Wed, Nov 10, 2010 at 6:51 PM, Anthony wrote:
> now that we're indenting the file names within subfolders, maybe we
> can simply get rid of the path altogether (this will especially help
> when there are several nested subfolders).
I absolutely agree. In fact, I would have done it myself, but t
ah, i see it! :) Great! I must have declined the "replace file?" while
dropping an updated filesset.
thank you very much for that! :)
On Nov 10, 12:35 pm, Bruno Rocha wrote:
> The newest
> versionhttp://code.google.com/p/web2py/source/browse/applications/welcome/vi...
>
> 2010/11/10 Bruno Rocha
Creating a new app and editing files seems to work fine in IE and FF
on Windows.
One question: For files in subfolders, there is no slash in between
the folder and file name (e.g., under static/css/ it says "css
base.css" instead of "css/base.css") -- is that intentional? Actually,
now that we're
@Bruno,
Thanks for providing me with a working solution.
@Denes,
Thanks for explaining me why I got this error.
Kind regards,
Annet.
On Nov 10, 3:20 pm, DenesL wrote:
> Annet, allow me a little explanation on why you got SyntaxError:
> keyword can't be an expression.
> web2py does not kno
The newest version
http://code.google.com/p/web2py/source/browse/applications/welcome/views/web2py_ajax.html
2010/11/10 Bruno Rocha
> You have to replace web2py_ajax.html to a new version.
>
> web2py_components depends on some things in web2py_ajax.html!
>
>
>
> 2010/11/10 mart
>
> Hi,
>>
>> He
You have to replace web2py_ajax.html to a new version.
web2py_components depends on some things in web2py_ajax.html!
2010/11/10 mart
> Hi,
>
> Helping my daughter with a school project and she loves the look of
> web2py in the "Example minimalist wiki with versioning and
> authentication". Sh
Hi,
Helping my daughter with a school project and she loves the look of
web2py in the "Example minimalist wiki with versioning and
authentication". She 's making a "memory game" (not sure how, but she
is ;) ). Since she knows how to use the widget builder in
plugin_wiki, she installed it, has the
Nice example...
Just a note :
Line 25 of mycal.html
stop: new Date('{{=row.f_end_time.strftime('%B %d, %Y %H:%M:%S')}}'),
should be:
end: new Date('{{=row.f_end_time.strftime('%B %d, %Y %H:%M:%S')}}'),
So events longer than a day render correctly.
On 10 nov, 16:35, mdipierro wrote:
> http://web
Hello I am trying to create some pagination on my comments page everything
seems to be working, however when I click the next link it goes to a page
that all it says is None
Anyone know why this is happening and how to fix it
There are entries in the db.
Thanks in Advance
below is my code
*che
Is it worth a test on Mac?
On Nov 10, 10:48 am, mdipierro wrote:
> download the windows binary (nightly built) from
>
> http://web2py.com/examples/default/download
>
> with FF and IE, try admin, try create a new app and edit a file,
> report any problem.
I should have thought about that.. the result from the print data function
is:
{u'textfield': u'Viele Umlauts:
\xe4\xe4\xe4\xfc\xfc\xfc\xdc\xdc\xdc\xd6\xd6\xd6\xe4\xe4\xe4', u'name':
u'\xdcberprufen'}
for the following data sent:
data = {
name : "Überprufen",
textfield
By the way, how can i set initially the "var server_time=null;" to a
python readble False?
THX
On 10 Nov., 16:55, mdipierro wrote:
> You need to install firebug and check in the console log what is going
> on.
>
> On Nov 10, 9:53 am, AsmanCom wrote:
>
> > tried it like this:
>
> > app/models/pl
http://127.0.0.1:8000/core/plugin_jqgrid/data?fieldname=&tablename=device&fieldvalue=None&columns=id%2Ccolumn1%2Ccolumn2%2Ccolumn3%2Ccolumn4%2Ccolumn5%2Ccolumn6%2Ccolumn7%2Ccolumn8%2Ccolumn9%2Ccolumn10&server_timenull&_search=false&nd=1289404767209&rows=10&page=1&sidx=&sord=asc
Parameter:
_search
Hi,
CAS return this incorrect address in email
https://mdp.cti.depaul.edu/cas/cas/verify?id=191&key=d1c373ab1570cfb9a7dbb53c186b37a2
It must be
https://www.web2py.com/cas/cas/verify?id=191&key=d1c373ab1570cfb9a7dbb53c186b37a2
What can I do to correct it.
There is a CAS application downloadable?
Tha
You need to install firebug and check in the console log what is going
on.
On Nov 10, 9:53 am, AsmanCom wrote:
> tried it like this:
>
> app/models/plugin_jqgrid.py:
>
> var server_time=null;
> jQuery(document).ready(function(server_time){jQuery("#%
> (id)s").jqGrid({
> url:'%(callback)s&server_t
tried it like this:
app/models/plugin_jqgrid.py:
var server_time=null;
jQuery(document).ready(function(server_time){jQuery("#%
(id)s").jqGrid({
url:'%(callback)s&server_time'+escape(server_time),
app/controllers/plugin_jqgrid.py:
def data():
sleep(10)
...
test1 = request.vars.serv
download the windows binary (nightly built) from
http://web2py.com/examples/default/download
with FF and IE, try admin, try create a new app and edit a file,
report any problem.
Note, if you use the web2py binary, it includes Python (2.5, I think),
so you don't need to install Python separately. If you want to install
your own Python, then you can run web2py from source on Windows (make
sure your Python installation directory is in your Windows PATH
variable). If installin
replace
jQuery(document).ready(function(server_time){jQuery("#%
(id)s").jqGrid({
url:'%(callback)s',
with
jQuery(document).ready(function(server_time){jQuery("#%
(id)s").jqGrid({
url:'%(callback)s&server_time'+escape(server_time),
On Nov 10, 9:34 am, AsmanCom wrote:
> Hi M
Hi Massimo, never mind. I do not want the variable passed with
jQuery.getJSON, but with the url: '% (callback) s', which is called
with LoadComplete: .trigger ("reload grid").
Here's the code so far..
_
app/models/plugin_jqgrid.py:
def
plugin_li
I'll make sure that all variables are removed from the equation.--I'll
uninstall everything and that start from scratch with 2.5.5 from
python.org. And then I'll be sure to try the binary distribution. I'll
report back with the results. Thanks.
def Upload():
from gluon.contenttype import contenttype
import os, stat
form=SQLFORM(db.image)
if form.accepts(request.vars, session):
file_handler = request.vars.pic ### this if a cgi.FieldStorage
file_path = os.path.join(request.folder,
'uploads/',form.vars.pic)
bug. Fixed in trunk. Sorry it took so long.
On Nov 8, 10:38 pm, "richard.ree" wrote:
> I want to upload a file and store it in a blob field:
>
> db.define_table(
> "data",
> Field("citation", "string", required=True, notnull=True),
> Field("datafile", "upload", uploadfield="data"),
>
If you are using Windows, can you please try the web2py binary
distribution. Personally I have never used web2py with ActiveState
Python and I cannot exclude some quirks with it.
On Nov 10, 7:31 am, Syed wrote:
> Apologies for what will probably be a complete noob-error. I just
> tried installing
Sorry I did not help. I cannot help you because the code you have
above is incomplete. It opens a """ but never closes so I not
understand how callback is used. Anyway I assume in the view you have:
{{callback = URL(r=request,c='plugin_jqgrid',f='data',
vars=dict(tablename=tabl
If all you need is an extra column have a look at col3 in SQLFORM
http://web2py.com/book/default/chapter/07#SQLFORM
On Nov 10, 5:33 am, villas wrote:
> The function looks interesting, but I didnt understand how to create
> the cols var.
>
> def mytable(rows, cols):
> return TABLE(*[TR(*[TD(
Has moved
http://web2py.com/cas
On Nov 10, 6:46 am, notabene wrote:
> The CAS provider applicance should be
> here.http://mdp.cti.depaul.edu/appliances/default/index (https://www.web2py.com/cas)https://mdp.cti.depaul.edu/cas(http://en.wikipedia.org/wiki/
> Central_Authentication_Service).
>
>
yes. In trunk, please check it.
On Nov 10, 5:52 am, Omri wrote:
> Hello all,
>
> I used auth.add_membership today for the first time, and I realized
> that the add_membership function adds a membership also if the user
> already has this membership.
>
> Wouldn't it make more sense if the function
Is there no solution to my concerns?
It´s such a pity...
1 - 100 of 115 matches
Mail list logo