[google-appengine] Find for a file multiple static dirs in order

2008-12-30 Thread Mir Nazim

Hi guys,

I need to create an overriding effect for themes. Is it possible to
specify a list of directories to look for stylesheets/icons etc in
order.
For example first look for style.css in the theme folder, if not found
then look in other directories in the list.

I hope, I was able to make things bit clear.

Thanks

-- 
Mir Nazim
Cell: +91 9469071855
Blog: http://saunzal.org
Company:http://www.ikraftsoft.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Discussion on google-app-engine-open-source-projects

2008-12-30 Thread husayt

It would be nice to include ratings (stars) for these projects and be
able to re-sort them by different criterias. I think it is also a time
to put the content of this pageto a separate site simillar to App
Gallery.

You could call it GAE open source gallery.
Or another easy way, is just to create Open Source category in App
Gallery and move everything there.

Thanks,
Huseyn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: How do you debug?

2008-12-30 Thread dalenewman

It this the tutorial you're talking about?:

http://www.ibm.com/developerworks/opensource/library/os-eclipse-mashup-google-pt1/

It's pydev and eclipse - and it's been working great for me.  I would
highly recommend this approach - but I am interested in knowing if
there are any other free solutions.

Dale

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: 1 application, multiple datastores

2008-12-30 Thread hawkett

 The system in this case is the combination of the GAE platform and
 an application running on said platform.

No, I would prefer GAE to implement the system completely, using
existing elements.  How?  In app.yaml, you specify that your
application supports mapping multiple google apps user spaces to your
app.  Currently it only allows one.  This is an application
marketplace type concept.  When my app is added, a new data partition
is created for their users.  Most importantly I am the administrator
of the app and all of the data partitions - this is different to
deploying my app to their GAE account - it still resides in my
account, and the customer has no administrative rights beyond what I
give the in my application code.  I need only have one app deployed.

With this model, registration, user provisioning, authentication and
data partitioning are all handled external to my application code
using building blocks that are already present in the GAE offering.
The only change to my application code from right now is an entry in
app.yaml.  It's not even particularly complicated - especially for me,
the application developer.  I can imagine implementations that don't
even require the app.yaml entry.

I'll admit (as I'm sure you will) that this thread has led me to think
more deeply about the implementation of the use case from my original
post, but the above is not excessive, and is much preferable to
application code.  It would allow some great additions, such as a
common billing and payment engine - something most app developers
would love to have taken off their plate.

Yet another feature this would allow - version migration for
customers.  I deploy separate versions of my app, and have the ability
to move customer data partitions between app deployments.  An obvious
use case is that some customers may be happy to try new features in
beta, others may want to wait for release versions.  It is worth
noting that google apps essentially supports this feature currently
with the checkbox indicating that you want the latest features.

These are all major development efforts that carry significant risks
to your customers, and are mostly diversions to core creative
application development.  Common use cases should be moved to the
platform layer, freeing the developer to actually build their
application.  This, I think, is a good summary of the stated goals of
GAE platform.

I'll add the above implementation as a suggestion to 945 to clear up
any misunderstanding about platform vs application.

 The GAE security architecture is not based on not allowing cross data
 store queries.  It's based on authenticated access to partitioned
 datastores, which is a very different thing.

I did say -

'...security architecture of GAE is based on trustable external
authentication, data partitioning, mapping that data partition to the
authenticated entity, and not allowing cross data store queries'

I realise they are different things, that's why I listed them
separately.  As it stands GAE does not allow cross data store queries,
and from my perspective that is an aspect of the security
architecture.  106 wants that aspect 'relaxed'.

While I don't think GAE will implement cross data store queries using
the data API (I still think exposing an application API to access said
data, or supporting one data partition for many apps is the right
choice), a possible implementation that would be acceptable to me is
adding an entry to app.yaml specifying how strict data partitioning
should be for an application. For my use case I would choose the
strictest option, and for yours something less so.  It's not ideal, as
an error in app.yaml could lead to the cited bug, but the risk profile
much less, and more easily auditable.

On Dec 30, 12:53 am, Andy Freeman ana...@earthlink.net wrote:
  'The system spawns a virtual instance of the app - or at least allows
  mapping a single datastore partition to the authenticated entity.  You
  coudl extend it by allowing multiple datastores per authenticated
  entity and choosing the appropriate one at authentication time.'

  I haven't mentioned application code at all.  If you have interpreted
  'the system'' to mean my application code, then I think you are being
  disingenuous.

 The system in this case is the combination of the GAE platform and
 an application running on said platform.

  What's the point of a feature request for my own application code?

 Oh really?  The reason that this requires a feature request is that it
 isn't (currently) possible for an application running on GAE to
 request the creation of another datastore.  (One could call an outside
 agent to request another application, but )

  Do you support request 106?

 Yes.

  Do you oppose 945?

 Not sure.

  At the moment, I am getting the idea you support 106,
  but not the implication that it would support queries across
  datastores.

 106 allows an application to access multiple datastores, so why would
 I think that 

[google-appengine] Re: 1 application, multiple datastores

2008-12-30 Thread Andy Freeman

 No, I would prefer GAE to implement the system completely, using
 existing elements.

I was unaware of the weight that your preferences have.

I note that your implementation requires new elements, namely
additions to app.yaml.

 It would allow some great additions, such as a
 common billing and payment engine - something most app developers
 would love to have taken off their plate.

There are lots of other implementations that have that property, as
well as the others described below.

 As it stands GAE does not allow cross data store queries,
 and from my perspective that is an aspect of the security
 architecture.  106 wants that aspect 'relaxed'.

How do you know how the current GAE code actually works?

One possible implementation that satisfies every currently observable
behavior involves an open datastore routine that is passed the name
of the relevant datastore and called by Google code that lives in
application space.  This routine returns a token that is used by every
datastore access routine.  (A given process may access the datastore
on behalf of urls that require login as well as ones that don't so
whatever mechanism connects a process to a datastore probably does not
require any user credentials.  However, open datastore may use app-
specific credentials baked into the application by google's set up
code.)  There are a number of places where open datastore could be
called.

106 or any of the variants that I've mentioned would merely make open
datastore available through some appropriate safeguards and would be
just as secure as the current system.

I don't know Google's code either, but it is generally believed that
BigTable is used in many internal Google applications.  The easy way
to make BigTable available to applications is via such a routine
called by application-space code.  To the extent that GAE's datastore
is just a BigTable wrapper


On Dec 30, 6:17 am, hawkett hawk...@gmail.com wrote:
  The system in this case is the combination of the GAE platform and
  an application running on said platform.

 No, I would prefer GAE to implement the system completely, using
 existing elements.  How?  In app.yaml, you specify that your
 application supports mapping multiple google apps user spaces to your
 app.  Currently it only allows one.  This is an application
 marketplace type concept.  When my app is added, a new data partition
 is created for their users.  Most importantly I am the administrator
 of the app and all of the data partitions - this is different to
 deploying my app to their GAE account - it still resides in my
 account, and the customer has no administrative rights beyond what I
 give the in my application code.  I need only have one app deployed.

 With this model, registration, user provisioning, authentication and
 data partitioning are all handled external to my application code
 using building blocks that are already present in the GAE offering.
 The only change to my application code from right now is an entry in
 app.yaml.  It's not even particularly complicated - especially for me,
 the application developer.  I can imagine implementations that don't
 even require the app.yaml entry.

 I'll admit (as I'm sure you will) that this thread has led me to think
 more deeply about the implementation of the use case from my original
 post, but the above is not excessive, and is much preferable to
 application code.  It would allow some great additions, such as a
 common billing and payment engine - something most app developers
 would love to have taken off their plate.

 Yet another feature this would allow - version migration for
 customers.  I deploy separate versions of my app, and have the ability
 to move customer data partitions between app deployments.  An obvious
 use case is that some customers may be happy to try new features in
 beta, others may want to wait for release versions.  It is worth
 noting that google apps essentially supports this feature currently
 with the checkbox indicating that you want the latest features.

 These are all major development efforts that carry significant risks
 to your customers, and are mostly diversions to core creative
 application development.  Common use cases should be moved to the
 platform layer, freeing the developer to actually build their
 application.  This, I think, is a good summary of the stated goals of
 GAE platform.

 I'll add the above implementation as a suggestion to 945 to clear up
 any misunderstanding about platform vs application.

  The GAE security architecture is not based on not allowing cross data
  store queries.  It's based on authenticated access to partitioned
  datastores, which is a very different thing.

 I did say -

 '...security architecture of GAE is based on trustable external
 authentication, data partitioning, mapping that data partition to the
 authenticated entity, and not allowing cross data store queries'

 I realise they are different things, that's why I listed them
 

[google-appengine] Re: Model field value choices - can the list be generated dynamically?

2008-12-30 Thread Martynas Brijunas

Gents,

I cannot thank you enough for all your help. The community here is
great and makes a n00b like me feel welcome.

Happy New Year!

Best regards,
Martin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Cant able to Upload my app

2008-12-30 Thread amshuhu

Hello developers
  Today i face difficult problem ,i can't able
to upload my modified file ,if i type the command (appcfg.py update /
root dir)it ask email id and password ,i gave but it ask again and
again email and password ,i dont know y this problem occur ,i am in
emergency to move my modification ,could any one help me plz
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] protecting static files

2008-12-30 Thread manuelaraoz

Hi there!

I have a question: Can I upload static files so that some users can
see them but maintaining them hidden for normal web-surfers?

This can be easily done for web pages... but I couldn't figure out how
to do it with files, for they don't have a Request Handler to tweak.
I hope the question is clear.

Thanks in advance,

Manuel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: application wont write to file system. am i reading this right

2008-12-30 Thread dwight Taylor

Geoffrey Spear wrote:
 Did you also notice that applications that aren't written in Python
 won't run at all?  The filesystem is the least of your problems here.

 On Dec 27, 5:22 pm, gom...@gmail.com gom...@gmail.com wrote:
   
 what do they mean by the application can not write data to the file
 system. i have an email application written in c# and in order for it
 to be sent it must temporarily post to which ever server its running
 on in order to relay to its client like so

 strFileName = Path.GetFileName(FileUpload1.PostedFile.FileName);
 // Preced the file name with attachments/ so
 // the file is saved to our attachments directory
 strFileName = attachments/ + strFileName;
 // Save the file on the server
 FileUpload1.PostedFile.SaveAs(Server.MapPath
 (strFileName));
 // Create the email attachment with the uploaded file
 Attachment attach = new Attachment(Server.MapPath
 (strFileName));
 // Attach the newly created email attachment
 Mail.Attachments.Add(attach);

 so would something like this work on theyre end
 
 
   
i was actually aware of that. however because of the information i gave 
im willing to understand. moreover, ive changed my mind (somewhat) im 
.net oriented i do not use linux and i know little about lamp. changing 
now for the temptation of free hosting is like changing my sexual 
orientation for a million bucks. its just not worth it. ill juss wait 
for my azure invite, or pay

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Do I need to escape ? character when writing html code?

2008-12-30 Thread nicklv

Hi,

I'm using self.response.out.write(template.render(path,
template_values))
to write some html code out. In the html code, I have the following

 'http://maps.google.com/staticmap?center='+str(loct)+,+str(loc)
+zoom=13size=400x400maptype=mobilekey=MAPS_API_KEYsensor=true_or_falsemarkers=+str
(loct)+,+str(loc)+,blue

But when I load into the browser, the browser will not show the image
from the above code.
I notice there is sort of a line-break after staticmap?. I'm
suspecting the question mark ? is causing some problem.

Do I need to escape the question mark for the code to work correctly?

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Authorization Tools for App Engine Developers

2008-12-30 Thread edwardgsanc...@gmail.com

We at Cumulo Software are announcing our authorization tools for App
Engine. Cumulo Authorize supplies flexible and powerful authorization
capabilities for App Engine applications. You can easily secure any
web resource with Cumulo Authorize. We supply both server side and
client side tools. It's a drop in solution, and will work with any App
Engine application. We use Cumulo Authorize to secure our own
applications.

Cumulo Software is at http://www.cumulosoftware.com

Ed

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Flex 3 parse xml string from Model.to_xml() Error

2008-12-30 Thread Ishmael

I ended-up building my own xml_to_array() function. turned out to be
rather easy because the model.to_xml() uses such a nice and compact
schema. what language are you using? my function is in PHP if you want
me to post it. otherwise I think you'll be hard pressed to find a
generic utility function that is built to handle GData types.

On Dec 29, 7:51 am, Tony ahw...@gmail.com wrote:
 I am implementing an app, Flex 3 as the GUI via pyamf.

 In a response, return a string by calling model.to_xml() and parse
 the result in flex 3, var data:XML = new XML(resultStr);

 It raised a exception
 TypeError: Error #1083: The prefix gd for element
 gd:postalAddress is not bound.

 Who can tell me that how can I parse the xml ? Thank you

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: How do you debug?

2008-12-30 Thread Antonin Hildebrand

Hello,
I'm new to Python, I've started with Python approx 5 months ago
because of GAE. Promising platform, but when I started, I was unhappy
with the state of the tools around GAE and Python in general.

For log inspection I've created FirePython:
http://github.com/darwin/firepython/tree/master

FirePython I use all the time with GAE and it is a life saver for me.

---
For debugging I've tried almost all free tools
* Eclipse+pydev (too bloated and slow to start the IDE),
* WinPdb (not polished, password protection when attaching debug
session drives me crazy),
* Komodo (unable to setup debugger with GAE SDK),
...
* I'm looking forward to Netbeans Python support in next version

Nothing satisfied me, mainly because I wanted to stay with my favorite
code editor (TextMate) during debug sessions and not starting some
bloated IDE.

I've ended using old pdb in terminal. Unfortunately I was unable to
setup code completion at least. I've tried to mess with pdb sources,
but it felt to me like bunch of crap and without debugger to debug it
I was quite lost :-)

I was so frustrated, that I've written my own debugger shell on top of
pdb in terminal window. Nicely integrated with TextMate using script
called PdbTextMateSupport.
Here is a screenshot: http://public.hildebrand.cz/termate_and_pdb.png

I'm quite new to OSX. I've taken this as a training. I've learned
MacRuby + Cocoa and have written this terminal sniffer in Ruby. This
debugger shell has less than 1000 LOC and does just bare minimum. I've
created TextMate bundle for keyboard shortcut to step the code.

It has some rough edges, but I'm quite happy with this solution. It
works for me, but it is not public ready. Basicaly it is just a
weekend hack. I have no extra energy to make this into proper open-
source project with decent support.

If you are interested in sources ...
http://github.com/darwin/termite.pdb/tree/master

Fork it or leave it :-)

Best wishes for 2009 and hope for better tools for Python and GAE.
Antonin

On Dec 29, 12:04 am, Chen Harel chook.ha...@gmail.com wrote:
 Does anyone here have a simple way to breakpoint your code?
 I saw a tutorial for PyDev in Eclipse, but what about simpler IDE such
 as ActivePython?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: protecting static files

2008-12-30 Thread Marzia Niccolai
Hi Manuel,

For the static files, you can use the login argument on your static file
handlers.  This can be set either to admin or login required.
http://code.google.com/appengine/docs/configuringanapp.html#Requiring_Login_or_Administrator_Status

-Marzia

On Tue, Dec 30, 2008 at 9:22 AM, manuelaraoz manuelar...@gmail.com wrote:


 Hi there!

 I have a question: Can I upload static files so that some users can
 see them but maintaining them hidden for normal web-surfers?

 This can be easily done for web pages... but I couldn't figure out how
 to do it with files, for they don't have a Request Handler to tweak.
 I hope the question is clear.

 Thanks in advance,

 Manuel
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Authorization Tools for App Engine Developers

2008-12-30 Thread Dave Warnock

At $1,000 per application I imagine you are not expecting to sell many copies!

-- 
Dave Warnock: http://42.blogs.warnock.me.uk

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Authorization Tools for App Engine Developers

2008-12-30 Thread Andrew Badera
Is this list really supposed to serve to advertise commercial products?

Thanks-
- Andy Badera
- and...@badera.us
- (518) 641-1280
- Google me: http://www.google.com/search?q=andrew+badera



On Mon, Dec 29, 2008 at 9:55 PM, edwardgsanc...@gmail.com 
edwardgsanc...@gmail.com wrote:


 We at Cumulo Software are announcing our authorization tools for App
 Engine. Cumulo Authorize supplies flexible and powerful authorization
 capabilities for App Engine applications. You can easily secure any
 web resource with Cumulo Authorize. We supply both server side and
 client side tools. It's a drop in solution, and will work with any App
 Engine application. We use Cumulo Authorize to secure our own
 applications.

 Cumulo Software is at http://www.cumulosoftware.com

 Ed

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Find for a file multiple static dirs in order

2008-12-30 Thread Marzia Niccolai
Hi Mir,

There isn't any way to map a single URL to multiple handlers in the app.yaml
file, so it is not possible to have a list of matching static directories in
which to check for the file.

The only thing you could do is write a dynamic handler that would map the
URL to a python file that contained logic to match the URL with the correct
file.

-Marzia


On Tue, Dec 30, 2008 at 2:02 AM, Mir Nazim mirna...@gmail.com wrote:


 Hi guys,

 I need to create an overriding effect for themes. Is it possible to
 specify a list of directories to look for stylesheets/icons etc in
 order.
 For example first look for style.css in the theme folder, if not found
 then look in other directories in the list.

 I hope, I was able to make things bit clear.

 Thanks

 --
 Mir Nazim
 Cell: +91 9469071855
 Blog: http://saunzal.org
 Company:http://www.ikraftsoft.com

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Cant able to Upload my app

2008-12-30 Thread Marzia Niccolai
Hi,

What is the error you are getting?  Is it one that indicates you are using
an incorrect password?  You will need to use the same password to upload
your application that you use to sign in to Google Accounts:
http://www.google.com/accounts

Also, make sure you have the correct app id in your app.yaml file.

-Marzia

On Tue, Dec 30, 2008 at 8:56 AM, amshuhu cnja...@gmail.com wrote:


 Hello developers
  Today i face difficult problem ,i can't able
 to upload my modified file ,if i type the command (appcfg.py update /
 root dir)it ask email id and password ,i gave but it ask again and
 again email and password ,i dont know y this problem occur ,i am in
 emergency to move my modification ,could any one help me plz
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: DEADLINE Exceeded Messages ?!

2008-12-30 Thread Brett C.

Sticking with a svn copy of google-app-engine-django and moving over
to a zip file of Django 1.0.2 with stuff removed as specified by the
App Engine article (http://code.google.com/appengine/articles/
django10_zipimport.html) and what app-engine-patch suggested (http://
code.google.com/p/app-engine-patch/wiki/ManualInstallation) worked for
me.

On Dec 29, 12:21 pm, Brett C. bcan...@gmail.com wrote:
 On Dec 19, 12:02 pm, Marzia Niccolai ma...@google.com wrote:

  Hi,

  Most all of the DeadlineExceededErrors seem to be coming from the module
  loading of InstallAppEngineHelperForDjango().

  I'm not intimately familiar with what could be causing the loading of this
  module to always timeout, but perhaps another user has some valuable
  insight?  The only advice I can give is that if you can trim down the number
  of imports being done on these requests you'll probably stop seeing this
  error.

 It's from the loading of google-app-engine-django. I have been getting
 this as well for my project as the loading of the helper also leads to
 the importing of a lot of django code. In my situation I am using a
 fresh checkout of the helper and Django 1.0.2 directly from source in
 my app's directory. I am going to try to see if using a zip file helps
 at all.

 If not it will either require using Django 0.96 as included in the
 SDK, switching to app-engine-patch if it can work under the deadline
 limit, or simply not using any of the Django helper projects.

 -Brett
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: protecting static files

2008-12-30 Thread Jose J

I wonder if you could take advantage of the template render for django
and create a handler for them?  Maybe not even that is required.  Try
using the fileinput method from python and read the file in order to
write it out.  take a look at this example from a href=http://
appengine-cookbook.appspot.com/recipe/zipme-download-sources-of-your-
gae-website-as-a-zip-file/?
id=ahJhcHBlbmdpbmUtY29va2Jvb2tyjgELEgtSZWNpcGVJbmRleCI4YWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUZBc1NDRU5oZEdWbmIzSjVJZ1pRZVhSb2IyNE0MCxIGUmVjaXBlIjlhaEpoY0hCbGJtZHBibVV0WTI5dmEySnZiMnR5RkFzU0NFTmhkR1ZuYjNKNUlnWlFlWFJvYjI0TTgM
zipme recipe/a

lass ZipMaker(webapp.RequestHandler):
def get(self):
if users.is_current_user_admin():
folder = os.path.dirname(__file__)
self.response.headers['Content-Type'] = 'application/zip'
self.response.headers['Content-Disposition'] = \
'attachment; filename=%s.zip' % os.path.basename
(folder)
fid=createZip(folder)
while True:
buf=fid.read(2048)
if buf==: break
self.response.out.write(buf)
fid.close()
else:
self.response.headers['Content-Type'] = 'text/html'
self.response.out.write(You must be admin. Try to login
from %s %
'http://'+self.request.headers
['Host']+users.create_login_url(/zipme))

--JJ

On Dec 30, 11:22 am, manuelaraoz manuelar...@gmail.com wrote:
 Hi there!

 I have a question: Can I upload static files so that some users can
 see them but maintaining them hidden for normal web-surfers?

 This can be easily done for web pages... but I couldn't figure out how
 to do it with files, for they don't have a Request Handler to tweak.
 I hope the question is clear.

 Thanks in advance,

 Manuel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] URL Fetch API --- Does Google log IP addresses to prevent abuses?

2008-12-30 Thread KillIEbrowser

Hi All,
Does Google log IP addresses to prevent abuses?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: URL Fetch API --- Does Google log IP addresses to prevent abuses?

2008-12-30 Thread Barry Hunter

IP addresses of what?

2008/12/30 KillIEbrowser davide.rogn...@gmail.com:

 Hi All,
 Does Google log IP addresses to prevent abuses?

 




-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: need creative idea for admin of GAE app via smtp2web and gmail

2008-12-30 Thread Nash-t

I have added this to issue #165. Please vote for this issue by
clicking the star on the left hand column.

http://code.google.com/p/googleappengine/issues/list


On Dec 29, 1:01 pm, Nash-t timna...@gmail.com wrote:
  Thanks for checking it out.
 -Tim

 On Dec 28, 5:04 pm, nickmilon nickmi...@gmail.com wrote:

  Well ... not real answers from me to your question yet
  but 

  nice application you made

  regards

  Nick

  On Dec 29, 1:47 am, Nash-t timna...@gmail.com wrote:

   I should add that there will be a confirmation email sent in both use
   cases that sends a key in a url. The user will then click that link to
   actually complete the transaction (like user registration systems).

   I'm thinking of making this a feature request. GOOG: the application
   server has several advantages over traditional app servers, one of
   them should be the ability to leverage gmail. (confirmation of source
   of email from gmail, spam filter, hosting of smtp2web type service,
   etc.) Anyone else interested in full gmail integration with their GAE
   application? You can reply to me in private if you prefer.

   Thanks,
   Tim

   On Dec 27, 1:43 pm, Nash-t timna...@gmail.com wrote:

I'd like to allow users to admin theirhttp://smw.appspot.comaccount
via an email sent from their Gmail account. This would satisfy at
least two use cases:
1. bulk addition of users to their smw.appspot.com group. (Gmail is
convenient and familiar because of its contacts interface, etc.)
2. Converting a smw.appspot.com account into a kiosk mode account
with most web services shutoff. All control (including converting
kiosk account back to regular account) is done via email.

But the problem is that email can be so easily faked. Can anyone think
of a way to do this and be sure the email comes from the user's gmail
account? Since it's a gmail email being sent to google appspot you'd
think there would be a way to make this work, no?

TIA, any ideas appreciated.
Tim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Global Application Configuration Data

2008-12-30 Thread slmnhq

Hi,

Some applications have system variables like 'DEBUG_ENABLE',
'MAP_API_KEY', etc that can change the overall behavior of the
application.

What is the best way to represent this data in our application?

One way to do this is have a module that exports this information as
variables. This works fine if we never need to change this data at
runtime. But what if an admin needs to change a system variable?

Is the answer here to use the datastore? How have other people done
this?

Thanks,
Salman
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] SelfReference back-reference and Entity.to_xml()

2008-12-30 Thread Ishmael

I'm looking for ideas for the best way to get the value of the back-
reference property for an Entity to output when using the Entity.to_xml
() function?

Here is my Model Class:

class Tag(db.Model):
uri = db.StringProperty(required=True)
label = db.StringProperty(required=True)
parent_ = db.SelfReferenceProperty(collection_name=child)
summary = db.StringProperty(multiline=True)
content = db.TextProperty()

When I reference an Entity of this Kind - where I know there is a
value for child - there is nothing in the Entity.to_xml() output to
indicate this. All I really need is the key value from the child
back-reference.

Ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Global Application Configuration Data

2008-12-30 Thread Adam

Put it into your main Python source file.

On Dec 30, 5:36 pm, slmnhq salman@gmail.com wrote:
 Hi,

 Some applications have system variables like 'DEBUG_ENABLE',
 'MAP_API_KEY', etc that can change the overall behavior of the
 application.

 What is the best way to represent this data in our application?

 One way to do this is have a module that exports this information as
 variables. This works fine if we never need to change this data at
 runtime. But what if an admin needs to change a system variable?

 Is the answer here to use the datastore? How have other people done
 this?

 Thanks,
 Salman
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Global Application Configuration Data

2008-12-30 Thread slmnhq


On Dec 30, 6:46 pm, Adam adam.crossl...@gmail.com wrote:
 Put it into your main Python source file.

Won't that cause data coherence issues?

Whenever main.py is imported on a new server, it will assign values
defined in the source code. Right?

What if I want to change those values programatically?

In some systems, such configuration data is stored in an INI file
which is read/written by the admin interface.
In GAE, we cannot access the file system so an INI file is out of the
question.

It seems that the datastore is the only place to put this info. It
will essentially be a single-entity model.

Thanks,
Salman


 On Dec 30, 5:36 pm, slmnhq salman@gmail.com wrote:

  Hi,

  Some applications have system variables like 'DEBUG_ENABLE',
  'MAP_API_KEY', etc that can change the overall behavior of the
  application.

  What is the best way to represent this data in our application?

  One way to do this is have a module that exports this information as
  variables. This works fine if we never need to change this data at
  runtime. But what if an admin needs to change a system variable?

  Is the answer here to use the datastore? How have other people done
  this?

  Thanks,
  Salman
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Configuring Friend Connect

2008-12-30 Thread Chris Roat

Hey Duncan,

Thanks for the pointer.  I've made some progress, but I'm wondering
where to send my RPCs in order to connect with friendconnect?  What
should be the value of the 'url' variable below?

url = '???'
params = {
  'userId': '@me',
  'groupId': '@self',
  }
rpc_body = {
  'method': 'people.get',
  'params': params,
  'id': opensocial.request.generate_uuid(url),
  }
http_request = opensocial.http.Request(url, method='POST',
post_body=rpc_body)
fetcher = opensocial.http.get_default_urlfetch()
http_response = fetcher.fetch(http_request)
if http_response.status == httplib.OK:
  content = http_response.content
else:
  content = 'no good'

On Dec 9, 1:09 am, Duncan kupu...@googlemail.com wrote:
 On Dec 9, 12:56 am, kang areyouloo...@gmail.com wrote: I have not seen any 
 api from google friend connect

 Seehttp://www.opensocial.org/Home

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] NeedIndexError and dynamically created entities

2008-12-30 Thread Elias Athanasopoulos

Hello!

My application needs to dynamically create entities. In short, I am
creating an entity per user, in the fashion:

table = type(name, (UserGeneric,), {})

where UserGeneric is a class with all user properties needed by my
application. So, entities are created at run-time. The problem is that
queries lack of an index, since queries are targeting entities have
been created at run-time. For example if a user joins the application
with name 'foo' a new entity (for example '__foo') will be created,
but every query targeting that entity will fail, since there is no way
to generate an index for it. Is there any workaround?

In another context, I need to reorganize my entities in the live
server using a script. This script is meant to run once, just to copy
records for old tables to new ones. However, I am always getting a
time-out when I am trying to execute the script in the live server.
Any hints?

Thanks in advance.

Regards,
Elias


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: NeedIndexError and dynamically created entities

2008-12-30 Thread Marzia Niccolai
Hi Elias,

You only need indexes for certain kinds of queries, such as those with
inequality filters, or some ancestor queries.  You can run other queries
immediately after a kind is created. Composite index queries can be read up
on here:
http://code.google.com/appengine/docs/datastore/queriesandindexes.html
Also, this article is very helpful:
http://code.google.com/appengine/articles/index_building.html

If you create a kind you believe will need a composite index, you might try
to log the kind and query type, and periodically add those to your
app.yaml.  Please also be aware that there is currently a limit on 100
composite indexes per application.

As for the reorganization script, you will need to write this script to
modify data in batches, probably using some kind of request argument to
indicate the start and end of the batch which you are processing.  You will
need to experiment with the amount of data in one request that you can put()
and delete(), since it depends largely on the size and shape of your data.

-Marzia


On Tue, Dec 30, 2008 at 2:11 PM, Elias Athanasopoulos 
elias.athanasopou...@gmail.com wrote:


 Hello!

 My application needs to dynamically create entities. In short, I am
 creating an entity per user, in the fashion:

 table = type(name, (UserGeneric,), {})

 where UserGeneric is a class with all user properties needed by my
 application. So, entities are created at run-time. The problem is that
 queries lack of an index, since queries are targeting entities have
 been created at run-time. For example if a user joins the application
 with name 'foo' a new entity (for example '__foo') will be created,
 but every query targeting that entity will fail, since there is no way
 to generate an index for it. Is there any workaround?

 In another context, I need to reorganize my entities in the live
 server using a script. This script is meant to run once, just to copy
 records for old tables to new ones. However, I am always getting a
 time-out when I am trying to execute the script in the live server.
 Any hints?

 Thanks in advance.

 Regards,
 Elias


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Store model as different name to class?

2008-12-30 Thread ryan

actually, the recommended way to do this is to override the Model.kind
() class method:

http://code.google.com/appengine/docs/datastore/modelclass.html#Model_kind

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] polish locale in app engine

2008-12-30 Thread konryd

Hello,

I'm having huge trouble trying to sort a list of string with respect
to polish locale. It seems there is no such locale installed in GAE
servers (I'm getting an error: locale not supported). Do you have a
list of all locales available in GAE (I need 'pl_PL.UTF-8')?

Konrad Delong
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: are numeric ids of deleted entities reused?

2008-12-30 Thread ryan

On Dec 20, 11:14 pm, Thomas Johansson prenc...@gmail.com wrote:

 Is this to be interpreted as getting the following, in order, more or
 less? (where the ID/Key is in square brackets)

 /Image[42]
 /Image[127841]

 /Thread[10]/Post[42]
 /Thread[10]/Post[127841]

 E.g. the ID is ever increasing, but only for the current fully
 qualified path?

correct.

 Can we ever experience inserting a record that will have a lower ID than the
 previous?

the others beat me to this answer. :P if the rest of the path is
identical, then it's uncommon, but definitely possible.

 Forgot to ask; How does the key fit into the hierarchy, compared to
 the key_name  id?

i'm not sure i understand this question. a key is composed of app id
and the full path to the entity. key names and ids are components of
paths. feel free to follow up if that doesn't answer the question.

On Dec 23, 10:44 am, Andy Freeman ana...@earthlink.net wrote:

 That's a curious comment.  It suggests that ids may be reused if
 there's another difference in the path.

correct. for example, each of these keys is valid and points to a
distinct entity:

/Post[1]
/Post[1]/Post[1]
/Post[1]/Post[1]/Post[1]
/Post[1]/Thread[1]
/Thread[1]
/Thread[1]/Post[1]
/Thread[1]/Post[1]/Thread[1]/Post[1]
/Thread[1]/Post[1]/Post[1]/Thread[1]

 However, combining that with the statement that there's no reuse for a
 given path is interesting because there's no obvious place for the
 datastore to keep track of what ids it has used.

under the covers, each entity group has its own id namespace that's
used for non-root entities. root entities have their own per-app id
namespace. both namespaces are independent of kind and path
hierarchies (apart from the root entities, since they define entity
groups).

that means that in practice, every id-based root entity has an id
that's across all other root entities, and every id-based non-root
entity has an id that's unique across all other entities in that
entity group.

this is all just implementation details, though! we don't have any
plans to change id allocation right now, and it's unlikely that we
will, but the only hard uniqueness guarantee we provide is that the
full path is unique.

the upshot of all of this is that you generally want to use full keys
whenever possible. bare ids or key names are generally only
interesting or useful when the rest of the path is held constant,
including the kind of the entity in question. that's the only way to
guarantee the key names or ids will be unique.

 Yes, one can store an indicator of what ids have been used (such as
 the last id used) with an entity group, but what happens to that
 indicator when the entity group goes away?  If it is destroyed and
 then recreated when the entity group is recreated, how does the id
 allocator avoid previously used ids?

good question! per-entity-group id namespaces currently live forever.
if all of the entities in a given entity group disappear, and then the
entity group later reappears, ids for new entities in that group will
not be reused.

this is another implementation detail, though, not a hard guarantee!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: App Engine developers in Austin

2008-12-30 Thread warreninaustintexas

Thanks for the info on the Hack-a-thon.  Maybe in the early spring I
can help get one organized.  Sounds fun.

On Dec 29, 11:52 am, Marzia Niccolai ma...@google.com wrote:
 Hi,

 If you are planning on organizing a meet up, you might consider hosting a
 Hackathon In A Box:

 http://sites.google.com/site/hackathoninabox/Home

 -Marzia

 On Fri, Dec 26, 2008 at 11:16 AM, warreninaustintexas 

 warreninaus...@gmail.com wrote:

  Are there any other App Engine developers in Austin, Texas?  I'd like
  to organize a meet-up downtown if there's enough interest.

  Respond back to this post, or e-mail me directly if you are interested.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Getting malformed or illegal request from google staticmap

2008-12-30 Thread nicklv

Hi,

I was wondering if anyone is fetching from staticmap from GAE?
I'm fetching from google staticmap and getting malformed or illegal
request reply.


Below is a snippet of my code. My only guess is that it could be a
problem with
the api key - it contains '-'. Should I escape it?

Appreciate anyone could show some pointers.



urlfields = { 'center': str(rlat) + ',' + str(rlon),
  'zoom' : str(defzoom),
  'size' : str(defsize) + 'x' + str(defsize),
  'maptype': 'mobile',
  'key': mapapikey,
  'sensor': 'false',
  'markers': str(rlat) + ',' + str(rlon)
   }
url = server+ urllib.urlencode(urlfields)
imagemap = urlfetch.fetch(url)
if imagemap.status_code == 200:
self.response.headers['Content-Type'] = 'image/gif'
self.response.out.write(imagemap.content)
else:
logging.debug('Response code != 200')
self.response.headers['Content-Type'] = 'text/html'
self.response.out.write(imagemap.content)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Googe App Engine and Friend Connect...

2008-12-30 Thread benzrad

could some experts drop some comments here, upon my foolish requests?
TIA.


On Dec 16, 10:00 am, bvelasquez bvelasq...@gmail.com wrote:
 I added Google's Friend Connect to my GAE application.  Now, there are
 two sign in steps on my site.  One to authenticate using GAE users and
 the other for Friend Connect.  This is not desirable and I was
 wondering if anyone knew of the method for integrating the two so
 there is only one sign-in.  I should be able to pass the Google
 Authentication through Friend Connect to the GAE application.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] How to get combined API + Runtime in log files?

2008-12-30 Thread Tony Arkles

Hi all.  Maybe I'm missing something obvious here.  In the Admin
Console (on the production servers), I get log lines like:

12-30 12:39PM 36.208 /x 500 552ms 1713ms-cpu 7kb

(with a CPU warning icon next to the 1713ms-cpu).

When I retrieve the log files from app engine, I can't seem to find
either the request time (552ms) or the combined API +
Runtime (1713ms-cpu).  Is there some obvious way to get this
information that I'm just missing?  It would be fantastic to be able
to trend this stuff over time, to identify the overall effects of
changes.

Is there an easy way to get this stuff in bulk?

Cheers
Tony

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Problem with PDF as a static file

2008-12-30 Thread warreninaustintexas

When i use the sample code for image files (from the App Engine
documentation) in my app.yaml file, it works fine:

- url: /(.*\.(gif|png|jpg))
  static_files: static/\1
  upload: static/(.*\.(gif|png|jpg))

When I add pdf as a static file type ...

- url: /(.*\.(gif|png|jpg|pdf))
  static_files: static/\1
  upload: static/(.*\.(gif|png|jpg|pdf))

... it produces a 404 - File Not Found error from the web server.
Does anyone know how to configure app.yaml for pdf documents?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Cant able to Upload my app

2008-12-30 Thread jai kumar
Thanks marzia ,
   Problem occur in my PC ,and thanks for replay me

On Tue, Dec 30, 2008 at 11:29 PM, Marzia Niccolai ma...@google.com wrote:

 Hi,

 What is the error you are getting?  Is it one that indicates you are using
 an incorrect password?  You will need to use the same password to upload
 your application that you use to sign in to Google Accounts:
 http://www.google.com/accounts

 Also, make sure you have the correct app id in your app.yaml file.

 -Marzia


 On Tue, Dec 30, 2008 at 8:56 AM, amshuhu cnja...@gmail.com wrote:


 Hello developers
  Today i face difficult problem ,i can't able
 to upload my modified file ,if i type the command (appcfg.py update /
 root dir)it ask email id and password ,i gave but it ask again and
 again email and password ,i dont know y this problem occur ,i am in
 emergency to move my modification ,could any one help me plz



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Quick query - Powered by appengine logo

2008-12-30 Thread Gareth Nelson

Is this a requirement to place on the site or can one simply put some
text or not mention app engine at all?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Global Application Configuration Data

2008-12-30 Thread James Leskovar

What about the memcache? Data stored in memcache can be accessed by  
different instances
of your webapp. If you don't specify an expiry time, they'll persist  
forever, until
there's significant load on the cache.

http://code.google.com/appengine/docs/memcache/

On Wed, 31 Dec 2008 09:36:26 +1100, slmnhq salman@gmail.com wrote:


 Hi,

 Some applications have system variables like 'DEBUG_ENABLE',
 'MAP_API_KEY', etc that can change the overall behavior of the
 application.

 What is the best way to represent this data in our application?

 One way to do this is have a module that exports this information as
 variables. This works fine if we never need to change this data at
 runtime. But what if an admin needs to change a system variable?

 Is the answer here to use the datastore? How have other people done
 this?

 Thanks,
 Salman
 



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Quick query - Powered by appengine logo

2008-12-30 Thread Dan Sanderson
There is no requirement to mention Google App Engine in your App Engine
application.
-- Dan

On Tue, Dec 30, 2008 at 5:17 PM, Gareth Nelson gar...@garethnelson.comwrote:


 Is this a requirement to place on the site or can one simply put some
 text or not mention app engine at all?

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---