Open GoogleCodeExporter opened 8 years ago
Same problem. Used to work great.
The following shows up in my Eclipse console while running:
INFO 2013-03-20 15:17:39,366 api_server.py:152] Starting API server at:
http://localhost:49327
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-def
ault.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappser
ver2/file_watcher.py:97: UserWarning: Detecting source code changes is not
supported because your Python version does not include PyObjC
(http://pyobjc.sourceforge.net/). Please install PyObjC or, if that is not
practical, file a bug at
http://code.google.com/p/appengine-devappserver2-experiment/issues/list.
warnings.warn('Detecting source code changes is not supported because '
INFO 2013-03-20 15:17:39,388 dispatcher.py:98] Starting server "default"
running at: http://192.168.1.11:8080
Original comment by j...@powerweek.com
on 20 Mar 2013 at 3:34
Why not install PyObjC then?
Original comment by KaanSo...@gmail.com
on 21 Mar 2013 at 7:08
Understood.
I'd rather not spend time/space installing XCode to compile the PyObjC source
just so I can get back to functionality I had 2 days ago. But such is the
price of progress at times.
I'll keep an eye out for quicker solutions a while longer, then give that a try.
Original comment by j...@powerweek.com
on 21 Mar 2013 at 5:17
SImilar issue: Python says pyobjc is installed:
<<$ easy_install -U pyobjc
Searching for pyobjc
Reading http://pypi.python.org/simple/pyobjc/
Reading http://pyobjc.sourceforge.net/
Reading http://pyobjc.sourceforge.net/software/index.php
Best match: pyobjc 2.5.1
Processing pyobjc-2.5.1-py2.6.egg
pyobjc 2.5.1 is already the active version in easy-install.pth
Using /Library/Python/2.6/site-packages/pyobjc-2.5.1-py2.6.egg
Processing dependencies for pyobjc
Finished processing dependencies for pyobjc
>>
But dev_appserver.py says it is not:
<</Users/elliott/go/google_appengine/google/appengine/tools/devappserver2/file_w
atcher.py:97: UserWarning: Detecting source code changes is not supported
because your Python version does not include PyObjC
(http://pyobjc.sourceforge.net/). Please install PyObjC or, if that is not
practical, file a bug at
http://code.google.com/p/appengine-devappserver2-experiment/issues/list.
warnings.warn('Detecting source code changes is not supported because '
>>
... so I am reporting the error as requested (OSX 10.6.8)
... everything was working fine before I upgraded, now I wish I had not!
Original comment by Elliott....@gmail.com
on 23 Mar 2013 at 6:03
"Why not install PyObjC then?" was a pretty idiot thing to say, after saying
it, I admit that installing packages is challenging, I think your default
python version is 2.6, however sdk is using 2.5 or 2.7 (probably 2.7), so I
guess, If you want a quick solution, you should google "how to install python
packages for a different python version" or something, on windows I just run
Python27/python.exe setup.py install or something
Original comment by KaanSo...@gmail.com
on 23 Mar 2013 at 6:07
Thank you, clearly you are right, having upgraded from Python 2.6 to 2.7 in
order to use the new SDK I now have the wrong version of the library... If only
I were a Python expert instead of trying to learn Go!
I've no idea how to fix the problem, but will google as you suggest...
Original comment by Elliott....@gmail.com
on 23 Mar 2013 at 6:31
Hurrah! Back working again now.
Just in case anyone else has the same problem here is how I fixed it:
Ignore the specific instructions for installation indirectly pointed to by the
error message from dev_appserver.py at:
http://pythonhosted.org/pyobjc/install.html#support-versions
Instead use the general instructions at:
http://docs.python.org/2/install/index.html
Check you are using the right version of python (2.7) with$ "which python"
For each of the following downloads, after downloading run$ "python setup.py
install"
1)https://pypi.python.org/pypi/distribute
2)https://pypi.python.org/pypi/pyobjc-core
3)https://pypi.python.org/pypi/pyobjc
I have no idea if this is the "correct" way to fix the problem, but it seems to
have worked for me...
Original comment by Elliott....@gmail.com
on 23 Mar 2013 at 7:54
I´m having the same problems... The easy-install route did not work for me
either (it installs correctly, but there is the the GAE Message).
the default python version is 2.5 (which several people recommended to leave
that way)
localhost:app tom$ python
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
But py 2.6 and 2.7 are also available:
localhost:app tom$ python2.6
Python 2.6.7 (r267:88850, Oct 11 2012, 20:15:00)
localhost:app tom$ python2.7
Python 2.7.2 (default, Feb 4 2012, 19:46:56)
I assume the issue is that the recommended easy-install setup only works for
the default python version installed?
Original comment by tho...@colldo.com
on 24 Mar 2013 at 7:19
So, I´ve worked out a way to get easy-install working with py2.7:
sudo easy_install-2.7 -U pyobjc
Which installed it, but did not work with GAE.
I´ve had to install setuptools first by downloading the version at:
https://pypi.python.org/pypi/setuptools#downloads
->
https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md
5=fe1f997bc722265116870bc7919059ea
and then executing:
sudo sh setuptools-0.6c11-py2.7.egg
sudo easy_install-2.7 -U pyobjc
Which now fixed it for me.
Original comment by tho...@colldo.com
on 24 Mar 2013 at 7:41
I have the same issue now running under Python 2.7 and GAE under Windows 7,
using webapp2. When I used the olde webapp and an earlier version of GAE, I did
not have this problem. Other frameworks such as Webware for Python gives you
the option to specify "DEBUG" mode so no code is cached, any changes will be
detected when you reload a page. Why can't GAE do something simple like this?
Original comment by h...@mondoaccess.com
on 6 Aug 2015 at 12:23
Original issue reported on code.google.com by
p...@gae123.com
on 17 Mar 2013 at 6:01