I cannot reproduce the problem from Mac with FF.
request.flash = 'ok'
should be
response.flash = 'ok'
but that is not causing your problem.
On Apr 26, 12:55 am, hywang why00...@163.com wrote:
error also occurs when run web2py from source on window platform.
no better result
Do you have a view with a custom form?
On Apr 25, 10:53 pm, hywang why00...@163.com wrote:
I run web2py from source on centos 5.3.
When upload a file, an error occurs.
-db.py---
db.define_table('easy_test',
Field('picture', 'upload')
)
-controller
Interesting:
http://www.sqlmag.com/print/sql-server/A-New-Law-that-Will-Change-the-Way-You-Build-Database-Applications.aspx
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
i has no view .
when i test newest version in google hg server, web2py works well,
but if I add IS_IMAGE() validator, some error occured again.
ver1.6x works well
On 4月26日, 下午2时01分, mdipierro mdipie...@cs.depaul.edu wrote:
Do you have a view with a custom form?
On Apr 25, 10:53 pm, hywang
I came across this post:
http://groups.google.com/group/web2py/browse_thread/thread/82c1b8cdc14eddee/45040c681742a3b1?lnk=gstq=pool_size%3D#45040c681742a3b1
... and read paragraph 6.1 and 6.2 of the manual. In paragraph 6.1 the
connection strings reads like:
db = DAL('sqlite://storage.db',
Massimo,
Accessing revision 1854 results in an Internal Server Error.
Kind regards,
Annet.
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
no better result if i create my own view.
when i use newest version from google hg server, i can upload file
correctly, but if i add a
validator IS_IMAGE to 'upload' field, an error will occur also.
On 4月26日, 下午2时01分, mdipierro mdipie...@cs.depaul.edu wrote:
Do you have a view with a custom
may be it is an ooold bug, Discussion about it can be found here:
http://groups.google.com/group/web2py/browse_thread/thread/bdfb9bb617488d5/641e843715eb8b11?lnk=gstq=raise+TypeError%2C+%22not+indexable%22#641e843715eb8b11
On 4月26日, 下午3时44分, hywang why00...@163.com wrote:
no better result if i
I am trying to fetch some information from cookie
cookie = cookies.get(xyz, )
if not cookie: return None
args = dict((k, v[-1]) for k, v in
cgi.parse_qs(cookie.strip('')).items())
but on running, i am getting AttributeError: 'Morsel' object has no
attribute 'strip' error
Can someone
On Mon, Apr 26, 2010 at 00:43, Eric Vicenti ericvice...@gmail.com wrote:
Hi guys,
I'm the one who posted this job. Jason, lets talk. oDesk probably wont
share an email in fear we will make a deal behind their backs, but you
have mine now.
I would love to get some community advice and make
Hi Jason,
you need to register there and complete an english language exam and
pass before you're able to apply to jobs
read the odesk help.
On Apr 25, 7:27 am, Jason Brower encomp...@gmail.com wrote:
I tried applying for it, and it didn't do anything. Why can't they just
give me an email.
On 24 April 2010 16:06, mdipierro mdipie...@cs.depaul.edu wrote:
I use a Mac and I am not the only one on the list. All video tutorials
on Vimeo are made with Mac. Including the one that explains how to
deploy on GAE.
I have watched the video and made some progress but both on Linux and
on my
Hi,
Does anyone know and have used ToscaWidgets with web2py ? (http://
toscawidgets.org/ )
Regards,
Lannick
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
Massimo, I know you sent me an email on this but I can't find it so I'll
just reply to the list.
Rocket is dying in this case because the object it has received from
web2py is not a valid WSGI response. A valid WSGI response must be
either a list or generator (Rocket is a little more tolerant and
The definition:
db.define_table(navrae,
Field(begindatum, date, default=None),
Field(einddatum, date, default=None),
Field(gebruiker, string, length=8, notnull=True, default='NULL'),
Field(ipadres, string, length=15, notnull=True, default='NULL'),
Field(datum_van_navraag,
I think
cookie.value.strip('')).items(
On Apr 26, 3:22 am, Rohan yourbuddyro...@gmail.com wrote:
I am trying to fetch some information from cookie
cookie = cookies.get(xyz, )
if not cookie: return None
args = dict((k, v[-1]) for k, v in
cgi.parse_qs(cookie.strip('')).items())
I think we need some debugging. His code is
def hello():
form = SQLFORM(db.easy_test)
if form.accepts(request.vars, session):
request.flash = 'ok'
return dict(form=form)
and web2py returns a list with a string in this case (the generic view
that renders the dict()). I do not
Good tutorial on Redis from Simon Willison:
http://simonwillison.net/static/2010/redis-tutorial/
interesting use of it for session data.
On Mar 17, 6:05 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You can do this also with cache.disk. You can cache any primitive
python structure including
In an html e-mail view I have the following links:
{{=A('View it in your browser',
_href=URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]),
_target=_blank)}}
img src={{=URL(r=request,c='static',f='crm/media/header.jpg')}}
img src=http://www.fitwise.nl/
mock_crm{{=URL(r=request,c='static',f='crm/media/header.jpg')}}
alt=Header width=600 height=192 /
You know the hostname, the email program does not.
On Apr 26, 9:21 am, annet annet.verm...@gmail.com wrote:
In an html e-mail view I have the following links:
On Apr 26, 2:17 am, annet annet.verm...@gmail.com wrote:
I came across this post:
http://groups.google.com/group/web2py/browse_thread/thread/82c1b8cdc1...
... and read paragraph 6.1 and 6.2 of the manual. In paragraph 6.1 the
connection strings reads like:
db = DAL('sqlite://storage.db',
DAL is not doing a keepalive on connections but web2py in trunk will
try 5 times to reopen closed connections.
On Apr 26, 10:21 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Apr 26, 2:17 am, annet annet.verm...@gmail.com wrote:
I came across this post:
My assumption that web2py is returning something other than a list comes
from the traceback. Why would calling:
len(returned_obj)
go into the cgi module if it was a string? Rocket alone does not use
the cgi module at all so the returned object must be related to it
somehow. We know that
On Apr 26, 7:32 am, Johann Spies johann.sp...@gmail.com wrote:
On 24 April 2010 16:06, mdipierro mdipie...@cs.depaul.edu wrote:
I use a Mac and I am not the only one on the list. All video tutorials
on Vimeo are made with Mac. Including the one that explains how to
deploy on GAE.
I have
I cannot reproduce this either. It is not an internationalization
issue. I suspect something else in the code is causing this. We need
to see at the entire code.
On Apr 26, 10:37 am, Timothy Farrell tfarr...@swgen.com wrote:
My assumption that web2py is returning something other than a list
I think GAE uses 8080 as default and I suspect he is using
dev_appserver.
@Johann,
can you walk us step by step in what you do and show more details
about the error you get?
Massimo
On Apr 26, 10:37 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Apr 26, 7:32 am, Johann Spies
Massimo,
Isn't the view being rendered by web2py before it's send to the mail
server?
Regards,
Annet
On Apr 26, 4:27 pm, mdipierro mdipie...@cs.depaul.edu wrote:
img src=http://www.fitwise.nl/
mock_crm{{=URL(r=request,c='static',f='crm/media/header.jpg')}}
alt=Header width=600 height=192
Yes. and the way it is rendered is correct for a web page because the
browser knows the hostname already (since you typed it in to request
the page). The recipient of the email does not.
On Apr 26, 10:46 am, annet annet.verm...@gmail.com wrote:
Massimo,
Isn't the view being rendered by web2py
http://distractable.net/coding/google-appengine-java-vs-python-performance-comparison/
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en
To add to what Massimo said, make sure each page has a unique title
and meta-description. Search engines don't like websites where every
page appears to be identical. Also, don't count on them reading
Javascript. When you view the source of the page, remember that's what
the search engine crawler
On Apr 26, 9:11 am, Johann Spies johann.sp...@gmail.com wrote:
The definition:
db.define_table(navrae,
Field(begindatum, date, default=None),
Field(einddatum, date, default=None),
Field(gebruiker, string, length=8, notnull=True, default='NULL'),
Field(ipadres, string,
On Apr 26, 2010, at 9:01 AM, mdmcginn wrote:
To add to what Massimo said, make sure each page has a unique title
and meta-description. Search engines don't like websites where every
page appears to be identical. Also, don't count on them reading
Javascript. When you view the source of the
On Apr 26, 10:53 am, annet annet.verm...@gmail.com wrote:
Yarko,
Thanks for answering my question:
I host my application at WebFaction, so I won't at a pool_size
argument in the connection string.
The link to the writeup is very useful.
You are welcome, Annet.
I'm glad you found the
On Apr 26, 11:00 am, mdipierro mdipie...@cs.depaul.edu wrote:
http://distractable.net/coding/google-appengine-java-vs-python-perfor...
... interesting; not sure you can draw any specific conclusions, but
note that Groovy is a dynamic language implemented in jvm, dynamic
like Ruby of Python.
Now I understand the problem. When I rewrite the _href:
{{=A('View it in your browser', _href=http://127.0.0.1:8000; +
URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]),
_target=_blank)}}
... the problem is solved. I guess
I have to implement following 4-level menu in my view:
ul class=menu1
lia href=#Level1a/a/li
lia href=#Level1b/a/li
lia href=#Level1c*/a
ul class=menu1
lia href=#Level2a*/a
ul class=menu1
lia href=#Level3a*/a
ul
On Apr 26, 2010, at 9:41 AM, annet wrote:
Now I understand the problem. When I rewrite the _href:
{{=A('View it in your browser', _href=http://127.0.0.1:8000; +
URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]),
Hi guys,
I am developing an sms-to-web advertising platform and I am having
some problems, here is how it works. Interested website/blog owners
register on the platform,then any visitor to that website can then
text a 140 character advert to a short code, the user's prepaid
account gets deducted,
You can do jsonp (http://bob.pythonmac.org/archives/2005/12/05/remote-
json-jsonp/) but I am not sure it solves the same prpblem you want to
solve.
On Apr 26, 3:41 pm, Pystar aitoehi...@gmail.com wrote:
Hi guys,
I am developing an sms-to-web advertising platform and I am having
some problems,
So Mdipierro,
What do you suggest I use?
On Apr 26, 10:06 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You can do jsonp (http://bob.pythonmac.org/archives/2005/12/05/remote-
json-jsonp/) but I am not sure it solves the same prpblem you want to
solve.
On Apr 26, 3:41 pm, Pystar
I'm sorry to wast your time Massimo.
I tripled check and I found it.. My browser was crazy.
On Apr 24, 3:02 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I am very perplexed. There is not check about word length in gluon/
translate.py. I tried and it works for me. Can you please try again?
On
Hi,
in the web2py official book, in the image blog example,
Could anyone help explain what the following line mean?
image = db(db.image.id==request.args(0)).select()[0]
I duplicate the same code but I find URL
htttp://127.0.0.1:8000/images/default/show
gives me an error, index out of range
How
On Apr 26, 4:38 pm, frankz frank.zhu.min...@gmail.com wrote:
Hi,
in the web2py official book, in the image blog example,
Referring to http://web2py.com/book/default/section/3/6?search=image+blog
Could anyone help explain what the following line mean?
image =
did you look at your controller/menu.py file?
You should be able to see how to generate this dynamically;
On Apr 26, 12:31 pm, Julius Minka j...@minka.sk wrote:
I have to implement following 4-level menu in my view:
ul class=menu1
lia href=#Level1a/a/li
lia href=#Level1b/a/li
lia
... sorry - I meant models/menu.py, of course...
On Apr 26, 12:31 pm, Julius Minka j...@minka.sk wrote:
I have to implement following 4-level menu in my view:
ul class=menu1
lia href=#Level1a/a/li
lia href=#Level1b/a/li
lia href=#Level1c*/a
ul class=menu1
lia href=#Level2a*/a
I will get a easier life with iframes because you completely decouple
embedding page with the embedded content so you will have complete
control on the latter.
On Apr 26, 4:23 pm, Pystar aitoehi...@gmail.com wrote:
So Mdipierro,
What do you suggest I use?
On Apr 26, 10:06 pm, mdipierro
No problem. It is always better to check.
On Apr 26, 5:16 pm, Francisco Costa m...@franciscocosta.com wrote:
I'm sorry to wast your time Massimo.
I tripled check and I found it.. My browser was crazy.
On Apr 24, 3:02 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I am very perplexed. There
Something like
def build_menu()::
root=0 # assumes the root has parent_id=0
keys={root:UL()}
items=db(db.category.id0).select(orderby=db.category.parent_id|
db.category.name)
for item in items:
keys[item.id]=ul=UL()
say you have:
db.define_table('paper',Field('image','upload'))
db.define_table('tag',Field('paper',db.paper),Field('keyword'))
then you will have an action like:
def index():
paper=db.paper[request.args(0)]
response.meta.keywords=','.join([tag.keyword for tag in
Had:
Field('content', 'text', length=1500, requires=IS_NOT_EMPTY(),
label='Gripe'),
and then tried:
Field('content', length=1500, requires=IS_NOT_EMPTY(),
label='Gripe', type='text'),
in both cases I get no 'new line' characters.
(running 1.76.5)
On Apr 23,
50 matches
Mail list logo