[google-appengine] Re: Problems when downloading data from the app
I have similar problem, but slight different error message. [ERROR2011-02-02 14:40:50,286 adaptive_thread_pool.py] Error in Thread-1: urlopen error (10014, 'Bad address') [DEBUG2011-02-02 14:40:50,301 adaptive_thread_pool.py] Traceback (most recent call last): File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 693, in PerformWork transfer_time = self._TransferItem(thread_pool) File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 1081, in _TransferItem self, retry_parallel=self.first) File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 1358, in GetEntities results = self._QueryForPbs(query) File C:\Documents and Settings\Administrator\My Documents \pointmarket\google_appengine\google\appengine\tools\bulkloader.py, line 1308, in _QueryForPbs result_pb) File D:\Program Files\Google\google_appengine\google\appengine\api \apiproxy_stub_map.py, line 78, in MakeSyncCall return apiproxy.MakeSyncCall(service, call, request, response) File D:\Program Files\Google\google_appengine\google\appengine\api \apiproxy_stub_map.py, line 278, in MakeSyncCall rpc.CheckSuccess() File D:\Program Files\Google\google_appengine\google\appengine\api \apiproxy_rpc.py, line 149, in _WaitImpl self.request, self.response) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 223, in MakeSyncCall handler(request, response) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 232, in _Dynamic_RunQuery 'datastore_v3', 'RunQuery', query, query_result) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 155, in MakeSyncCall self._MakeRealSyncCall(service, call, request, response) File D:\Program Files\Google\google_appengine\google\appengine\ext \remote_api\remote_api_stub.py, line 167, in _MakeRealSyncCall encoded_response = self._server.Send(self._path, encoded_request) File D:\Program Files\Google\google_appengine\google\appengine\tools \appengine_rpc.py, line 346, in Send f = self.opener.open(req) File D:\Python25\lib\urllib2.py, line 381, in open response = self._open(req, data) File D:\Python25\lib\urllib2.py, line 399, in _open '_open', req) File D:\Python25\lib\urllib2.py, line 360, in _call_chain result = func(*args) File D:\Python25\lib\urllib2.py, line 1107, in http_open return self.do_open(httplib.HTTPConnection, req) File D:\Python25\lib\urllib2.py, line 1082, in do_open raise URLError(err) URLError: urlopen error (10014, 'Bad address') [DEBUG2011-02-02 14:40:50,301 bulkloader.py] Waiting for progress_thread to terminate... [DEBUG2011-02-02 14:40:50,316 bulkloader.py] [Thread-11] ExportProgressThread: exiting [DEBUG2011-02-02 14:40:50,316 bulkloader.py] ... done. [INFO 2011-02-02 14:40:50,332 bulkloader.py] Have 892 entities, 0 previously transferred [INFO 2011-02-02 14:40:50,332 bulkloader.py] 892 entities (5134783 bytes) transferred in 63.6 seconds --- This URLError: urlopen error (10014, 'Bad address') error occur every time I try to download data after some time. Has anyone know about this problem? On 1월24일, 오후5시23분, Ricardo Bánffy rban...@gmail.com wrote: in case it affects anyone else, one line fixes it: Index: google/appengine/tools/bulkloader.py === --- google/appengine/tools/bulkloader.py (revision 142) +++ google/appengine/tools/bulkloader.py (working copy) @@ -698,6 +698,8 @@ transfer_time) sys.stdout.write('.') sys.stdout.flush() + # Since we had at least one successful transfer, we could assume DNS errors are transient + non_fatal_error_codes.add(-2) status = adaptive_thread_pool.WorkItem.SUCCESS if transfer_time = MAXIMUM_INCREASE_DURATION: instruction = adaptive_thread_pool.ThreadGate.INCREASE BTW, is there a nice constant for this kind of error? Adding a -2 to the set seems dirty, to say the least. 2011/1/22 Ricardo Bánffy rban...@gmail.com: Hi. I have been, for the past couple days, to download data from the live app to my local development copy. Every time, sometimes a couple hours and gigabytes into the download, I get a .[INFO ] An error occurred. Shutting down... ..[ERROR ] Error in Thread-8: urlopen error (-2, 'Name or service not known') [INFO ] Have 210 entities, 0 previously transferred [INFO ] 210 entities (2145028 bytes) transferred in 54.4 seconds message. I assume a try/except with a couple
[google-appengine] Re: Cound not acces my site. (times out / connection failed)
Quota Ok too, and billing also enabled and I never billed. Thanks for reply. On 10월21일, 오전4시33분, suyash singh suyash...@gmail.com wrote: it may due to space provided by google to u and not be appropriate for some time when user loggon 2010/10/20 Robert Kluin robert.kl...@gmail.com I have not had issues connecting to my apps from S. Korea. Robert 2010/10/20 antichrist ttlt...@gmail.com: Here is South Korea (Republic of Korea) So No one have issue of China's Firewall. My users live in korea. On 10월20일, 오전5시11분, nickmilon nickmi...@gmail.com wrote: Most probably you have issues with China's Firewall. On Oct 19, 7:50 pm, antichrist ttlt...@gmail.com wrote: I launched my website using google app engine, but my user complain about connectivity. They said they can access site at sometime, but sometimecan't. I found thread below, but here(Korea) have no government issue. AppEngine timesout/connectionfailed when trying to access from China(http://groups.google.com/group/google-appengine/browse_thread/ thread/94f21927b928eedd/3b1faa3bcdaeb490?lnk=gstq=connection +fail#3b1faa3bcdaeb490) Can anyone think about reason?- 원본 텍스트 숨기기 - - 원본 텍스트 보기 - -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscrib...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscrib...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- ~*suyash*~- 원본 텍스트 숨기기 - - 원본 텍스트 보기 - -- 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-appeng...@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: Cound not acces my site. (times out / connection failed)
Here is South Korea (Republic of Korea) So No one have issue of China's Firewall. My users live in korea. On 10월20일, 오전5시11분, nickmilon nickmi...@gmail.com wrote: Most probably you have issues with China's Firewall. On Oct 19, 7:50 pm, antichrist ttlt...@gmail.com wrote: I launched my website using google app engine, but my user complain about connectivity. They said they can access site at sometime, but sometimecan't. I found thread below, but here(Korea) have no government issue. AppEngine timesout/connectionfailed when trying to access from China(http://groups.google.com/group/google-appengine/browse_thread/ thread/94f21927b928eedd/3b1faa3bcdaeb490?lnk=gstq=connection +fail#3b1faa3bcdaeb490) Can anyone think about reason?- 원본 텍스트 숨기기 - - 원본 텍스트 보기 - -- 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-appeng...@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: Cound not acces my site. (times out / connection failed)
Not always, but some time and some people. That is problem. And DashBoard error Ok, System Status Ok. Thanks for reply. On Oct 21, 1:52 am, Robert Kluin robert.kl...@gmail.com wrote: I have not had issues connecting to my apps from S. Korea. Robert 2010/10/20 antichrist ttlt...@gmail.com: Here is South Korea (Republic of Korea) So No one have issue of China's Firewall. My users live in korea. On 10월20일, 오전5시11분, nickmilon nickmi...@gmail.com wrote: Most probably you have issues with China's Firewall. On Oct 19, 7:50 pm, antichrist ttlt...@gmail.com wrote: I launched my website using google app engine, but my user complain about connectivity. They said they can access site at sometime, but sometimecan't. I found thread below, but here(Korea) have no government issue. AppEngine timesout/connectionfailed when trying to access from China(http://groups.google.com/group/google-appengine/browse_thread/ thread/94f21927b928eedd/3b1faa3bcdaeb490?lnk=gstq=connection +fail#3b1faa3bcdaeb490) Can anyone think about reason?- 원본 텍스트 숨기기 - - 원본 텍스트 보기 - -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine?hl=en.- 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-appeng...@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.
[appengine-java] Re: is createFederatedLoginURL() working?
I also trying to use this. In my case, I want to log in via my apps domain id (ex: exampl...@example.com), So HashSetString attributes = new HashSet(); attributes.add(openid.mode=checkid_immediate); attributes.add(openid.ns=http://specs.openid.net/auth/2.0;); attributes.add(openid.return_to=http://example.com;); userService.createFederatedLoginURL(example.com , requestUri, example.com, attributes)); And From this, created link is : http://example.com/_ah/login_redir?claimid=example.comcontinue=http://example.com/ When I clicked that link, it redirect to my apps domain login page, but after login complete it redirect to example.com but page not found error occured. I changed above link with modification and find claimid=example.com part is correct but continue=http://example.com/ is incorrect. But I can't figure out correct input. On 4월7일, 오전3시56분, Viðar Svansson vidarsv...@gmail.com wrote: Hi I just noticedcreateFederatedLoginURL() but could not find any documentation for it (except for JavaDoc). Is this intended for native support for Google Marketplace? Would really appreciate some documentation on this. I am trying this out in 1.3.2 but get an error, The API package 'user' or call 'CreateFederatedLoginURL()' was not found. Viðar On Sat, Mar 27, 2010 at 10:27 AM, dflorey daniel.flo...@gmail.com wrote: Hi, I'm trying to replace the Step2 stuff with the new createFederatedLoginURL(), but I just get server errors in the provided /_ah/ servlets. Are these methods supposed to work and can someone please post an example how to authenticate and authorize a user? Thanks a lot, Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en.- 원본 텍스트 숨기기 - - 원본 텍스트 보기 - -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Saving a GregorianCalendar object causes a java.lang.UnsupportedOperationException
I have same problem and I'm already using java.util.date. but in eclipse, debug as web application works, but run as web application makes same problem. my object looks like this @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Bidder { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Long id; @Persistent private String some; @Persistent private Integer some; @Persistent private Integer some; @Persistent private Long some; @Persistent private Date some; On 7월28일, 오전4시19분, Max Ross maxr+appeng...@google.com wrote: Thanks for the report. There are two things going on here. First, DataNucleus is doing something I don't understand with the meta-data that is being created for your GregorianCalendar field. I'll look into this. However, even if this problem didn't exist, the datastore doesn't support Calendar or any of its subtypes. This isn't a whitelisting issue - it's a data issue. A Calendar contains a TimeZone attribute, but the datastore represents a point in time as an int 64, so we can't just store the millisecond representation of the Calendar without potentially losing important data. The workaround is to use java.util.Date. Max On Sun, Jul 26, 2009 at 10:18 PM, alosii alo...@gmail.com wrote: The problem apparently happens at line 60 of your EntityUtils.class if (ammd.getColumnMetaData() != null ammd.getColumnMetaData ().length 0) { if (ammd.getColumnMetaData().length != 1) { //- BOOM!!! // TODO(maxr) throw something more appropriate throw new UnsupportedOperationException(); } My object looks like this: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Object{ @PrimaryKey private String someattribute; @Persistent private String someattribute; @Persistent private String someattribute; ... @Persistent private STATUS status; @Persistent private GregorianCalendar lastActiveTime; ... } I'm I doing something wrong? Last time i checked the GregorianCalendar was available: http://code.google.com/appengine/docs/java/jrewhitelist.html Any ideas would be great! Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---