Issue 4109 filed.

Since this seems to be a regression, (ie exactly the same code works
with 1.3.x) I think you should give it high pri.

Thanks for the consideration

On Nov 21, 4:21 pm, "Nick Johnson (Google)" <[email protected]>
wrote:
> Hi PK,
>
> Can you please file a bug with the server-side stacktrace, and the
> (datastore?) call you were trying to execute at the time?
>
> Thanks,
>
> Nick Johnson
>
>
>
>
>
>
>
>
>
> On Sun, Nov 21, 2010 at 10:43 AM, PK <[email protected]> wrote:
> > The new features sound very exciting. However, as I routinely do with
> > the prereleases I put it through the test suite of my python app and
> > this time it failed. I include the traces below, please contact me if
> > you need more details.
>
> > ***** SERVER SIDE *******
> > EBUG    2010-11-20 23:09:57,694 dev_appserver.py:2105] Reusing main()
> > function of module "google.appengine.ext.remote_api.handler"
> > ERROR    2010-11-20 23:09:57,695 handler.py:225] Exception while
> > handling service_name: "remote_datastore"method: "Transaction"
> > request <
> >  "\"\000*321j\nneatschoolr#\013\022\006Domain
> > \"\003ID1\014\013\022\010Location\"\006ID1000\014">
> > Traceback (most recent call last):
> >  File ".../downloads/google_appengine/google_appengine_1.4_prerelease/
> > google/appengine/ext/remote_api/handler.py", line 221, in post
> >    response_data = self.ExecuteRequest(request)
> >  File ".../downloads/google_appengine/google_appengine_1.4_prerelease/
> > google/appengine/ext/remote_api/handler.py", line 249, in
> > ExecuteRequest    response_data)  File ".../out/google_appengine/
> > google/appengine/api/apiproxy_stub.py", line 80, in MakeSyncCall  File
> > ".../downloads/google_appengine/google_appengine_1.4_prerelease/google/
> > appengine/ext/remote_api/handler.py", line 144, in
> > _Dynamic_Transaction    self.__call('datastore_v3', 'Put',
> > put_request, response)  File ".../out/google_appengine/google/
> > appengine/api/apiproxy_stub_map.py", line 86, in MakeSyncCall  File
> > ".../out/google_appengine/google/appengine/api/apiproxy_stub_map.py",
> > line 286, in Mak
> > eSyncCall
> >  File ".../out/google_appengine/google/appengine/api/
> > apiproxy_rpc.py", line 149, in _WaitImp
> > l
> >  File ".../downloads/google_appengine/google_appengine_1.4_prerelease/
> > google/appengine/api/datastore_file_stub.py"
> > , line 616, in MakeSyncCall    response)
> >  File ".../out/google_appengine/google/appengine/api/
> > apiproxy_stub.py", line 80, in MakeSyncCall
> >  File ".../downloads/google_appengine/google_appengine_1.4_prerelease/
> > google/appengine/api/datastore_file_stub.py", line 677, in
> > _Dynamic_Put
> >    datastore_stub_util.PrepareSpecialPropertiesForStore(clone)
> > UnboundLocalError: local variable 'clone' referenced before assignment
>
> > **** CLIENT SIDE  *********
>
> > ERROR: test_with_location
>
> > (test_employee.EmployeeTestCase)------------------------------------------- 
> > ---------------------------
> > Traceback (most recent call last)
> >  File "/opt/local/lib/python2.5/site-packages/logilab/common/
> > testlib.py", line 1224, in _proceed    testfunc(*args, **kwargs)
> >  File ".../school/tests/test_employee.py", line 240, in
> > test_with_location
> >    lt.delete(True)  File ".../school/tests/test_location.py", line
> > 15, in delete
> >    self.ent_loc.delete()
> >  File ".../out/site/swplatform/util/db/transaction.py", line 279, in
> > new    ret = run_in_new_or_current(meth, *args, **kws)
> >  File ".../out/site/swplatform/util/db/transaction.py", line 76, in
> > run_in_new_or_current
> >    return run_in_new(function, *args, **kwargs)  File ".../out/site/
> > swplatform/util/db/transaction.py", line 110, in run_in_new
> >    rr = db.run_in_transaction(_run_in_new, function, *args, **kwargs)
> >  File ".../out/google_appengine/google/appengine/api/datastore.py",
> > line 1981, in RunInTransaction
> >    DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
> >  File ".../out/google_appengine/google/appengine/api/datastore.py",
> > line 2067, in RunInTransactionCustomRetries
> >    ok, result = _DoOneTry(new_connection, function, args, kwargs)
> >  File ".../out/google_appengine/google/appengine/api/datastore.py",
> > line 2105, in _DoOneTry
> >    if new_connection.commit():
> >  File ".../out/google_appengine/google/appengine/datastore/
> > datastore_rpc.py", line 1505, in commit
> >    return rpc.get_result()
> >  File ".../out/google_appengine/google/appengine/api/
> > apiproxy_stub_map.py", line 529, in get
> > _result
> >    return self.__get_result_hook(self)
> >  File ".../out/google_appengine/google/appengine/datastore/
> > datastore_rpc.py", line 1528, in
> > __commit_hook
> >    rpc.check_success()
> >  File ".../out/google_appengine/google/appengine/api/
> > apiproxy_stub_map.py", line 501, in check_success
> >    self.__rpc.CheckSuccess()
> >  File ".../out/google_appengine/google/appengine/api/
> > apiproxy_rpc.py", line 149, in _WaitImpl
> >    self.request, self.response)  File ".../downloads/google_appengine/
> > google_appengine_1.4_prerelease/google/appengine/ext/remote_api/
> > remote_api_s
> > tub.py", line 224, in MakeSyncCall
> >    handler(request, response)
> >  File ".../downloads/google_appengine/google_appengine_1.4_prerelease/
> > google/appengine/ext/remote_api/remote_api_s
> > tub.py", line 404, in _Dynamic_Commit
> >    tx, datastore_pb.PutResponse())
> >  File ".../downloads/google_appengine/google_appengine_1.4_prerelease/
> > google/appengine/ext/remote_api/remote_api_s
> > tub.py", line 156, in MakeSyncCall
> >    self._MakeRealSyncCall(service, call, request, response)
> >  File ".../downloads/google_appengine/google_appengine_1.4_prerelease/
> > google/appengine/ext/remote_api/remote_api_s
> > tub.py", line 176, in _MakeRealSyncCall
> >    raise pickle.loads(response_pb.exception().contents())
> > UnboundLocalError: local variable 'clone' referenced before assignment
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047

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

Reply via email to