[google-appengine] Download a doc file from HTML page

2009-05-11 Thread Satyajit p
Hi All,
   I am trying to *download(a href=sample.docdownload/a)* a
word file from html page through python/google apps.But I am unable to do
so.

Can anybody help me on this issue.

Eagerly waiting for an early reply.

Thanks in advance...

Regards,
Satyajit

--~--~-~--~~~---~--~~
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: Download a doc file from HTML page

2009-05-11 Thread 风笑雪
You need specify a url to locate sample.doc in your app.yaml file.
eg:

- url: /sample\.doc
  static_files: static/sample\.doc
  upload: static/sample\.doc

And put sample.doc in static folder.

http://code.google.com/intl/zh-CN/appengine/docs/python/config/appconfig.html

2009/5/11 Satyajit p satyajit100...@gmail.com

 Hi All,
I am trying to *download(a href=sample.docdownload/a)* a
 word file from html page through python/google apps.But I am unable to do
 so.

 Can anybody help me on this issue.

 Eagerly waiting for an early reply.

 Thanks in advance...

 Regards,
 Satyajit

 


--~--~-~--~~~---~--~~
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: Download a doc file from HTML page

2009-05-11 Thread Satyajit p
Thanks Keakon for your immediate response.

I have done the changes what U mentioned but its not asking for to download.

Its recognizing the path from YAML file.

Regards,
Satyajit



On Mon, May 11, 2009 at 12:48 PM, 风笑雪 kea...@gmail.com wrote:

 You need specify a url to locate sample.doc in your app.yaml file.
 eg:

 - url: /sample\.doc
   static_files: static/sample\.doc
   upload: static/sample\.doc

 And put sample.doc in static folder.


 http://code.google.com/intl/zh-CN/appengine/docs/python/config/appconfig.html

 2009/5/11 Satyajit p satyajit100...@gmail.com

 Hi All,
I am trying to *download(a href=sample.docdownload/a)* a
 word file from html page through python/google apps.But I am unable to do
 so.

 Can anybody help me on this issue.

 Eagerly waiting for an early reply.

 Thanks in advance...

 Regards,
 Satyajit




 


--~--~-~--~~~---~--~~
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: SearchableMultiQuery

2009-05-11 Thread Nick Johnson (Google)

Hi Joshua,

MultiQuery is there to facilitate queries where a single user query
requires multiple datastore-level queries. The most common examples
are 'IN' and '!=' queries. The reason ext.search extends this is to
support fulltext search in conjunction with other filters that require
multiple datastore queries.

-Nick Johnson

On Mon, May 11, 2009 at 6:20 AM, joshuacronemeyer
joshuacroneme...@gmail.com wrote:

 I recently noticed the SearchableMultiQuery class has been added to
 google.appengine.ext.search.  When I first saw the class name I got
 excited because I thought it might be a workaround for the exploding
 index problem that SearchableModel has (ie. being able to run a n
 keyword search required n indexes).

 Unfortunately it doesn't look like it.  MultiQuery is a class in
 datastore that SearchableMultiQuery is extending.  It is described as
 'Class representing a query which requires multiple datastore
 queries.'  So this seems to solve some more general query problem and
 isn't specific to SearchableModel.

 That said, if anyone can give a good explanation of what MultiQuery is
 all about I'd appreciate it.
 

--~--~-~--~~~---~--~~
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: images, rotation and quality/compression

2009-05-11 Thread Nick Johnson (Google)

I would strongly suggest trying this in production before looking for
any other solution. The SDK uses the Python Imaging Library, which is
not the same as the Images service in production, so I would not
expect the same result.

It's also possible that your image is simply more compressible when
rotated. Are you experiencing actual visual degradation?

-Nick Johnson

On Sun, May 10, 2009 at 4:08 AM, Pindropper Info i...@pindropper.com wrote:

 I am going to post this in the python group too, but I think it may be
 a general engine topic.


 I recently added some image rotation code (using images.rotate)  I put
 in a JPEG and get out a JPEG.

 The image I put in is about 28k, the image I get back is 12k.  Is
 there any way to eliminate this degradation?


 I have ONLY RUN THIS LOCALLY at this point, not on the actual app
 engine runtime in production.

 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] Re: Are all ListProperties implicitly indexed?

2009-05-11 Thread Nick Johnson (Google)

On Sat, May 9, 2009 at 2:24 AM, cocoaghost an0...@gmail.com wrote:

 With Python SDK 1.2.2, now it is possible:
 '''
 Datastore now supports Key-only queries, using either SELECT __key__
 or db.Query(Model, keys_only=True
 '''
 But what's the limit of list size?

Can you clarify what you're asking, exactly? What list size?

-Nick Johnson

 On Mar 23, 4:08 pm, an0 an0...@gmail.com wrote:
 If so, can I explicitly mark a ListProperty not to be indexed?

 I want the list's flexibility for some attributes, but don't want them
 to be indexed, (how) can I achieve this goal?

 Thanks in advance.
 

--~--~-~--~~~---~--~~
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: Download a doc file from HTML page

2009-05-11 Thread 风笑雪
Sorry, I made a mistake on the path
- url: /sample\.doc
  static_files: static/sample.doc  # no \
  upload: static/sample\.doc

2009/5/11 Satyajit p satyajit100...@gmail.com

 Thanks Keakon for your immediate response.

 I have done the changes what U mentioned but its not asking for to
 download.

 Its recognizing the path from YAML file.

 Regards,
 Satyajit




 On Mon, May 11, 2009 at 12:48 PM, 风笑雪 kea...@gmail.com wrote:

 You need specify a url to locate sample.doc in your app.yaml file.
 eg:

 - url: /sample\.doc
   static_files: static/sample\.doc
   upload: static/sample\.doc

 And put sample.doc in static folder.


 http://code.google.com/intl/zh-CN/appengine/docs/python/config/appconfig.html

 2009/5/11 Satyajit p satyajit100...@gmail.com

 Hi All,
I am trying to *download(a href=sample.docdownload/a)*a 
 word file from html page through python/google apps.But I am unable to do
 so.

 Can anybody help me on this issue.

 Eagerly waiting for an early reply.

 Thanks in advance...

 Regards,
 Satyajit







 


--~--~-~--~~~---~--~~
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] SELECT __key__ in DataViewer is not supported (crash)

2009-05-11 Thread Sylvain

I've tried to use select __key__  in DataViewer but it crashes.


Server Error
A server error has occurred.
---

I will fill an issue if it is confirmed.

Regards.
--~--~-~--~~~---~--~~
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: SELECT __key__ in DataViewer is not supported (crash)

2009-05-11 Thread Nick Johnson (Google)

Hi Sylvain,

You're right - this is definitely a bug. Please do file that issue.

-Nick

On Mon, May 11, 2009 at 12:40 PM, Sylvain sylvain.viv...@gmail.com wrote:

 I've tried to use select __key__  in DataViewer but it crashes.

 
 Server Error
 A server error has occurred.
 ---

 I will fill an issue if it is confirmed.

 Regards.
 

--~--~-~--~~~---~--~~
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] Error on upload

2009-05-11 Thread sagey

Hello,

I'm trying to upload my app for the first time. I'm getting the
following error. I've tried searching the forums and despite a lot of
people getting the appcfg.py:1235 an unexpected error occured mesage
my specific error seems different.



C:\Code\Pythonappcfg.py update XX/
C:\Program Files\Google\google_appengine\appcfg.py:40:
DeprecationWarning: the s
ha module is deprecated; use the hashlib module instead
  DIR_PATH,
Scanning files on local disk.
Initiating update.
Email: XX
Password for :
2009-05-11 13:30:27,637 ERROR appcfg.py:1235 An unexpected error
occurred. Abort
ing.
Traceback (most recent call last):
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1213, in DoUpload
missing_files = self.Begin()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1009, in Begin
version=self.version, payload=self.config.ToYAML())
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 312, in Send
self._Authenticate()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 344, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 233, in _Authenticate
auth_token = self._GetAuthToken(credentials[0], credentials[1])
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 177, in _GetAuthToken
response = self.opener.open(req)
  File C:\Python26\lib\urllib2.py, line 383, in open
response = self._open(req, data)
  File C:\Python26\lib\urllib2.py, line 401, in _open
'_open', req)
  File C:\Python26\lib\urllib2.py, line 361, in _call_chain
result = func(*args)
  File C:\Python26\lib\urllib2.py, line 1138, in https_open
return self.do_open(httplib.HTTPSConnection, req)
  File C:\Python26\lib\urllib2.py, line 1105, in do_open
raise URLError(err)
URLError: urlopen error [Errno 1] _ssl.c:480: error:140770FC:SSL
routines:SSL23
_GET_SERVER_HELLO:unknown protocol
Traceback (most recent call last):
  File C:\Program Files\Google\google_appengine\appcfg.py, line 60,
in module

run_file(__file__, globals())
  File C:\Program Files\Google\google_appengine\appcfg.py, line 57,
in run_fil
e
execfile(script_path, globals_)
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1974, in module
main(sys.argv)
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1965, in main
result = AppCfgApp(argv).Run()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1418, in Run
self.action(self)
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1879, in __call__
return method()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1669, in Update
lambda path: open(os.path.join(basepath, path), rb))
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1213, in DoUpload
missing_files = self.Begin()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y, line 1009, in Begin
version=self.version, payload=self.config.ToYAML())
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 312, in Send
self._Authenticate()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 344, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 233, in _Authenticate
auth_token = self._GetAuthToken(credentials[0], credentials[1])
  File C:\Program Files\Google\google_appengine\google\appengine\tools
\appengin
e_rpc.py, line 177, in _GetAuthToken
response = self.opener.open(req)
  File C:\Python26\lib\urllib2.py, line 383, in open
response = self._open(req, data)
  File C:\Python26\lib\urllib2.py, line 401, in _open
'_open', req)
  File C:\Python26\lib\urllib2.py, line 361, in _call_chain
result = func(*args)
  File C:\Python26\lib\urllib2.py, line 1138, in https_open
return self.do_open(httplib.HTTPSConnection, req)
  File C:\Python26\lib\urllib2.py, line 1105, in do_open
raise URLError(err)
urllib2.URLError: urlopen error [Errno 1] _ssl.c:480: error:
140770FC:SSL routin
es:SSL23_GET_SERVER_HELLO:unknown protocol

--~--~-~--~~~---~--~~
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 

[google-appengine] Re: Error on upload

2009-05-11 Thread Prashant Gupta
are you working behind firewalls??

--~--~-~--~~~---~--~~
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] The API package 'datastore_v3' or call 'BeginTransaction()' was not found.

2009-05-11 Thread cher...@ensarm.com

hi,
I am getting this error when I am trying to persist an object.
Does anybody have a clue.
I have the jdoconfig in the web-inf/classes/meta-inf, and the GAE
library in my class path.
Am I missing something basic.

Thanks,
Cherian



--~--~-~--~~~---~--~~
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 can I use cron to make something happen every hour on the hour?

2009-05-11 Thread Joe Bowman

Does every 1 hours not work?

Or if you need the specific time, every hour 00

I'd try those.



On May 10, 5:01 pm, Luke luke.hun...@gmail.com wrote:
 Yeah I suppose thats only 24*60 = 1440 requests, not bad.

 On May 10, 1:51 pm, Sylvain sylvain.viv...@gmail.com wrote:

  You can do this :
  every 1 minutes  (or 2 minutes if you don't need to be very precise)
  and check the time ?

  if time != 9h (10,11,...):
    return

  It is not perfect but it could work.

  Regards ?

  On 10 mai, 21:29, Luke luke.hun...@gmail.com wrote:

   I need something to happen every hour on the hour (e.g. 9:00, 10:00,
   11:00) but the cron parser does not appear to support this. I can make
   24 entries of the form every day 00:00, every day 01:00, every day
   02:00 etc. but I'm only allowed 20 cron.yaml entries by google.
   Incidentally, its annoying that appcfg.py cron_info doesn't appear to
   have the same requirements as appcfg.py update (cron_info didn't
   inform me about the 20 entry limitation).

   Thanks,
   Luke
--~--~-~--~~~---~--~~
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: Error on upload

2009-05-11 Thread sagey

Yes i do go through a proxy, which normally causes a problem when i
run dev-appserver.py so i have to amned my internet options in ie to
resolve.
I initially thought this might fix this issue as well but it hasn't.

Is the issue i am seeing definitely related to a firewall/proxy issue?

On May 11, 1:40 pm, Prashant Gupta nextprash...@gmail.com wrote:
 are you working behind firewalls??
--~--~-~--~~~---~--~~
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] Did something change this friday in GAE Python?

2009-05-11 Thread Ary Manzana

This friday afternoon (GMT -3) one of our pages uploaded to GAE
suddenly stopped working with an error. First, we got a:

  KeyError: 'HTTP_ACCEPT_LANGUAGE'

when doing

  self.request.headers['Accept-Language']

But then that problem seemed to have been fixed. However, now we can't
do this:

  import locale
  try:
locale.setlocale(locale.LC_ALL, lang)
  except:
localeNotSupported = True

When we do this, we get a Server Error, and nothing appears in the
log.

Has this happened to someone else? Someone from the Google App Engine
Team can answer this question?

Thanks,
Ary

Update: Now a friend tells me that 8 May you upgraded the Python
version. Does anyone got a workaround for the second problem?
--~--~-~--~~~---~--~~
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: Error on upload

2009-05-11 Thread Prashant Gupta
not sure, it was a random guess.

--~--~-~--~~~---~--~~
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: Did something change this friday in GAE Python?

2009-05-11 Thread Ary Manzana

Nevermind... I found the bug report for this. Sorry.

On May 11, 11:01 am, Ary Manzana a...@esperanto.org.ar wrote:
 This friday afternoon (GMT -3) one of our pages uploaded to GAE
 suddenly stopped working with an error. First, we got a:

   KeyError: 'HTTP_ACCEPT_LANGUAGE'

 when doing

   self.request.headers['Accept-Language']

 But then that problem seemed to have been fixed. However, now we can't
 do this:

   import locale
   try:
     locale.setlocale(locale.LC_ALL, lang)
   except:
     localeNotSupported = True

 When we do this, we get a Server Error, and nothing appears in the
 log.

 Has this happened to someone else? Someone from the Google App Engine
 Team can answer this question?

 Thanks,
 Ary

 Update: Now a friend tells me that 8 May you upgraded the Python
 version. Does anyone got a workaround for the second problem?
--~--~-~--~~~---~--~~
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: images, rotation and quality/compression

2009-05-11 Thread Pindropper Info

Yes, it is experiencing very clear image degradation.  Ill try it in
production and post back to this thread.  Even if it is clean in
production, it will be worth noting in the SDK notes about the image
service.

Thanks!

On May 11, 3:41 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 I would strongly suggest trying this in production before looking for
 any other solution. The SDK uses the Python Imaging Library, which is
 not the same as the Images service in production, so I would not
 expect the same result.

 It's also possible that your image is simply more compressible when
 rotated. Are you experiencing actual visual degradation?

 -Nick Johnson



 On Sun, May 10, 2009 at 4:08 AM, Pindropper Info i...@pindropper.com wrote:

  I am going to post this in the python group too, but I think it may be
  a general engine topic.

  I recently added some image rotation code (using images.rotate)  I put
  in a JPEG and get out a JPEG.

  The image I put in is about 28k, the image I get back is 12k.  Is
  there any way to eliminate this degradation?

  I have ONLY RUN THIS LOCALLY at this point, not on the actual app
  engine runtime in production.

  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] Re: iPhone cannot log in any more, system-wide issue, Google pls help

2009-05-11 Thread baytiger

Possibly we should add the issue in the tracker... There currently is
one but it has to do with a wrongly entered password and not with the
login actually not working even if provided with correct
credidentials...

Everybody I know who is on app engine is facing this problem.


On May 11, 12:16 pm, Pankaj Vishwani pankajvishw...@gmail.com wrote:
 I have been getting this for past two days too.
 Can someone please look into it since we are launching our website
 (www.wallpipe.com) on Monday (7:00pm PST).

 Thanks!!

 On May 10, 1:54 pm, mckoss mck...@gmail.com wrote:



  This is also failing with the Google Android browser (G1 phone).
  Didn't every Google employee get this phone for Christmas?  Why has
  this fatal error in AppEngine persisted for over 36 hours?

  On May 9, 4:14 am, tijer troels...@gmail.com wrote:

   To reproduce the problem go to the google-developed app
   shell.appspot.com and try to login with aniphone.

   It not having aniphonethen spoof the useragent to theiphone(like
   with Safari 4's debug menu) and try logging in then. It fails with a
   500-error page.

   What to do? This has been going on for two days now.

   It really sux when you're developing aniPhoneapplication :)
--~--~-~--~~~---~--~~
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: images, rotation and quality/compression

2009-05-11 Thread Pindropper Info

Ok, so in production, I dont see the same image artifacts/compression,
but there is a slight color/gamma shift.  It's totally acceptable, but
again, should probably be reflected in the docs.

Specifically, it looks like the image service strips out ColorSync
profiles from rotated images.


Here are the two samples (before and after)


Original image:

http://www.pindropper.com/_Media/remote2.jpg


Rotated image:

http://www.pindropper.com/_Media/remote1.jpg




The original image has the following ColorSync profile embedded:

sRGB IEC61966-2.1


Thanks for your help!


On May 11, 3:41 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 I would strongly suggest trying this in production before looking for
 any other solution. The SDK uses the Python Imaging Library, which is
 not the same as the Images service in production, so I would not
 expect the same result.

 It's also possible that your image is simply more compressible when
 rotated. Are you experiencing actual visual degradation?

 -Nick Johnson



 On Sun, May 10, 2009 at 4:08 AM, Pindropper Info i...@pindropper.com wrote:

  I am going to post this in the python group too, but I think it may be
  a general engine topic.

  I recently added some image rotation code (using images.rotate)  I put
  in a JPEG and get out a JPEG.

  The image I put in is about 28k, the image I get back is 12k.  Is
  there any way to eliminate this degradation?

  I have ONLY RUN THIS LOCALLY at this point, not on the actual app
  engine runtime in production.

  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] Re: Download a doc file from HTML page

2009-05-11 Thread djidjadji

If you want to serve the files dynamically you can use the method in

http://code.google.com/appengine/articles/images.html

2009/5/11 风笑雪 kea...@gmail.com:
 Sorry, I made a mistake on the path
 - url: /sample\.doc
   static_files: static/sample.doc  # no \
   upload: static/sample\.doc
 2009/5/11 Satyajit p satyajit100...@gmail.com

 Thanks Keakon for your immediate response.

 I have done the changes what U mentioned but its not asking for to
 download.

 Its recognizing the path from YAML file.

 Regards,
 Satyajit



 On Mon, May 11, 2009 at 12:48 PM, 风笑雪 kea...@gmail.com wrote:

 You need specify a url to locate sample.doc in your app.yaml file.
 eg:
 - url: /sample\.doc
   static_files: static/sample\.doc
   upload: static/sample\.doc
 And put sample.doc in static folder.


 http://code.google.com/intl/zh-CN/appengine/docs/python/config/appconfig.html

 2009/5/11 Satyajit p satyajit100...@gmail.com

 Hi All,
I am trying to download(a href=sample.docdownload/a) a
 word file from html page through python/google apps.But I am unable to do
 so.

 Can anybody help me on this issue.

 Eagerly waiting for an early reply.

 Thanks in advance...

 Regards,
 Satyajit










 


--~--~-~--~~~---~--~~
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: my app suddenly shows an error! yesterday, everything OK

2009-05-11 Thread Jason (Google)
Were you prompted to update within GoogleAppEngineLauncher or did you
manually choose to update by selecting Check for Updates in
GoogleAppEngineLauncher's Help menu?

- Jason

On Sat, May 9, 2009 at 5:08 PM, Kwame iweg...@gmail.com wrote:


 I just upgraded to version 1.2.2 and I'm getting a similar error:

 Exception exceptions.SystemError: 'error return without exception set'
 in generator object at 0x3033300 ignored
 ERROR2009-05-10 00:04:36,585 __init__.py:385] __init__() got an
 unexpected keyword argument 'keys_only'
 Traceback (most recent call last):
 ...

   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/ext/db/__init__.py, line 1381, in get
results = self.fetch(1)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/ext/db/__init__.py, line 1425, in fetch
 raw = self._get_query().Get(limit, offset)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/ext/db/__init__.py, line 1590, in _get_query
 keys_only=self._keys_only)
 TypeError: __init__() got an unexpected keyword argument 'keys_only'
 ...


 I'm not using BookmarkQuery, so how do I fix this???

 Please help!

 On May 8, 11:04 am, Manu manuelar...@gmail.com wrote:
  Hi!
 
  Thanks a bunch!
  That fixed all :D:D:D
 
  Will that work after the upcoming release?
  Can I ask you (if you have time, tell me, if not, no problem)
  why was that failing? I'd really like to understand a little more.
 
  Also, I'd like to understand how all of this BookmarkQuery works...
  I'll have to read the source and learn a bit
  Thanks for your time!
 
  Manu
 
  On 8 mayo, 11:27, Nick Johnson (Google) nick.john...@google.com
  wrote:
 
   Hi Manu,
 
   For now you can get things working again by replacing lines 36 and 37
   of bookmark.py with this:
   ---
   def __init__(self, kind, filters={}, _app=None, keys_only=False):
   super(BookmarkQuery, self).__init__(kind, filters, _app,
 keys_only)
   ---
 
   -Nick Johnson
 
   On Fri, May 8, 2009 at 3:15 PM, Manu manuelar...@gmail.com wrote:
 
the code for BookmarkQuery is here:
   http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py
 
I'm using it but haven't developed it myself, so I don't really know
how it works.
Please help me, isn't there a way to quickly fix this at least for
 the
moment?
Thanks in advance!
 
Manuel
 
On 8 mayo, 02:05, ryan 
ryanb+appeng...@google.comryanb%2bappeng...@google.com
 wrote:
hi manuel! we pushed a new version of our API code to production
recently in preparation for an upcoming release, which has caused
problems for people who use forked versions of some of our API code,
like the problem described inhttp://
 groups.google.com/group/google-appengine/browse_thread/thread/...
, or code that reaches below our API layer, which it sounds like
BookmarkQuery does.
 
i don't have the BookmarkQuery source, so i don't know the exact fix
you need, but the problem stems from a new optional keyword argument
that we added to the Query classes' constructors. try adding a
keys_only=None parameter to BookmarkQuery's constructor and see if
that helps.
 
 
 


--~--~-~--~~~---~--~~
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: Sign In: Server Error - when using Android/T-Mobile G1

2009-05-11 Thread Jason (Google)
Thanks for bringing this to my attention. We're looking into this now.

- Jason

On Sat, May 9, 2009 at 9:58 AM, mckoss mck...@gmail.com wrote:


 When I try to sign in to an AppEngine application OR even sign into
 Dashboard for my AppEngine app I get a 500 error.  This seems to be
 specific to mobile browsers (it is NOT happening using desktop
 browsers).

 The error page after entering your Google credentials says:

 Error: Server Error

 The server encountered an error and could not complete your request.

 I first noticed this about 8am on May 9, 2009 - but it is still
 happening as of 10am.

 There is NO indication on the AppEngine status page that there are any
 problems, and I am not getting errors logged in my application when
 this happens.

 Until this is fixed, my mobile users cannot log in to their AppEngine
 applications.


 


--~--~-~--~~~---~--~~
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: Show processing message to user while Urlfetch works

2009-05-11 Thread Jason (Google)
Hi Jim. As noted in
http://code.google.com/appengine/docs/python/runtime.html#Requests_and_CGI,
App Engine does not currently support sending data to the user's browser
before exiting the handler. Your best bet is to use a JavaScript/AJAX
solution like the one djidjadji suggested.

- Jason

On Wed, May 6, 2009 at 1:53 PM, Jim jdeib...@gmail.com wrote:


 I have a function that goes and looks up some data.   I'd like to say
 something to the user after they click submit but before I have any
 results.

 I've tried HttpResponse with response.write as well as
 self.response.out.write

 The problem with both of them is that they wait until the function is
 done before they output anything.   Saying I'm starting the lookup
 doesn't work so well when they see it after the fact ...

 I've done about 90 minutes of Googling and looking at the Django docs
 and am coming up empty.

 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] Re: deleting datastore items error

2009-05-11 Thread Jason (Google)
Hi Matt. There will be periods of time where the datastore times out when
writing or deleting entities, but these should be isolated. Has the error
rate diminished since your initial post? Are you able to access the data
viewer in your application's Dashboard?

- Jason

On Sun, May 10, 2009 at 2:06 AM, Matt Murphy mmm...@gmail.com wrote:

 Hello,

 I uploaded a lot of data into app engine, and I am now trying to delete it.

 I have written a simple handler to delete a few items at a time.  The other
 day I was able to set the limit at 100 items without any trouble, but today
 it seems to have trouble deleting far fewe items (and starts returning a
 500).

 Now, even if I set the limit to 1 item, it still times out trying to
 delete.  The code is as follows:

 results = models.MyModel.all().fetch(limit=1)
 db.delete(results)

 Also, the dashboard is getting a server error when I try to look at the
 data in the data viewer.

 Any suggestions or insights would be most helpful.

 


--~--~-~--~~~---~--~~
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: my app suddenly shows an error! yesterday, everything OK

2009-05-11 Thread Kwame Iwegbue
I was prompted to update it. However the problem resolved after I  
restarted the JVM.



On May 11, 2009, at 1:39 PM, Jason (Google) apija...@google.com  
wrote:

 Were you prompted to update within GoogleAppEngineLauncher or did  
 you manually choose to update by selecting Check for Updates in  
 GoogleAppEngineLauncher's Help menu?

 - Jason

 On Sat, May 9, 2009 at 5:08 PM, Kwame iweg...@gmail.com wrote:

 I just upgraded to version 1.2.2 and I'm getting a similar error:

 Exception exceptions.SystemError: 'error return without exception set'
 in generator object at 0x3033300 ignored
 ERROR2009-05-10 00:04:36,585 __init__.py:385] __init__() got an
 unexpected keyword argument 'keys_only'
 Traceback (most recent call last):
 ...

  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/ext/db/__init__.py, line 1381, in get
results = self.fetch(1)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/ext/db/__init__.py, line 1425, in fetch
raw = self._get_query().Get(limit, offset)
  File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/ext/db/__init__.py, line 1590, in _get_query
keys_only=self._keys_only)
 TypeError: __init__() got an unexpected keyword argument 'keys_only'
 ...


 I'm not using BookmarkQuery, so how do I fix this???

 Please help!

 On May 8, 11:04 am, Manu manuelar...@gmail.com wrote:
  Hi!
 
  Thanks a bunch!
  That fixed all :D:D:D
 
  Will that work after the upcoming release?
  Can I ask you (if you have time, tell me, if not, no problem)
  why was that failing? I'd really like to understand a little more.
 
  Also, I'd like to understand how all of this BookmarkQuery works...
  I'll have to read the source and learn a bit
  Thanks for your time!
 
  Manu
 
  On 8 mayo, 11:27, Nick Johnson (Google) nick.john...@google.com
  wrote:
 
   Hi Manu,
 
   For now you can get things working again by replacing lines 36  
 and 37
   of bookmark.py with this:
   ---
   def __init__(self, kind, filters={}, _app=None,  
 keys_only=False):
   super(BookmarkQuery, self).__init__(kind, filters, _app,  
 keys_only)
   ---
 
   -Nick Johnson
 
   On Fri, May 8, 2009 at 3:15 PM, Manu manuelar...@gmail.com  
 wrote:
 
the code for BookmarkQuery is here:
   http://bitbucket.org/moraes/appengine/src/422cc9b9473b/ 
 bookmark.py
 
I'm using it but haven't developed it myself, so I don't  
 really know
how it works.
Please help me, isn't there a way to quickly fix this at least  
 for the
moment?
Thanks in advance!
 
Manuel
 
On 8 mayo, 02:05, ryan ryanb+appeng...@google.com wrote:
hi manuel! we pushed a new version of our API code to  
 production
recently in preparation for an upcoming release, which has  
 caused
problems for people who use forked versions of some of our  
 API code,
like the problem described inhttp://groups.google.com/group/ 
 google-appengine/browse_thread/thread/...
, or code that reaches below our API layer, which it sounds  
 like
BookmarkQuery does.
 
i don't have the BookmarkQuery source, so i don't know the  
 exact fix
you need, but the problem stems from a new optional keyword  
 argument
that we added to the Query classes' constructors. try adding a
keys_only=None parameter to BookmarkQuery's constructor and  
 see if
that helps.
 
 



 

--~--~-~--~~~---~--~~
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] Removing indexes in 'error' state

2009-05-11 Thread mrk

Hi.
In my application i've two indexes in 'error' state.
I removed their definitions from index.yaml and run appcfg.py
vacuum_indexes ., but after many hours they persist in the same
state.
How can I remove these indexes?
Thanks.
--
mrk
--~--~-~--~~~---~--~~
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: New bie question: import com.google.appengine cannot be resolved

2009-05-11 Thread Jason (Google)
Hi Vijay. I believe the issue here is that the GWT compiler cannot find the
source code for the Key class, as detailed in the post at
http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jdo.html.

You should be able to follow the steps in that post, stubbing out the Key
class, to get your application working.

- Jason

On Fri, May 8, 2009 at 3:04 PM, vijay mymail.vi...@gmail.com wrote:

 Hi,
 I am using GWT+ Appengine for building a simple web application and got
 stuck with a error.

 I am using JDO to save some objects in datastore, I have a created a
 service which returns a field of persistent class which is of type
  com.google.appengine.api.datastore.Key, i am calling this service from my
 main .java file and hence imported the required path. When running the
 application I got error as

 Line 6: The import com.google.appengine cannot be resolved

 The path com.google.appengine was auto completed and also it was not
 showing any error for files under .server package, the error are only for
 files under .client package.
 I think I am missing something very basic here. Is there any restriction
 that I cannot import appengine packages in .client package?

 Please let me know if my problem is not clear.

 Regards,
 Vijay

 


--~--~-~--~~~---~--~~
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 Chat Time!

2009-05-11 Thread Jason (Google)
Already posted:
http://groups.google.com/group/google-appengine/browse_thread/thread/a22dc35d29ce502c

Cheers!
- Jason

On Fri, May 8, 2009 at 2:12 AM, tommytastic tommytas...@gmail.com wrote:


 Will a transcript of the last chat session by published ? I couldn't
 make it unfortunately.
  thanks

 On Mar 18, 12:33 am, Jason apija...@google.com wrote:
  Hi Everyone!
 
  Every first and third Wednesday of the month, the App Engine team
  hosts IRC Chat Time, an opportunity for you to get answers to your App
  Engine-related questions in real-time.
 
  Here's the schedule:
  - Every FIRST Wednesday of the month from 7:00 to 8:00 p.m. PDT
  - Every THIRD Wednesday of the month from 9:00 to 10:00 a.m. PDT
 
  So our schedule for the next few months looks like:
  - March 18, 9:00-10:00 a.m. PDT
  - April 1, 7:00-8:00 p.m. PDT
  - April 15, 9:00-10:00 a.m. PDT
  - May 6, 7:00-8:00 p.m. PDT
  - May 20, 9:00-10:00 a.m. PDT
  ...
 
  These chat sessions take place on the #appengine channel on
  irc.freenode.net. For a list of IRC clients, see the following URL:
 
  http://en.wikipedia.org/wiki/List_of_IRC_clientsfor a helpful
 
  We welcome all App Engine-related questions and we will try to answer
  as many as we can in the hour session.
 
  See you there!
  - Jason
 


--~--~-~--~~~---~--~~
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: Sign In: Server Error - when using Android/T-Mobile G1

2009-05-11 Thread mckoss

Thanks, Jason.  Glad to see Google is at least aware of the problem.
I couldn't find a more appropriate place to report this bug than this
Group as there was nothing in the google.com/support/ site for
reporting trouble tickets on AppEngine (if there is one that would
have gotten a quicker response, I'd love to know about it).

Thanks,
Mike

On May 11, 10:50 am, Jason (Google) apija...@google.com wrote:
 Thanks for bringing this to my attention. We're looking into this now.

 - Jason

 On Sat, May 9, 2009 at 9:58 AM, mckoss mck...@gmail.com wrote:

  When I try to sign in to an AppEngine application OR even sign into
  Dashboard for my AppEngine app I get a 500 error.  This seems to be
  specific to mobile browsers (it is NOT happening using desktop
  browsers).

  The error page after entering your Google credentials says:

  Error: Server Error

  The server encountered an error and could not complete your request.

  I first noticed this about 8am on May 9, 2009 - but it is still
  happening as of 10am.

  There is NO indication on the AppEngine status page that there are any
  problems, and I am not getting errors logged in my application when
  this happens.

  Until this is fixed, my mobile users cannot log in to their AppEngine
  applications.
--~--~-~--~~~---~--~~
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: iPhone cannot log in any more, system-wide issue, Google pls help

2009-05-11 Thread Brett (Google)

Hey everyone,

We've isolated the cause of this issue and it should be fixed now.
Please let us know if you have any further problems! Sorry again for
the trouble.

-Brett,
Google App Engine Team
--~--~-~--~~~---~--~~
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: Sign In: Server Error - when using Android/T-Mobile G1

2009-05-11 Thread Brett (Google)

Hi everyone,

This should be fixed now (similar to what's covered on
http://groups.google.com/group/google-appengine/browse_thread/thread/aa9de454f7cf0a1c#).
Sorry again for the trouble.

-Brett
Google App Engine Team
--~--~-~--~~~---~--~~
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: Too many indexed properties for entity

2009-05-11 Thread Ben

I thought maybe the 1.2.2 update with the addition of indexed=false
would solve this problem for me, but it doesn't seem to have any
effect.  I can move the title into a separate property is i mentioned
above and that works ok, but i feel like i must be missing some other
obvious solution here.  my property is set like so:

-
class Item(search.SearchableModel):
  title = db.StringProperty(required=True)
  category = db.IntegerProperty()
  product =  db.IntegerProperty()
  priority = db.IntegerProperty()
  description = db.TextProperty(indexed=False)
  contributors = db.StringProperty()
-

any ideas?


On May 9, 12:20 am, 风笑雪 kea...@gmail.com wrote:
 SDK 1.2.2 can use indexed=False parameter on property constructor now.

 2009/5/9 Ben bhym...@gmail.com



  I didn't figure out what was causing the problem, but i solved it by
  moving my Title  string prop to a separate searchable class with a
  reference property, and leaving the description in a standard db
  model.  might not work for everyone but solved my problem. thanks for
  the help.

  On May 8, 10:11 am, Devel63 danstic...@gmail.com wrote:
   You should be able to have a searchable TextProperty and a
   StringProperty.  I do.  If the advice below doesn't help, try posting
   your class definition here.

   On May 7, 10:27 am, ryan 
   ryanb+appeng...@google.comryanb%2bappeng...@google.com
  wrote:

   http://code.google.com/appengine/docs/python/datastore/queriesandinde.
  ..
describes this error.


--~--~-~--~~~---~--~~
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: Datastore usage ~ 80 times more than expected (Add your vote to a datastore usage accounting feature)

2009-05-11 Thread Jason (Google)
Hi Anthony. I'm very sorry for the late reply, and thank you for bearing
with me. I've discussed this with the datastore team and it's evident that
the CSV file's size is not a great indicator of how much storage your
entities will consume. On top of the size of the raw data, each entity has
associated metadata, as you've already mentioned, but I'd bet that the
indexes are consuming the greatest space. If you don't ever query on one or
more of these 15 string properties, you may consider changing their property
types to Text or declaring indexed=false in your model. If you can do this
with one of your properties and re-build your indexes, I'd be interested in
seeing how much your storage usage decreases since you'll need one less
index.

(Note that single-property indexes are present but not listed in the Admin
Console.)

- Jason

On Sat, May 9, 2009 at 4:34 PM, Kugutsumen kugutsu...@gmail.com wrote:


 Two weeks ago, I've sent my applications ID to both you and Nick and I
 haven't heard from you since then.

 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] BadRequestError: User properties should not have obfuscated_gaiaid set.

2009-05-11 Thread Kyle Jensen


Hi All --

A *really* weird error just started popping up on our application:
User properties should not have obfuscated_gaiaid set.


Anybody else getting this?


--~--~-~--~~~---~--~~
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: BadRequestError: User properties should not have obfuscated_gaiaid set.

2009-05-11 Thread Kyle Jensen

The full error is as follows:

BadRequestError at /X/XXX

User properties should not have obfuscated_gaiaid set.
User properties should not have obfuscated_gaiaid set.

Exception Location: /base/python_lib/versions/1/google/appengine/api/
datastore.py in _ToDatastoreError, line 2020
Python Executable:  /base/
Python Version: 2.5.2
Python Path:['/base/data/home/apps/pair/2.333417692803602348', '/
base/data/home/apps/pair/2.333417692803602348/django.zip', '/base/
python_dist/lib/python25.zip', '/base/python_dist/lib/python2.5/', '/
base/python_dist/lib/python2.5/plat-linux2', '/base/python_dist/lib/
python2.5/lib-tk', '/base/python_dist/lib/python2.5/lib-dynload', '/
base/python_lib/versions/1', '/base/data/home/apps/pair/
2.333417692803602348/']
Server time:Mon, 11 May 2009 23:59:31 +
--~--~-~--~~~---~--~~
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: BadRequestError: User properties should not have obfuscated_gaiaid set.

2009-05-11 Thread Kyle Jensen



FYI -- appears this was due to adding 'indexed=False' to a
UserProperty!
--~--~-~--~~~---~--~~
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: Sign In: Server Error - when using Android/T-Mobile G1

2009-05-11 Thread mckoss

I confirm this is now working for me on Android.  Thanks for the fix!

On May 11, 4:48 pm, Brett (Google) brett-appeng...@google.com
wrote:
 Hi everyone,

 This should be fixed now (similar to what's covered 
 onhttp://groups.google.com/group/google-appengine/browse_thread/thread/...).
 Sorry again for the trouble.

 -Brett
 Google App Engine Team
--~--~-~--~~~---~--~~
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: BadRequestError: User properties should not have obfuscated_gaiaid set.

2009-05-11 Thread Kyle Jensen


I take that back -- still unresolved.
--~--~-~--~~~---~--~~
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] Any issues with URL fetch tonight?

2009-05-11 Thread Pindropper Info

About 2+ hours ago, our app started having issues calling out to a 3rd
party webservice using url fetch

urlfetch

  File quot;/base/python_lib/versions/1/google/appengine/api/
urlfetch.pyquot;, line 240, in fetch
return rpc.get_result(allow_truncated)
  File quot;/base/python_lib/versions/1/google/appengine/api/
urlfetch.pyquot;, line 387, in get_result
self.check_success(allow_truncated)
  File quot;/base/python_lib/versions/1/google/appengine/api/
urlfetch.pyquot;, line 361, in check_success
raise DownloadError(str(e))
DownloadError: ApplicationError: 5

This was working fine as recently as this AMI am not at my quota.

Anyone have any 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: Any issues with URL fetch tonight?

2009-05-11 Thread yobin
I met this problem too..

- Original Message - 
From: Pindropper Info i...@pindropper.com
To: Google App Engine google-appengine@googlegroups.com
Sent: Tuesday, May 12, 2009 11:39 AM
Subject: [google-appengine] Any issues with URL fetch tonight?


 
 About 2+ hours ago, our app started having issues calling out to a 3rd
 party webservice using url fetch
 
 urlfetch
 
  File quot;/base/python_lib/versions/1/google/appengine/api/
 urlfetch.pyquot;, line 240, in fetch
return rpc.get_result(allow_truncated)
  File quot;/base/python_lib/versions/1/google/appengine/api/
 urlfetch.pyquot;, line 387, in get_result
self.check_success(allow_truncated)
  File quot;/base/python_lib/versions/1/google/appengine/api/
 urlfetch.pyquot;, line 361, in check_success
raise DownloadError(str(e))
 DownloadError: ApplicationError: 5
 
 This was working fine as recently as this AMI am not at my quota.
 
 Anyone have any 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] GAE issue with django internationalization

2009-05-11 Thread Will
Hi all,

I'm using django internationalization to support English and Chinese
versions of my site. In the last couple of months, I've seen GAE showing 500
error quite often when I hit the Chinese version. Sometimes the URL turned
to a string with i18n, and the Chinese characters are all lost. I've never
seen the similar behavior during my test on local machine.

Is this a issue of GAE with django internationalization? Or general
stability issue of GAE?

www.vocalster.com
bianshengbaobao.appspot.com

Thanks in advance,

Will

--~--~-~--~~~---~--~~
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: Datastore usage ~ 80 times more than expected (Add your vote to a datastore usage accounting feature)

2009-05-11 Thread Andy Freeman

Since index space can be significant, can we get some additional
information?

For example, does an indexed db.ListProperty(db.Key) with three
elements take significantly more or less space than an indexed
db.StringListProperty with three elements whose value is str() of the
same keys?  (The pickle of keys seems to be significantly larger than
the pickle of the equivalent strings.)

On May 11, 5:04 pm, Jason (Google) apija...@google.com wrote:
 Hi Anthony. I'm very sorry for the late reply, and thank you for bearing
 with me. I've discussed this with the datastore team and it's evident that
 the CSV file's size is not a great indicator of how much storage your
 entities will consume. On top of the size of the raw data, each entity has
 associated metadata, as you've already mentioned, but I'd bet that the
 indexes are consuming the greatest space. If you don't ever query on one or
 more of these 15 string properties, you may consider changing their property
 types to Text or declaring indexed=false in your model. If you can do this
 with one of your properties and re-build your indexes, I'd be interested in
 seeing how much your storage usage decreases since you'll need one less
 index.

 (Note that single-property indexes are present but not listed in the Admin
 Console.)

 - Jason



 On Sat, May 9, 2009 at 4:34 PM, Kugutsumen kugutsu...@gmail.com wrote:

  Two weeks ago, I've sent my applications ID to both you and Nick and I
  haven't heard from you since then.

  Thanks- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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] appengine stop to deploy new files!!!!!!!!!!

2009-05-11 Thread ajaxer

I uploaded new files many times.
but the server don't updated with them.
what is the problem?

--~--~-~--~~~---~--~~
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: appengine stop to deploy new files!!!!!!!!!!

2009-05-11 Thread wenxin.ren

I am using python runtime environment.
by using appcfg.py update appfolder many times and get no update


On May 12, 1:39 pm, ajaxer calid...@gmail.com wrote:
 I uploaded new files many times.
 but the server don't updated with them.
 what is the problem?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---