I have 2 apps in GAE with python27 for windows 8.1, both simple websites. The 
addresses are guisboroughtennisclub.appspot.com (the ''live'' site) and 
spawood1.appspot.com, which I use for testing. i can no longer upload photos to 
either site because the launcher fails to deploy [see details of error screen 
below]. I originally started the apps using instructions from digital 
inspiration [www.labnol.org/internet/host-website-on-google-app-engine/18801] 
and the jpg files supplied with the sample app continue to be deployed without 
problem. However all images supplied by me (including the original images 
supplied by labnol which have been modified by me in some way and then restored 
to their original size etc via Ms Paint) cause a failure to deploy. This is a 
new problem as there are many of my photos on the ''live'' site 
(guisboroughtennisclub.appspot.com), but I am no longer able to update them. 
the test site (spawood1.appspot.com) shows the desired new content without 
photos (under the Guisborough Tennis Club section), except for the one borrowed 
from the Buddhism section. (Photos are in the same folder as the html) 
Converting the .jpg files to .png does not help. I assume its some 
incompatibility between GAE and MsPaint, but attempts to edit photos on an 
android tablet and transferring them directly to the project folder have also 
failed.





2014-10-05 05:58:20 Running command: "['C:\\Python27\\pythonw.exe', '-u', 
'C:\\Program Files (x86)\\Google\\google_appengine\\appcfg.py', '--no_cookies', 
u'--email=michael60mcmahon', '--passin', 'update', 
'C:\\Users\\michael\\Desktop\\optimism']"
05:58 AM Application: spawood1; version: 1
05:58 AM Host: appengine.google.com
05:58 AM 
Starting update of app: spawood1, version: 1
05:58 AM Getting current resource limits.
Password for michael60mcmahon: 05:58 AM Scanning files on local disk.
05:58 AM Cloning 7 static files.
05:58 AM Cloning 10 application files.
05:58 AM Uploading 3 files and blobs.
2014-10-05 05:58:29,740 ERROR appcfg.py:2583 An unexpected error occurred. 
Aborting. 
Traceback (most recent call last):
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2421, in 
DoUpload
    self._UploadMissingFiles(missing_files, openfunc)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2562, in 
_UploadMissingFiles
    self.blob_batcher.Flush()
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1458, in 
Flush
    self.SendBatch()
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1417, in 
SendBatch
    payload,
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal 
not in range(128)
05:58 AM Rolling back the update.
Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 126, in 
<module>
    run_file(__file__, globals())
  File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 122, in 
run_file
    execfile(_PATHS.script_file(script_name), globals_)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5400, in 
<module>
    main(sys.argv)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5391, in 
main
    result = AppCfgApp(argv).Run()
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2981, in 
Run
    self.action(self)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 5047, in 
__call__
    return method()
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3794, in 
Update
    self._UpdateWithParsedAppYaml(appyaml, self.basepath)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3847, in 
_UpdateWithParsedAppYaml
    self.UpdateVersion(rpcserver, basepath, appyaml, APP_YAML_FILENAME)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3732, in 
UpdateVersion
    return appversion.DoUpload(paths, openfunc)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2421, in 
DoUpload
    self._UploadMissingFiles(missing_files, openfunc)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2562, in 
_UploadMissingFiles
    self.blob_batcher.Flush()
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1458, in 
Flush
    self.SendBatch()
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 1417, in 
SendBatch
    payload,
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal 
not in range(128)
2014-10-05 05:58:30 (Process exited with code 1)

You can close this window now.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to