Ticket #326 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

"import platform" and Google App Engine

Reported by: vitaliy Owned by: nick
Priority: critical Milestone: 0.4
Component: Gateway Version: 0.3.1
Keywords: google app engine Cc:

Description (last modified by thijs) (diff)

I'm using DjangoGateway inside my application based on Google App engine

Since r1474 I got exception:

 'module' object has no attribute 'unlink'

The reason is I guess in importing platform module, somehow it trys to use unlink function (and google doesn't allow it) See pyamf/trunk/pyamf/remoting/gateway/__init__.py, Line 10

The only way I see is not include Python version into SERVER_NAME

Change History

Changed 2 months ago by vitaliy

The only way I see is not include Python version into "SERVER_NAME"

Or use sys.version string (or sys.version_info tupple)

Changed 2 months ago by nick

  • status changed from new to accepted

Changed 2 months ago by nick

See #317.

Changed 2 months ago by thijs

  • description modified (diff)

Changed 2 months ago by nick

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in r1499.

Note: See TracTickets for help on using tickets.