Hello there ... i have a small problem reading blobs and i can't
figure out whats the problem.
So this is my part of the code (Java):

            FileService fileService = FileServiceFactory.getFileService();
            AppEngineFile file;
            file = fileService.getBlobFile(bkey);
            boolean lock = false;
            FileReadChannel readChannel = null;

            readChannel = fileService.openReadChannel(file, lock);

The error i get is a FileNotFoundException at the openReadChannel
function.
I checked the BlobKey (bkey) and that key exists(thats why getBlobFile
does not fail with that FileNotFoundException).
I tried many possible ways, but just can't read the blob-files i write
into the blobstore.
Although it seems to create the blob files in the "appengine-
generated" folder i have no luck at all to get the content of those
files.

The variable "bkey" gets loaded from an entry in a datastore(its kinda
like a foreign key ).
Not shure if that could create the problem but because
fileService.getBlobFile does not fail i think thats not the problem.

The problem appears online and localy ...

Btw:
Another problem happens at my online data viewer:
I'm not able to see any new records for some reason, although i can
read them through my application.

Hope somebody of you can help me.
(Sorry if there are still some writing-mistakes inside but english is
not my main language)

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

Reply via email to