Yup all good... Working now.
Thanks again,
Matt
On Apr 7, 5:56 pm, Matt mjwat...@gmail.com wrote:
Massimo,
Ok Cool... Thanks for fixing it so quickly.
Will checkout the trunk,
Matt
On Apr 7, 5:29 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thanks Matt,
it is a bug. I think I fixed
Hi pals,
Havn't used cron feature for quite some while, and knowing it has been
under refactoring in recent several major versions of web2py. Today I
try to pick it up, but then notice a warning message keeps showing up
on console.
C:web2py -a1
WARNING:root:no file locking
Starting
Wow, big big thanks to Leonardo. Everything is in there...
Muchas gracias.
Benigno.
On Apr 6, 4:27 am, DenesL denes1...@yahoo.ca wrote:
Leonardo Vidarte, one of the users in the spanish language group, has
created some snippets [0] for Vim, for the snipMate plugin [1] to be
exact, with all
You need to install the win32 extensions. web2py without sessions may
cause data loss if you store data in sessions.
On Apr 7, 1:21 am, Iceberg iceb...@21cn.com wrote:
Hi pals,
Havn't used cron feature for quite some while, and knowing it has been
under refactoring in recent several major
I like it alot
but how do I create new wiki pages?
On Apr 6, 6:32 am, Mariano Reingart reing...@gmail.com wrote:
Hi, attached is plugin_flatpages, a dynamic wiki/html user editable
pages plugin.
It supports:
* page edition by users (in the same page)
* page history
* preview
* format
Fantastic! Thank you!
On 7 Apr, 08:25, Benigno bca...@albendas.com wrote:
Wow, big big thanks to Leonardo. Everything is in there...
Muchas gracias.
Benigno.
On Apr 6, 4:27 am, DenesL denes1...@yahoo.ca wrote:
Leonardo Vidarte, one of the users in the spanish language group, has
Hi selecta, can you send me a test app?.
I have been testing and documenting ajax in web2py 1.76.3 in my spare
time.
Which jQuery, browser and web2py versions are you using?.
On Apr 5, 5:05 pm, selecta gr...@delarue-berlin.de wrote:
I tried to use Recaptcha in a LOAD div but I does not work
What you mentioned is only for crud forms. Isn't there anything like a
database wide on add/remove/update function definition? If no, don't
you think it would be good to implement it? For e.g. say I have tags
and tag count. I want to increment tag count on each post update/
addition/removal. That
Hello,
Are there instructions anywhere for installig and running web2py on
Jython ?
A few questions I have so far:
+ which version of web2py (source code ?)
+ how and where to install database drivers ? - my attempt fails
to find psycopg2. Does one use python db drivers or java drivers ?
Hi,
here they are:
http://web2py.com/book/default/section/12/9
+ use newest stable
--
Kuba
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send
Thanks,
I am sure I searched in the 'book', how silly of me not to find it.
What about Oracle and Jython ? The last line of the entrie reads:
'You will be able to use DAL('sqlite://...') and
DAL('postgres://...') only.'
John C.
On Apr 7, 11:54 am, Kuba Kucharski kuba.kuchar...@gmail.com
Hello,
I have an
Internet Explorer cannot
download ...f783273687326762357523675236785237623786.pdf from some
domain.
Internet Explorer was not able to open this Internet site. The
requested site is either unavailabla or cannot be found. Please try
again later.
With Chrome and FF it works.
The
Are you on a HTTPS connection?
On 4/7/2010 6:29 AM, szimszon wrote:
Hello,
I have an
Internet Explorer cannot
download ...f783273687326762357523675236785237623786.pdf from some
domain.
Internet Explorer was not able to open this Internet site. The
requested site is either unavailabla or
yes
On ápr. 7, 14:50, Timothy Farrell tfarr...@swgen.com wrote:
Are you on a HTTPS connection?
On 4/7/2010 6:29 AM, szimszon wrote:
Hello,
I have an
Internet Explorer cannot
download ...f783273687326762357523675236785237623786.pdf from some
domain.
Internet Explorer was not
Right now the DAL does not provide it because the goal is to keep it
as close as possible to SQL layer. Nevertheless you have a good point
and I would like to see a few proposals for possible API extension.
On Apr 7, 5:33 am, Ishbir ishbi...@gmail.com wrote:
What you mentioned is only for crud
Some people have reported problems with Jython due to a bug in Java
regex. I tried Jython2.5rc2 and it worked for me. Let us know.
On Apr 7, 6:14 am, JC11 john.c...@gmail.com wrote:
Thanks,
I am sure I searched in the 'book', how silly of me not to find it.
What about Oracle and Jython ? The
Are you using 1.76.5 or earlier and the built-in web server? that is
known to truncate large files over https. You should now have that
problem with the web2py in trunk which uses rocket or if you use
another web server.
On Apr 7, 8:09 am, szimszon szims...@gmail.com wrote:
yes
On ápr. 7,
its pretty basic but i cant seem to find a way to prevent SQLTABLE
from clipping long text in a table cell. it just shows first 16
characters.
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
SQLTABLE(,truncate=1024)
On Apr 7, 9:51 am, neo utkarsh.a.mung...@gmail.com wrote:
its pretty basic but i cant seem to find a way to prevent SQLTABLE
from clipping long text in a table cell. it just shows first 16
characters.
--
You received this message because you are subscribed to the
I use 1.76.5 and mod_wsgi... But the question about ssl... hmmm...
I'll try some trick with IE8 to accept the cert first :-D
I'll report back...
On ápr. 7, 16:15, mdipierro mdipie...@cs.depaul.edu wrote:
Are you using 1.76.5 or earlier and the built-in web server? that is
known to truncate
On Apr 7, 2010, at 7:14 AM, mdipierro wrote:
Some people have reported problems with Jython due to a bug in Java
regex. I tried Jython2.5rc2 and it worked for me. Let us know.
One or two of the regex patches a while back (URL checking IIRC) was aimed at
preventing excessive backtracking under
This is nice! I should learn how to use vim :P
Could anybody convert this to a gedit snippet?
-Thadeus
On Wed, Apr 7, 2010 at 5:02 AM, Doxaliber salingro...@gmail.com wrote:
Fantastic! Thank you!
On 7 Apr, 08:25, Benigno bca...@albendas.com wrote:
Wow, big big thanks to Leonardo.
Hi folks,
I'm using extjs (www.extjs.com) to build a form and when I'm getting the
json request to fill it I can't get accented characters. I'm not sure if
this is something that I should configure on web2py or on extjs... it's only
occurring when I fill the form using json. Anybody got a similar
Hi, do you pals know when and how to use command line option -f
FOLDER? I hope to hear some experience.
My major web2py develop environment used to be a web2py source version
freshly from latest trunk, on Windows XP, but without win32 extention
(why bothers). But today I have to use a web2py
don;t know if it helps, but when I used php the problems was solved only by
changing file encoding from ANSI to utf-8, try to change controller file
encoding
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
I am getting the dreaded error:
RuntimeError: maximum recursion depth exceeded
I am using web2py vsn. 1.76.5, jython version 2.5.1 on Windows XP.
I have altered the web2py 'welcome' application defaault controller
to: return 'Hello World' rather than return dict(message=T('Hello
World')).
In windows if you are using NTFS there is something called a Junction
Point which is a hard link. It works like linux `ln`.
http://en.wikipedia.org/wiki/NTFS_junction_point
You have to BE CAREFUL, hard links work like folders! If you delete a
hard link, you delete the file You have to delete
All:
At one time I thought I saw a project available for a Web2Py Database
Web Interface. Does anyone know if one exists?
Thanks.
Christopher
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
On Apr 7, 2010, at 9:55 AM, JC11 wrote:
I am getting the dreaded error:
RuntimeError: maximum recursion depth exceeded
I am using web2py vsn. 1.76.5, jython version 2.5.1 on Windows XP.
I have altered the web2py 'welcome' application defaault controller
to: return 'Hello World'
On Wed, Apr 7, 2010 at 4:57 AM, selecta gr...@delarue-berlin.de wrote:
I like it alot
but how do I create new wiki pages?
You could create a wiki function in controller default.py:
def wiki(): return plugin_flatpage()
And then, create pages under that controller/function (args[0] is the
page
Traceback (most recent call last):
File /home/tburgess/Applications/web2py/gluon/restricted.py, line
173, in restricted
exec ccode in environment
File
/home/tburgess/Applications/web2py/applications/pms/views/default/index.html,
line 62, in module
thead
File
OK, I'm feeling too lazy to look this up, and I'm hoping someone will just tell
me.
How do I inject text into the col3 TD of the submit_record_row of an SQLFORM?
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email
IE has a cache problem with HTTPS. I don't use the download function
but this would apply if the download function doesn't handle it. I have
this in my code in several places:
# Die IE! Die! Die! Die!
# ( http://support.microsoft.com/kb/323308 )
response.headers['Pragma']=private
I have not written any regular expressions. So far I am just trying to run
the web2py welcome app.
The only reg. exp. is what creates the welcome page view.
Thanks.
On 7 Apr 2010 19:29, Jonathan Lundell jlund...@pobox.com wrote:
On Apr 7, 2010, at 9:55 AM, JC11 wrote:
I am getting the
need more info
On Apr 7, 1:36 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Traceback (most recent call last):
File /home/tburgess/Applications/web2py/gluon/restricted.py, line
173, in restricted
exec ccode in environment
File
form[0][-1][2][0].append('I think this is right')
there may be a more elegant way
On Apr 7, 1:59 pm, Jonathan Lundell jlund...@pobox.com wrote:
OK, I'm feeling too lazy to look this up, and I'm hoping someone will just
tell me.
How do I inject text into the col3 TD of the submit_record_row
On Apr 7, 2010, at 12:44 PM, John Cobo wrote:
I have not written any regular expressions. So far I am just trying to run
the web2py welcome app.
The only reg. exp. is what creates the welcome page view.
No traceback?
Thanks.
On 7 Apr 2010 19:29, Jonathan Lundell jlund...@pobox.com
It comes from the line
db.TableB[value].name
-Thadeus
On Wed, Apr 7, 2010 at 3:19 PM, mdipierro mdipie...@cs.depaul.edu wrote:
need more info
On Apr 7, 1:36 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Traceback (most recent call last):
File
How can I change the controller file encoding?
Regards,
Tito
On Wed, Apr 7, 2010 at 12:50 PM, Vasile Ermicioi elff...@gmail.com wrote:
don;t know if it helps, but when I used php the problems was solved only by
changing file encoding from ANSI to utf-8, try to change controller file
Does the DAL support database ENUM types?
-Thadeus
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
hi, thadeus
there was whole thread about this:
http://www.mail-archive.com/web2py@googlegroups.com/msg10329.html
--
Kuba
On Wed, Apr 7, 2010 at 10:55 PM, Thadeus Burgess thade...@thadeusb.com wrote:
Does the DAL support database ENUM types?
-Thadeus
--
You received this message
This is necessary for connecting to a legacy MySQL database.
-Thadeus
On Wed, Apr 7, 2010 at 4:06 PM, Kuba Kucharski kuba.kuchar...@gmail.com wrote:
hi, thadeus
there was whole thread about this:
http://www.mail-archive.com/web2py@googlegroups.com/msg10329.html
--
Kuba
On Wed,
THANKS matt and massimo!! i did not report this cause i thought it
was not supported on GAE! you guys just made my week!
cfh
On Apr 6, 11:10 pm, Matt mjwat...@gmail.com wrote:
Yup all good... Working now.
Thanks again,
Matt
On Apr 7, 5:56 pm, Matt mjwat...@gmail.com wrote:
Massimo,
I've looked at this problem extensively and I'm convinced that the
solution is to re-implement template.py without complicated regexps or
remove the claim of Jython support.
The exact problem is related to the size of a view that is run through
the template module. The re_strings as it is
And I do not think Oracle will do a better job at it.
On Apr 7, 4:28 pm, Timothy Farrell tfarr...@swgen.com wrote:
I've looked at this problem extensively and I'm convinced that the
solution is to re-implement template.py without complicated regexps or
remove the claim of Jython support.
The
This
db.TableA.id_TableB.represent = lambda value: %s %
db.TableB[value].name
should be
db.TableA.id_TableB.represent = lambda value: (db.TableB[value] or
{}).get('name','anonymous')
On Apr 7, 1:36 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Traceback (most recent call last):
Good afternoon Dr.Massimo:
I fixed the problem.
Previously I had done the following:
I Removed web2py
I downloaded and unzipped all
I passed my application
But I forgot to stop the previous process of web2py
And I only restarted this process and it recovered, and now,
everything works well.
On
Good afternoon Dr.Massimo:
I fixed the problem.
Previously I had done the following:
I Removed web2py
I downloaded and unzipped all
I passed my application
But I forgot to stop the previous process of web2py
And I only restarted this process and it recovered, and now,
everything works well.
On
On Apr 7, 2010, at 2:28 PM, Timothy Farrell wrote:
I've looked at this problem extensively and I'm convinced that the solution
is to re-implement template.py without complicated regexps or remove the
claim of Jython support.
The exact problem is related to the size of a view that is run
No.
For dal.py to be accepted it has to work exactly like sql.py
Therefore I cannot make ANY code changes if we want a new DAL.
-Thadeus
On Wed, Apr 7, 2010 at 5:31 PM, mdipierro mdipie...@cs.depaul.edu wrote:
This
db.TableA.id_TableB.represent = lambda value: %s %
Hello,
I'm having trouble starting web2py.py on my local machine.
I'm using web2py 1.76.5, Python 2.5.4 on Windows 7.
I have simplejson 2.1.1 installed in site-packages. If I remove it,
web2py.py launches fine.
Here's the traceback:
Traceback (most recent call last):
File
Do you still have the patch. I remember applying one patch from you
and rejecting one that I thought would break certain expressions. If
you resend it I will double check.
On Apr 7, 7:43 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Apr 7, 2010, at 2:28 PM, Timothy Farrell wrote:
I've
On Apr 7, 2010, at 6:33 PM, mdipierro wrote:
Do you still have the patch. I remember applying one patch from you
and rejecting one that I thought would break certain expressions. If
you resend it I will double check.
You applied the patch to test_template.py, which was also broken.
I need to
Thanks for the tip, I'll consider it. But it seems dangerous.
BTW, what on earth is the web2py.py -f FOLDER for?
-Iceberg
On Apr8, 1:03am, Thadeus Burgess thade...@thadeusb.com wrote:
In windows if you are using NTFS there is something called a Junction
Point which is a hard link. It works
On Apr 7, 2010, at 6:40 PM, Jonathan Lundell wrote:
On Apr 7, 2010, at 6:33 PM, mdipierro wrote:
Do you still have the patch. I remember applying one patch from you
and rejecting one that I thought would break certain expressions. If
you resend it I will double check.
You applied the
On Apr 7, 2010, at 6:48 PM, Jonathan Lundell wrote:
On Apr 7, 2010, at 6:40 PM, Jonathan Lundell wrote:
On Apr 7, 2010, at 6:33 PM, mdipierro wrote:
Do you still have the patch. I remember applying one patch from you
and rejecting one that I thought would break certain expressions. If
Can you as web2py to print the sys.path?
On Apr 7, 8:26 pm, Alexei Vinidiktov alexei.vinidik...@gmail.com
wrote:
Hello,
I'm having trouble starting web2py.py on my local machine.
I'm using web2py 1.76.5, Python 2.5.4 on Windows 7.
I have simplejson 2.1.1 installed in site-packages. If I
It should do what you expect but it is possible it is broken since
nobody uses it. I will take a look.
massimo
On Apr 7, 8:44 pm, Iceberg iceb...@21cn.com wrote:
Thanks for the tip, I'll consider it. But it seems dangerous.
BTW, what on earth is the web2py.py -f FOLDER for?
-Iceberg
On
I'm not sure I used the right way to obtain the path. I just stuck
these lines in the welcome app's default/index.html view to get the
sys.path:
{{import sys}}
{{=sys.path}}
The simplejson library is located at:
C:\Python25\Lib\site-packages\simplejson-2.1.1-py2.5-win32.egg
I installed it via
I am defining this function.
db.define_table('person', Field('name'))
db.define_table('dog', Field('nickname'), Field('owner', db.person))
db.dog.owner.represent = lambda value: %s % db.owner[value].name
This works in sql.py
This does not work in dal.py
You said you made changes, I tested,
I assume it is
db.dog.owner.represent = lambda value: %s % db.person[value].name
The stacktrace you get is because one of your records has owner==None
hence db.person[value] is also None and None has no .name. It is not a
bug. You are doing different queries or using different datasets.
I guess my question is why does it not throw an exception in
sql.py? It should since
db.dog.owner.represent = lambda value: %s % db.person[value].name
when called with value==None should always result in the error you see
in dal.py.
Can you help me debug this? My problem is not why it
Thanks in advance! And after that, please come back and confirm which
folder is needed for this option, is it
-f /home/another_web2py
or
-f /home/another_web2py/applications
-iceberg
On Apr8, 10:33am, mdipierro mdipie...@cs.depaul.edu wrote:
It should do what you expect but it is possible
Thanks, Massimo.
I've replaced the lines that you cited in your email in encoder.py.
In decoder.py there were only these lines:
from scanner import make_scanner
try:
from simplejson._speedups import scanstring as c_scanstring
except ImportError:
c_scanstring = None
I replaced the try:
I only took a quick look and I think I fixed it but please take a
second look.
The syntax is:
-f /home/another_web2py
Massimo
On Apr 7, 11:30 pm, Iceberg iceb...@21cn.com wrote:
Thanks in advance! And after that, please come back and confirm which
folder is needed for this option, is it
another possible issue is that this is the order of your sys.path
'C:\\Python25\\lib\\site-packages', '../gluon',
while I'd be more comfortable with
'../gluon', 'C:\\Python25\\lib\\site-packages'
you can try change in web2py.py
if not path in sys.path:
sys.path.append(path)
os.chdir(path)
66 matches
Mail list logo