[google-appengine] Re: illegal seek - error

2011-11-08 Thread Droid
I am answer my own question.
 I found this (not-nice line for MACs) line in my py code:

reload(sys); sys.setdefaultencoding('utf-8') # DO NOT USE ON A MAC!!

For some reason this reload is OK on Windows and the GAE but not on
 the Mac local version - errors it out.

I do not know why MacBook Airs (Lion) do not like this.

I can understand why I got no replies now. ha ha!

Droid

On Oct 3, 7:42 am, Droid rod...@gmail.com wrote:
 I am getting an illegal seek error on a MacBook Air Lion OS. Did not
 happen with everything the same but on Windows.

 Anyone know anything about this error? Here is the log:

 ERROR    2011-10-03 07:40:28,943 dev_appserver.py:4200] Exception
 encountered handling request
 Traceback (most recent call last):
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/tools/dev_appserver.py, line 4143, in _HandleRequest
     self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/tools/dev_appserver.py, line 4049, in _Dispatch
     base_env_dict=env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/tools/dev_appserver.py, line 616, in Dispatch
     base_env_dict=base_env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/tools/dev_appserver.py, line 3120, in Dispatch
     self._module_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/tools/dev_appserver.py, line 3024, in ExecuteCGI
     reset_modules = exec_script(handler_path, cgi_path, hook)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
 GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
 google/appengine/tools/dev_appserver.py, line 2896, in
 ExecuteOrImportScript
     sys.stdout.seek(0)
 IOError: [Errno 29]Illegal seek

-- 
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.



[google-appengine] Re: illegal seek - error

2011-10-30 Thread Droid
Not disk space error - its a new Mac. Permissions? Not sure, no idea
where to start with that.
At present I am doing App Engine stuff on an old Windows machine.



On Oct 3, 1:36 pm, Joshua Smith joshuaesm...@charter.net wrote:
 Have you tried deleting and re-installing the launcher? This could be as 
 simple as having run out of disk space when you installed, or a permissions 
 issue.

 On Oct 3, 2011, at 3:42 AM, Droid wrote:







  I am getting an illegal seek error on a MacBook Air Lion OS. Did not
  happen with everything the same but on Windows.

  Anyone know anything about this error? Here is the log:

  ERROR    2011-10-03 07:40:28,943 dev_appserver.py:4200] Exception
  encountered handling request
  Traceback (most recent call last):
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 4143, in _HandleRequest
     self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 4049, in _Dispatch
     base_env_dict=env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 616, in Dispatch
     base_env_dict=base_env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 3120, in Dispatch
     self._module_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 3024, in ExecuteCGI
     reset_modules = exec_script(handler_path, cgi_path, hook)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 2896, in
  ExecuteOrImportScript
     sys.stdout.seek(0)
  IOError: [Errno 29] Illegal seek

  --
  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 
  athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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.



[google-appengine] Re: illegal seek - error

2011-10-03 Thread Droid

its probably a permissions error- but which folder needs which
permission?
I have not seen any instructions about that. I just clicked the GAE
dmg file.

Bill


On Oct 3, 2:36 pm, Joshua Smith joshuaesm...@charter.net wrote:
 Have you tried deleting and re-installing the launcher? This could be as 
 simple as having run out of disk space when you installed, or a permissions 
 issue.

 On Oct 3, 2011, at 3:42 AM, Droid wrote:



  I am getting an illegal seek error on a MacBook Air Lion OS. Did not
  happen with everything the same but on Windows.

  Anyone know anything about this error? Here is the log:

  ERROR    2011-10-03 07:40:28,943 dev_appserver.py:4200] Exception
  encountered handling request
  Traceback (most recent call last):
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 4143, in _HandleRequest
     self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 4049, in _Dispatch
     base_env_dict=env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 616, in Dispatch
     base_env_dict=base_env_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 3120, in Dispatch
     self._module_dict)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 3024, in ExecuteCGI
     reset_modules = exec_script(handler_path, cgi_path, hook)
   File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
  GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
  google/appengine/tools/dev_appserver.py, line 2896, in
  ExecuteOrImportScript
     sys.stdout.seek(0)
  IOError: [Errno 29] Illegal seek

  --
  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 
  athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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.