0
votes
0answers
3 views

Are blob_key's for GCS entities safe to use later?

Here is the reference: https://developers.google.com/appengine/docs/python/blobstore/functions#create_gs_key When you upload a file to a BlobstoreUploadHandler, there is a blob_key stored in the ...
0
votes
0answers
4 views

How to get FileInfo/gcs file_name for files uploaded via BlobstoreUploadHandler?

blobstore.parse_file_info(cgi.FieldStorage()['file']) method doesn't work for BlobstoreUploadHandler, the FieldStorage seems to be for regular uploads There is no gcs filename information inside the ...
1
vote
1answer
22 views

Implement Python 3's round function in Python 2.7

I am using some old codes written in Python 3 in my Google-App-Engine project which is using Python 2.7. The different round() algorithms in Python 3 and Python 2 gives me a headache. Is there any ...
0
votes
0answers
10 views

Are GCS files supposed to show up on Blob Viever?

I'm uploading test files to url's from blobstore.create_upload_url with gs_bucket_name parameter They show up on the bucket, however they also show up on the Blob Viwever in the Admin Console. The ...
0
votes
1answer
17 views

How do I import the Dropbox SDK into a Google App Engine application?

I want the line import dropbox to work. I downloaded the Python Core API from Dropbox, and copied the contents of the zip file into my (otherwise working) app's folder. When I run my app, it gives ...
0
votes
0answers
11 views

Hanging on last Backend (or Module) memcache writes until /_ah/stop

I have a batch processing Backend (B4) on python27 runtime with threading enabled. It does a bunch of unpickle/pickle and Numpy/array stuff. Recently I noticed that I was getting much higher backend ...
0
votes
1answer
30 views

Google App Engine shows notice to Upgrade Python to 2.7 [on hold]

I hope this posting is in the right location. I am very new to Google App Engine, in fact its part of a iOS Application that I purchased from another developer, so bear with me please. The iOS ...
4
votes
1answer
52 views

Does an AppEngine Transaction need to perform a get and a put operation for it to be useful?

Two code examples (simplified): .get outside the transaction (object from .get passed into the transactional function) @db.transactional def update_object_1_txn(obj, new_value): obj.prop1 = ...
0
votes
1answer
27 views

Python GAE Requests not returning cookies after get request

I have written a project in python which I am now in the process of moving to google app engine. The problem that occurs is when I run this code on GAE: import requests from google.appengine.api ...
0
votes
2answers
29 views

How to implement a 'before' hook that can output an alternative response?

Need to do some authentication checks before deciding what content to display. Ideally, I'd like to have a restrictive base handler, that would implement the "before" hook that could show an ...
0
votes
2answers
29 views

Import Module CSRF issue: Django

Short Notes - I'm trying to call from django.middleware import csrf at python shell. its throwing/showing a message. See shell code: C:\>python Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC ...
0
votes
1answer
28 views

Large File (more than ~2 Mb) Upload - raises error “Key 'data_file' not found in <MultiValueDict: {}>” : Google App Engine/Python

Quick notes - I'm trying to upload random size files to save at datastore using GAE. Here is basic code: HTML Code <iframe name="upload_iframe" src="" style="display:none;"></iframe> ...
1
vote
1answer
25 views

Google App Engine database check if row exists by field

Using Google App Engine with python and their database, and trying to simply see if a given row already exists. result = db.GqlQuery( "SELECT phone WHERE phone = :1", ...
1
vote
1answer
45 views

Syntax error with a simple Python import

My GF is trying to follow the Udacity's Web Development course but she ran into a problem. And I can't solve it. It's just at the start when one has to create a "hello world" Python script that runs ...
0
votes
1answer
28 views

Python IMAPClient/imaplib search unicode issue

I'm using the IMAPClient library, but I'm getting UnicodeEncodeError when doing a search. Below is a snippet and the stack trace: imap_client = imapclient.IMAPClient('imap.gmail.com', use_uid=True, ...

1 2 3 4 5 432
15 30 50 per page