I tried using GAE mail class directly and it worked without the need
to use blobstore. I just passed the filename and stream.getvalue() in
the attachment tuple and it worked.
Thanks a lot everyone for your suggestions.
No, there is no stacktrace in the logs only the warning. Also I have
tried passing the stream as payload but I get an error there as well.
Its stacktrace is:
File "/base/data/home/apps/s~app-id/1.357014326405166801/applications/
abc/controllers/xyz.py:download", line 384, in report_download
Fil
On Feb 23, 11:57 am, Christian Foster Howes wrote:
> do you have a full stack trace with that and a code sample? I've never
> tried to do this myself, but perhaps i can help debug.
>
> On 2/22/12 22:55 , Saurabh S wrote:
>
>
>
> > Yes I m using GAE blobstore. I a
Yes I m using GAE blobstore. I am sending the blob reader as payload
and a filename. I m getting this error:
"'Int' object has no attribute lower".
Can you please suggest what might be the reason behind it?
On Feb 23, 1:03 am, howesc wrote:
> by blobstore you mean you are running on GAE using t
data with it.
>
> Here is the API documentation for the Mail
> feature:http://www.web2py.com/examples/static/epydoc/web2py.gluon.tools.Mail-...
>
> On Feb 22, 6:25 am, Saurabh S wrote:
>
>
>
> > I have a google app engine application developed using web2py
> > fram
I have a google app engine application developed using web2py
framework.
I have stored the files in blobstore and I am mailing the link to the
user. Since I need to perform the delete operation every time(delete
all the files from blobstore) and add a new file to the blobstore,
except for the late
r Howes wrote:
> what is the error in the logs when the task fails? what is the URL
> shown in the task list? something is either amok with the URL itself,
> or something is causing that function to fail when called via the task
> queue.
>
> On 2/13/12 20:05 , Saurabh S wrote:
Is it possible to attach a csv in mail in web2py without providing
path?
I have these 2 methods for generating csv:
def report_download(result, colnames):
import cStringIO
stream = cStringIO.StringIO()
render_report_csv(stream, result, colnames=colnames)
filename = '%s-%s-%s.csv'
I have an online application deployed on google cloud.
I have used web2py framework to develop the application.
I have 2 tables the auth_user table and tasks table.Both of them have
more than 1000 records each.The tasks table contains person_id field
which stores the id's in auth_user table
I ne
It worked when I passed a different controller in the url other than
the one it is being called from.
It is production.
I checked the task queue it simply retries continuously if the same
controller is provided.
No params is not a mandatory argument to takqueue.add() I guess.
Because it does not t
I have an application on google app engine.
I have used web2py framework to develop the application
I have a module in which I need to fetch the records from 3 tables and
the final set of records contain data from all the 3 tables.
Here each of my tables contain more than 1000 records so when I
Omi, We tried the solution that you have mentioned using join provided
by web2py, it works fine on local server.
But when we run it in google appengine sandbox or deploy it using
google app engine it gives the error "Too many tables in the query".
Is there a solution to resolve this? Is there any
Hi , i am developing an online booking system in web2py on GAE.
The problem that i am facing is when i create an entity (client/
volunteer/employee) in my system , i store a random password in the db
(auth_random_password()) and 'pending' in the registration key
initially. but when i enable the lo
Hi,
I am developing an online booking application in python using web2py
framework on google app engine.
I have two tables, one is users table and other is activities table.
My users table contains user id for each record and my activities
table contains user id for whom an activity has been cre
Hi,
I am developing an online booking system. one of the functionality
that i have implemented is to generate reports by gathering the data
from two or more different tables. the problem that i am facing is due
to large number of records (greater than thousand) , i was unable to
render all the rec
Hi ,
I have a table in my application , i have an image colomn in that
table which stores images.
when i export the table via /appadmin, the image field appears to
be broken/in some format which is not readable.
How can i export the image as it is (in the same format is it was
stored) ?
Please
Hi ,
I have a table in my application , i have stored a image field in one
column of that table.
but when i export the table via /appadmin, the image field appears to
be broken/in some format which is not readable.
How can i export the image as it is ?
Please provide suggestions.
Hi ,
Is there any way possible to log-out the user if browser is closed ?
Please provide suggestions
Hi ,
Is there any way possible to log-out the user if browser in closed ?
Please provide suggestions
can write "
auth.settings.expiration=1800" to enable log out after idle
time...please reply...thanks in advance
On Dec 7, 9:34 am, Anthony wrote:
> On Tuesday, December 6, 2011 10:27:42 PM UTC-5, Saurabh S wrote:
>
> > Hi ,
>
> > I am developing an online booking syst
Hi ,
I am developing an online booking system in web2py framework.
1. I want to have the functionality where a user will be logged out
after some time(say 1 hour) if the system remains idle.
2. The user will be logged out if the browser window is closed
Please suggest what are the possible w
Thanks Massimo :)
On Dec 6, 9:18 am, Massimo Di Pierro
wrote:
> jQuery('#tablename_fieldname').keyup(function()
> {this.value=this.value.replace(/[^ 0-9]/g,'');});
>
> On Dec 5, 9:46 pm, Saurabh S wrote:
>
>
>
>
>
>
>
> >
Hi i have used custom form in my application
example:
{{=form.custom.label.mobile}}:
{{=form.custom.widget.mobile}}
{{=form.custom.label.email}}:
{{=form.custom.widget.email}}
I need a javascript/jqeury function to allow spaces and numbers o
Hi ,
I have two controllers namely REGISTRATIONS and EVENTS , i have
calender in my application.
values and the data are printed on the calender via EVENTS controller.
I have come across a requirement where i need to have a variable who's
value is determined in the REGISTRATION controller is to b
Hi ,
i used inbuilt import function provided by web2py on GAE but after
import my id's in the table were changing so i opted for BULKLOADER to
perform import via command line (i want id's in the datastore table to
be same as they are in the file)
1. while importing a file via command line i am ge
---
Saurabh S wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-4d6c4a2f3-0feaf224bf-Oir9iudbwgceMu0GRBc4DXQyDAI
You
Thanks for replying philip,
I will be deploying my code to GAEdatabase will be Google's
datastore...is there any tool available to migrate a data template into GAE
datastore ?
On Thu, Nov 3, 2011 at 2:57 PM, Philip Kilner wrote:
> Hi,
>
>
> On 03/11/2011 09:01, Saurabh
13:36, Saurabh S wrote:
>
>> Questions:
>> 1. What is the correct way to create the CSV file so that the file can
>> be imported using appadmin feature.
>> 2. How to debug the error in case data is not reflected after
>> importing the .csv file?
>> 3. Is t
Hi,
I am facing the problem while importing csv file. Please find the
steps below that i am following.
Step1: Created table headers(cloumns) in the excel file EXACTLY
SIMILAR to those which are present in the database table
Step2: Inserted some dummy data as rows in the columns. All the
validatio
Hi ,
Step1: Created table headers(cloumns) in the excel file EXACTLY
SIMILAR TO THOSE which are present in the database
Hi , is it possible to built a module in the application itself to
have a functionality of import and export , just like /appadmin ?
i.e. can we have a button in our application on click of which we can
import/export the data ?
Hi ,
I have deployed single app to two different instances , i want to
have
some of the data to be common in both the system so i exported the
data in csv from one app and added some data manually into the same
csv then tried to add this csv to another app via import...but this
is
not workingbu
Hi ,
I have deployed single app to two different instances , i want to have
some of the data to be common in both the system so i exported the
data in csv from one app and added some data manually into the same
csv then tried to add this csv to another app via import...but this is
not workingbu
Hi , i am developing an online booking system using web2py ...i have
come across a requiremnt where i need to store the clients photo into
the database(< 2MB)...how should i proceed with this .i
have achieved the functionality to store a image into the database
when i create a perticu
hi thanks for you reply...please tell me how can i store the path of image
into the databse and actuall image image on the file system ?...i mean what
would the field in database.if i go with this approach will i be able to
view the same image when i edit a perticuler client...please reply
On
Hi , i am developing an online booking system using web2py ...i have
come across a requiremnt where i need to store the clients photo into
the database(< 2MB)...how should i proceed with this .i
have achieved the functionality to store a image into the database
when i create a perticu
Hi , i am developing an online booking system using web2py ...i have
come across a requiremnt where i need to store the clients photo into
the database(< 2MB)...how should i proceed with this .i
have achieved the functionality to store a image into the database
when i create a perticu
Hi , i am developing an online booking system using web2py ...i have
come across a requiremnt where i need to store the clients photo into
the database(< 2MB)...how should i proceed with this .i
have achieved the functionality to store a image into the database
when i create a perticu
Hi , i am developing an online booking system using web2py ...i have
come across a requiremnt where i need to store the clients photo into
the database(< 2MB)...how should i proceed with this...i mean what
should be the field in databasehow i can populate a select image
box so that user/admin
{{=form.custom.submit}}
i want to replace on-click function with something that always
redirects me to my home pagesuppose my home page is
http://127.0.0.1:8000...how
it would be possible
please suggest...
thank you all
On Oct 12, 7:37 pm, Vinicius Assef wrote:
> But not '*', '%' and so on. hehehe
>
>
>
>
>
>
>
> On Wed, Oct 12, 2011 at 10:00 AM, Anthony wrote:
> > Yeah, that's probably better for names. Names can include hyphens as well.
>
> > On Wednesday, October 12, 2011 8:56:35 AM UTC-4, spyk
hi i am developing a system in which i require a validation on name
field...validation shoould be : the field should not accept
numbers ...it should only accept alphabets...i know this is possible
using IS_MATCH in web2py...i tried using
db.organisations.name.requires=[IS_MATCH('^[a-z]',
error_mess
how i am developing a system in which i require a validation on name
field...validation shoould be : the field should not accept
numbers ...it should only accept alphabets...i know this is possible
using IS_MATCH in web2py...i tried using
db.organisations.name.requires=[IS_MATCH('^[a-z]', error_m
hi , i am developing the configurable system for four clients . i want
the code should be deployed on the single instance and should support
the diffrent features depending upon who is logged in...also there
should be a single database for all the clients..in order to impliment
multi tenecy i tried
sorry i didnt get youcould you please elaborate this ...
On Oct 6, 6:47 am, Massimo Di Pierro
wrote:
> Why not run the app directly there? Perhaps an app that simply exposes
> the service.
>
> On Oct 5, 6:29 pm, Saurabh S wrote:
>
>
>
>
>
>
>
> >
Hi , i am developing an application for GAE in python using web2py
frameworki have come across a requirement where i need to
import and export the data from CSV or XML files into the google
datastorei was able import and export the data from the command
line..but i want this to be done on c
Hi , i am developing an application for online booking system.i
have come across a requirement where i nedd to automatically import
and and export data to/from google datastore i know this is
possible from command line...but i wanted to have this
automizedcan i have a link or a button i
47 matches
Mail list logo