You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, I hope appengine magic continues to evolve as it fills a big gap and is very helpful. In any case, we just started using the FileService api to read and write files to the blobstore, as referenced here:
It works perfectly in production, but does not appear to be compatible with appengine magic. For example, .createNewBlobFile works fine, but .openWriteChannel throws the following exception:
java.lang.NullPointerException
at com.google.appengine.tools.development.RequestEndListenerHelper.register(RequestEndListenerHelper.java:39)
at com.google.appengine.api.files.dev.LocalFileService.open(LocalFileService.java:247)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
running version 0.5.0.
The text was updated successfully, but these errors were encountered:
Great to hear, really glad the next version is alive and well. If you'd like to point me in the right direction or outline how you'd like to have it implemented i'll see what we can do about a patch in the meantime. Any ballpark for the next version?
Start by implementing a wrapper for the App Engine FileService, using any existing service wrapper as a guide for what it needs to do. Then look in appengine_magic/services/blobstore.clj for where you'd write the appropriate entry point. A complete patch needs to work with production and the interactive REPL mode.
I guess a patch on top of 0.5.0 would be fine, since recent App Engine changes have made the master branch fall pretty far behind. Though I'd really like to get all those problems fixed, too. I've been pretty busy with consulting projects lately, so no real ETA for the next version.
First off, I hope appengine magic continues to evolve as it fills a big gap and is very helpful. In any case, we just started using the FileService api to read and write files to the blobstore, as referenced here:
https://developers.google.com/appengine/docs/java/blobstore/overview#Writing_Files_to_the_Blobstore
It works perfectly in production, but does not appear to be compatible with appengine magic. For example, .createNewBlobFile works fine, but .openWriteChannel throws the following exception:
running version 0.5.0.
The text was updated successfully, but these errors were encountered: