Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-13 Thread Pravin Singh
On 7 Nov 2014 23:48, PK p...@gae123.com wrote: wrt off topic As I have stated before, when I start working on a new project I always try to understand what is the developers' primary development environment and use the same or similar. This avoids too much bleeding especially for bleeding

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-08 Thread Kaan Soral
Here is the final solution to the issue, I suggest the file_blob_storage modification and renaming the existing files for everyone, it's extremely clumsy to utilize special characters in file names (macos seems to handle / in the file name, don't know why / is used instead of : as windows, the

[google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread Kaan Soral
Well, it turns out the gcs files were never written to the blobstore directory, I'm hunting where they are, I have a hunch they are in the db.rdbms, hoping they are in a separate temp directory instead (my last blobstore update was from 05/2013) However on the mac dev_appserver, they are

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread PK
Hi Kaan, do you have the latest app engine GCS SDK? The docs say that the SDK is in googlecode but it seems it has moved in github here.  This past week I switched my development environment from native mac (and native linux on another machine) to native docker. I need to write up about the

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread Kaan Soral
Hi PK That is exactly what I'm trying to do, thanks for the reply The SDK/GCS serving part seems to be separate from the upload/library logic, If I'm not mistaken, so my issue is currently the serving part (offtopic, I seem to be manually modifying the cloudstorage library for the serving url

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread PK
Sorry I cannot help there, I hope there is a way that is not too much trouble.  I have never trusted compatibility of the SDK format on the disk, I assume it can break in a moment’s notice between releases even in the same platform. So I have an import/export tool that I use for data

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread Kaan Soral
Well checking the blobstore's n folder now, I see that the 0byte/empty ncoded_gs_file updated when I uploaded the photo So I'm guessing there is a file access issue, the images are likely on another dimension :) I've checked the folder with cygwin too, no trace of the images, I'm guessing

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread PK
wrt “off topic” As I have stated before, when I start working on a new project I always try to understand what is the developers' primary development environment and use the same or similar. This avoids too much bleeding especially for bleeding edge technologies. So I never used GAE on windows.

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread Kaan Soral
Thanks anyway That is actually a great approach, I considered that a couple of times myself, I use the same approach with other platforms, but compared to them, GAE/SDK is extremely stable, the GCS issue is a shame, whoever implemented it should be ashamed, other than that, things seem pretty

Re: [google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-07 Thread Kaan Soral
Really looking forward to that article :) I guess you could also backup, upgrade and restore a mac, if things doesn't go your way with an upgrade, however downgrading the os itself would be a challenge I guess (haven't tried/researched the process myself, I hope the installation restores the

[google-appengine] Re: Switched from Windows to Mac - blobstore issues - /n/ncoded_gs_file

2014-11-06 Thread Kaan Soral
Off topic, if there is anyone around thinking of making the switch, the sqlite datastore seems to be compatible with mac os, the blobstore is compatible, the only issue seems to be this, for a direct switch macports py27-lxml + py27-pil + using the python2.7 of macports solves the