Fixed
Status Update
Comments
ma...@gmail.com <ma...@gmail.com> #4
Attached is a screenshot of the blob view showing a 26MB CSV file, which is apparently too big for preview, and no download link is shown.
I don't know what the size limit is before it becomes "too large for preview", but I've got loads of >500MB files and none of them are downloadable.
I don't know what the size limit is before it becomes "too large for preview", but I've got loads of >500MB files and none of them are downloadable.
rv...@gmail.com <rv...@gmail.com> #5
Google, please re-open this.
[Deleted User] <[Deleted User]> #6
This is pretty much by design.
If you want something, you can roll your own download handler and protect it with the correct settings in the app.yaml file so that only admins can access the URL.
If you want something, you can roll your own download handler and protect it with the correct settings in the app.yaml file so that only admins can access the URL.
br...@google.com <br...@google.com> #7
I really doubt that this is by design.
This is clearly just a very minor bug caused by the download link being accidentally placed inside inside the `if` statement which removes the preview if the file is too big.
The template is going to be something like this...
{% if file.size<= MAX_FILE_SIZE_FOR_PREVIEW %}
{% include "preview_template.html" %}
<a href="//blobstore/download?app_id={{app_id}}&key={{file.key}}">Download</a>
{% endif %}
You just need to move the link tag outside of the `if` statement!
This is clearly just a very minor bug caused by the download link being accidentally placed inside inside the `if` statement which removes the preview if the file is too big.
The template is going to be something like this...
{% if file.size<= MAX_FILE_SIZE_FOR_PREVIEW %}
{% include "preview_template.html" %}
<a href="//blobstore/download?app_id={{app_id}}&key={{file.key}}">Download</a>
{% endif %}
You just need to move the link tag outside of the `if` statement!
[Deleted User] <[Deleted User]> #8
Even with a handler I'm unable to send a blob back that is larger than 32mb. Isn't send_blob supposed to handle dowloading large files?
ja...@gmail.com <ja...@gmail.com> #9
yes send_blob can send blobs of unlimited size.
ni...@gmail.com <ni...@gmail.com> #10
Our mp3 handler is failing though for mp3's larger than 32mb. Also strange is that the appengine logs claim the http response is 200 but the browser says there is a an ISE 500. Tried multiple browsers and blobs.
class Mp3Handler(blobstore_handlers.BlobstoreDownloadHandler):
def get(self, mp3_key):
key = urllib.unquote_plus(mp3_key)
self.send_blob(key)
class Mp3Handler(blobstore_handlers.BlobstoreDownloadHandler):
def get(self, mp3_key):
key = urllib.unquote_plus(mp3_key)
self.send_blob(key)
Description
demonstration page if at all possible, or attach code.
1.
Should return "Студенческая" in result (Subway station Studencheskaya in Moscow)
2.
Should return "Киевский вокзал" and "Киевская"in result (Kiyevskiy Vokzal and Subway station Kiyevskaya in Moscow)
Happens for most of Subway Stations in Moscow
*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************