[google-appengine] Use AppEngine on Vista x64

2008-12-22 Thread Chen Harel
Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64 Ultimate... (Admin user - NO UTC) both dev_appserver.py and appcfg.py gives me the help screen (Like no options were included) every single time.. Please help me help you help me ... What more information do you need --~--~-

[google-appengine] Re: Use AppEngine on Vista x64

2008-12-22 Thread Chen Harel
Hey, I'm on Intel Core 2 Duo, so I've installed the x86... On Dec 22, 10:26 pm, yejun wrote: > Did you install x86 or amd64 python? > > On Dec 22, 2:58 pm, Chen Harel wrote: > > > Hi, I've installed Python 2.5.2 and AppEngine 1.1.7 on Vista x64 > > Ult

[google-appengine] Re: Use AppEngine on Vista x64

2008-12-22 Thread Chen Harel
Invalid arguments... yejun wrote: > I have no problem with x86 version. > I have both python and sdk add to system path during installation. > > On Dec 22, 5:29�pm, Chen Harel wrote: > > Hey, I'm on Intel Core 2 Duo, so I've installed the x86... > > > > On

[google-appengine] Re: Use AppEngine on Vista x64

2008-12-23 Thread Chen Harel
nto the appcfg.py/dev_appserver.py to see which execution path is > taken. > > On Dec 23, 9:36 am, Chen Harel wrote: > > > I'm not sure it's the python that is making the problem, because for > > instance > > I'm in c:\apps > > c:\apps>dev_appse

[google-appengine] Multithreading in Python/AppEngine

2008-12-23 Thread Chen Harel
Hi, What do you think is the best way to parse many XMLs concurrently... I figured threading may be the case, but after reading some Python articles about it, I've decided to post this message, and get some feedback from the community... Does someone actually uses threads in Python? How can you g

[google-appengine] Re: Use AppEngine on Vista x64

2008-12-23 Thread Chen Harel
uld I install a different version of Python? maybe 2.6? On Dec 23, 10:00 am, Chen Harel wrote: > Ok I'll try, > Did you choose Python x64 although you have a Core 2 duo computer? > > On Dec 23, 2:39 am, Alexander Kojevnikov > wrote: > > > I have no problems runnin

[google-appengine] Re: Multithreading in Python/AppEngine

2008-12-23 Thread Chen Harel
ngle process within a > few seconds. Processes that take a very long time to respond are > terminated to avoid overloading the web server. > > On Dec 23, 7:02 pm, Chen Harel wrote: > > > Hi, What do you think is the best way to parse many XMLs > > concurrently... > > I

[google-appengine] Re: Multithreading in Python/AppEngine

2008-12-23 Thread Chen Harel
l act the same. > > On Dec 23, 12:17 pm, Chen Harel wrote: > > > Hmmm... so what do you suggest I do? > > > On Dec 23, 12:53 pm, Alexander Kojevnikov > > wrote: > > > > Fromhttp://code.google.com/appengine/docs/python/sandbox.html: > > > > An

[google-appengine] AppEngine GET response headers

2008-12-28 Thread Chen Harel
I'm trying to create a data table in an appengine, and send it back to a user. The user requests the data table using GET method, and I use class MainPage(webapp.RequestHandler): # This function is invoked when a user sends a get request def get(self): self.response.out.write("...") To g

[google-appengine] Re: AppEngine GET response headers

2008-12-28 Thread Chen Harel
10x ! It worked :) On Dec 29, 12:33 am, Alexander Kojevnikov wrote: > You should use the response object: > >   def get(self): >     self.response.headers['Content-Type'] = 'text/plain' >     self.response.out.write('your json') > > Cheers, &g

[google-appengine] How do you debug?

2008-12-28 Thread Chen Harel
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"

[google-appengine] GAE Datastore & OpenSocial

2009-01-14 Thread Chen Harel
Hi, I am saving information regarding the users of my gadget. I have a procedure where I need to get information about the user friends who are also using my gadget. a. Is there a best practice for this issue? b. I want to aggregate the data, I've read about the counting methods in BigTable, but

[google-appengine] Entities question

2009-01-15 Thread Chen Harel
Hi, In case I want to represent a music album datastore, I wish the user can add a cd that he likes (no need for information other than cd name and genres) Now, at first I looked at it as a RDBMS even in BigTable, meaning I had User entity CD entity Genre entity With list of refrences keys... Now

[google-appengine] Re: Entities question

2009-01-16 Thread Chen Harel
uld but the genre list in each Ownership entity.  Then if User X > wants to know how many "1980s Top Hits" he owns, you could query the > Ownership entities.  You could then memcache the (User, Genre, #CDs > for genre) tuple instead of keeping 50 counters in User and just query

[google-appengine] Re: Entities question

2009-01-16 Thread Chen Harel
Bill if I use an ownership model, How do you fetch all the cds of a user? you select on Ownership, then get the tuples with user id / cd id Now you need to fetch many cd id from the CD entity.. So what's the difference? If you store them as a list of IDs in the User, you still have to go over the

[google-appengine] Re: Entities question

2009-01-18 Thread Chen Harel
roperties will > really hamper your ability to have huge reference lists within a User > entity.  However, you could pickle/serialize your CD data into a blob > or text property which aren't indexed. > > If you start storing the CD lists as blobs, though, you lose the > abilit

[google-appengine] Windows 7 - can't run appengine sdk

2009-03-05 Thread Chen Harel
AttributeError: 'module' object has no attribute 'HttpRpcServer' I'm getting this error message while trying dev_appserver.py on a project that is working in vista (Although in vista I used 1.1.7 and now in Windows 7 I use 1.19) Python is 2.5.4 x64 Please assist, what can cause this error --~--~

[google-appengine] Re: Windows 7 - can't run appengine sdk

2009-03-06 Thread Chen Harel
8:13 am, Sumit Bando wrote: > I have been using 1.1.8  on Windows 7 for a month, so your problem is > likely something else. > > Good luck. > > Sumit > > On Mar 5, 3:28 pm, David Wilson wrote: > > > > > Hi Chen, > > > Please post the full text of

[google-appengine] Re: Windows 7 - can't run appengine sdk

2009-03-06 Thread Chen Harel
Reinstalling didn't help, Could this be caused by a Python issue? On Mar 6, 10:59 am, Chen Harel wrote: > Hi, Here is the full traceback: > > C:\Users\Chook\Documents\Eclipse\workspace\tvepisodes > \server>dev_appserver.py ep > ihourtesting2 > dir: E:\go

[google-appengine] Re: Windows 7 - can't run appengine sdk

2009-03-06 Thread Chen Harel
Ok, I've installed my old 1.1.7 on a different folder and it works. So this is a 1.1.9 issue. On Mar 6, 11:53 am, Chen Harel wrote: > Reinstalling didn't help, > Could this be caused by a Python issue? > > On Mar 6, 10:59 am, Chen Harel wrote: > > > > > Hi