OK, I created a minimal scenario for reproducing the error:
append these lines to the welcome db.py, create test.jpg in root folder and
deploy directly to GAE:
db.define_table('table1',
Field('image', 'upload'),
)
db.table1.insert(image = open('test.jpg', 'rb'))
Then call welcome/appadmin
Yes. That is what I meant. I even chased down the call in the code to see
where you got it.
Tried this in a console and it works, I could not reproduce the error.
# myfile is an open file object
file_id=db.mytable.insert(myupload=db.mytable.myupload.store(myfile,
Hi
I am firing Ajax calls from a webpage. If any AJAX call hangs in between
then the others also hangs until the hanged AJAX returns. Is this a Web2py
Bug or my applications bug
Below is my code:
{{extend 'layout.html'}}
script type=text/javascript
setInterval(test1,1000);
function
Good point. But in my point of view you wont use record versioning at all
your tables, just in the ones that have sensitive data. And yet, you dont
use ondelete cascade in all tables too... I still think record versioning
should have this standard behaviour.
On Sunday, February 3, 2013 1:14:21
db.define_table( 'event', (info, 'list:string', default=[]) )
events=db(db.event.info.contains( ['red', 'blue'] )).select() - returns
events if 'Red' or 'Blue' in event.info. But I need case sensitive cross
search of two lists.
In the book it says that .like has case_sensitive=True option.
I'm in search of a team to help me build an app, one that can potentially
compete with Facebook Twitter and Google, and possibly even Youtube
depending on how people use it. I don't know where to start from to search
for people familiar with web2py to help me so I was thinking maybe the
google
By default, the session file is locked upon each request, so a new request
from the same client is blocked until the previous request is completed and
the session file is unlocked (see
herehttp://web2py.com/books/default/chapter/29/04#session).
To avoid this problem, you can do one of the
Bump, one more try
On Sat, Feb 2, 2013 at 12:07 PM, Marin Pranjić marin.pran...@gmail.comwrote:
Hello,
I am using this http://code.google.com/p/python-linkedin/ as a linkedin
api but I don't like it. I guess the API has changed and it's not
maintained anymore. Is there a better one?
throwing Uncaught ReferenceError: CodeMirror is not defined
On Saturday, February 2, 2013 8:51:58 PM UTC-5, Niphlod wrote:
then try to install firebug in firefox and turn on the console to see the
error in javascript (there should be one)
On Saturday, February 2, 2013 8:24:13 PM UTC+1,
do you have an application/admin/static/codemirror folder with some files
and folders in it ?
On Sunday, February 3, 2013 6:48:46 PM UTC+1, JFroles wrote:
throwing Uncaught ReferenceError: CodeMirror is not defined
On Saturday, February 2, 2013 8:51:58 PM UTC-5, Niphlod wrote:
then try to
Yep. Before the CodeMirror error its also giving:
Uncaught SyntaxError: Unexpected token :
the error is pointing to codemirror.js line 1523 which is showing up as
this.
1517 function TextMarker() { this.set = []; }
1518 TextMarker.prototype.clear = operation(function() {
1519 var min =
Please open a ticket about this and we will look into alterantives.
On Sunday, 3 February 2013 07:38:22 UTC-6, Andriy wrote:
db.define_table( 'event', (info, 'list:string', default=[]) )
events=db(db.event.info.contains( ['red', 'blue'] )).select() - returns
events if 'Red' or 'Blue' in
Hi All, I now this should have been probably answered before but I wasn't
able to find a solution and since I'm newbie I'm not able to understand why
this is not working as I expect.
I've tried many things and now I'm giving up after trying to simulate the
Movuca schema which I liked.
Here's
how to simulate a join in google app engine using web2py
--
---
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
first post updated with latest version.
Il giorno venerdì 1 febbraio 2013 21:21:28 UTC+1, Massimo Di Pierro ha
scritto:
Can you post a link to the latest?
On Thursday, 31 January 2013 08:31:53 UTC-6, Paolo Caruccio wrote:
first post updated: replaced following files
db_diagram.html
Can i have an example of the full code... like replace your_html with an
example code
On Sunday, 3 February 2013 03:16:30 UTC, Massimo Di Pierro wrote:
{{form gluon.contrib.autolinks import expand_html}}
{{=XML(expand_html(your_html),cache.ram('mycachekey',lambda:dict(),3600)}}
will do what
https://hub.turnkeylinux.org/amazon/launch/web2py/
--
---
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,
{{extend 'layout.html'}}
{{html =
Did you watch this video?br/
http://www.youtube.com/watch?v=HEheh1BH34Q
}}
{{form gluon.contrib.autolinks import expand_html}}
{{=XML(expand_html(your_html),cache.ram('mycachekey',lambda:dict(),3600)}}
On Sunday, 3 February 2013 17:40:59 UTC-6, sasogeek
type 'exceptions.RuntimeError' Missing BeautifulSoup
On Monday, 4 February 2013 00:02:17 UTC, Massimo Di Pierro wrote:
{{extend 'layout.html'}}
{{html =
Did you watch this video?br/
http://www.youtube.com/watch?v=HEheh1BH34Q
}}
{{form gluon.contrib.autolinks import expand_html}}
Yes. I forgot.
Assuming you are running web2py from source you need to...
easy_install beautifulsoup
On Sunday, 3 February 2013 18:54:25 UTC-6, sasogeek wrote:
type 'exceptions.RuntimeError' Missing BeautifulSoup
On Monday, 4 February 2013 00:02:17 UTC, Massimo Di Pierro wrote:
{{extend
I can't find any way around this and it looks like this is not the desired
behavior for the grid breadcrumbs. One option is to change my field name
but that renders the label property not needed.
Is there are way to control or modify the breadcrumbs?
On Saturday, February 2, 2013 2:15:48 PM
Is installing beautiful soup all I need to do? cos I still get the same
error after installing it...
On Monday, 4 February 2013 01:09:12 UTC, Massimo Di Pierro wrote:
Yes. I forgot.
Assuming you are running web2py from source you need to...
easy_install beautifulsoup
On Sunday, 3
When I change data in auth_user.first_name for example that data doesn't change
in the auth.user.first_name.
In otherwords, it seems that when I make a change to a users settings in the
database that information is not updated in auth.user.
Is this the correct behavior?
BR,
Jason Brower
--
I copied the text from the web2py book online. It should say that they
user is then logged in. At least for me it needed to be more descriptive.
BR,
Jason
On Saturday, January 19, 2013 5:22:11 PM UTC+2, Massimo Di Pierro wrote:
Where do you read that comment? login_bare does login the user
I personally use scribes. Bluefish, it's been ages since I have ever used
that beast. :) It's just interesting to see people coding online now and
that web2py is already kinda there. :)
BR,
J
On Thursday, January 31, 2013 2:26:45 PM UTC+2, Johann Spies wrote:
On 31 January 2013 13:03,
When I change some data in db.auth_user[auth.user.id].update(bla=bla)
I don't get the changes in auth.user.bla.
Is this the expected behavior? Kind of a bummer as I would have to quiry
the user quite often to make sure things are correct. In my application the
users data changes quite a bit. I
db.auth_user[auth.user.id] is a Row object, so the .update() method is just
updating that object. If you want to update the db, use the
.update_record() method (see
http://web2py.com/books/default/chapter/29/06#update_record), or do:
db.auth_user[auth.user_id] = dict(bla=bla)
or
But that text is preceded by:
Some times you want to implement your own logic and do manual user login.
This can also be done by calling the function:
user = auth.login_bare(username,password)
To me, that says you can do a manual user login by calling
auth.login_bare() (the method name is
Yes, that's true. auth.user is stored in and read from the session.
On Sunday, February 3, 2013 9:56:21 PM UTC-5, encompass wrote:
When I change data in auth_user.first_name for example that data doesn't
change in the auth.user.first_name.
In otherwords, it seems that when I make a change to
Are you running web2py from source or using one of the binaries (the
binaries include their own Python interpreter, so libraries installed in
your local Python installation will not be available to web2py)?
Anthony
On Sunday, February 3, 2013 9:40:05 PM UTC-5, sasogeek wrote:
Is installing
30 matches
Mail list logo