Hi Giacecco, Is there a reason you're not using the App Engine plugin for Eclipse? It handles all this for you: http://code.google.com/appengine/docs/java/tools/eclipse.html
-Nick Johnson On Wed, Aug 5, 2009 at 1:25 PM, Giacecco<[email protected]> wrote: > > All, I am using Eclipse 3.5.0, App Engine 1.2.2 and Python 2.5.x on > both a MacOS and a Linux desktops. On both I set up appcfg.py as an > 'external tool' to deploy my App Engine application without leaving > Eclipse. > > On MacOS everything works fine. On Linux (Ubuntu NR 9.04) the > execution of appcfg.py hangs after the 'Initiating update.' message > (probably to ask me my username / password, but it doesn't show), then > I press enter and it fails with the error messages below. > > The same call to appcfg.py, using the same parameters, works fine from > the command line. > > My guess is that there is an issue with Eclipse's way to manage the > standard output / input when running appcfg.py in one of its console > windows... but I don't know how to fix that. Any advice? > > Giacecco > > > 2009-08-05 13:20:30,857 ERROR appcfg.py:1241 An unexpected error > occurred. Aborting. > Traceback (most recent call last): > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1219, in DoUpload > missing_files = self.Begin() > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1014, in Begin > version=self.version, payload=self.config.ToYAML()) > File "/usr/local/google_appengine/google/appengine/tools/ > appengine_rpc.py", line 356, in Send > self._Authenticate() > File "/usr/local/google_appengine/google/appengine/tools/ > appengine_rpc.py", line 391, in _Authenticate > super(HttpRpcServer, self)._Authenticate() > File "/usr/local/google_appengine/google/appengine/tools/ > appengine_rpc.py", line 269, in _Authenticate > credentials = self.auth_function() > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1540, in GetUserCredentials > password = self.password_input_fn(password_prompt) > File "/usr/lib/python2.5/getpass.py", line 32, in unix_getpass > old = termios.tcgetattr(fd) # a copy to save > error: (22, 'Invalid argument') > Traceback (most recent call last): > File "/usr/local/google_appengine/appcfg.py", line 60, in <module> > run_file(__file__, globals()) > File "/usr/local/google_appengine/appcfg.py", line 57, in run_file > execfile(script_path, globals_) > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 2215, in <module> > Email: main(sys.argv) > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 2206, in main > result = AppCfgApp(argv).Run() > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1424, in Run > self.action(self) > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 2102, in __call__ > return method() > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1679, in Update > lambda path: open(os.path.join(basepath, path), "rb")) > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1219, in DoUpload > missing_files = self.Begin() > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1014, in Begin > version=self.version, payload=self.config.ToYAML()) > File "/usr/local/google_appengine/google/appengine/tools/ > appengine_rpc.py", line 356, in Send > self._Authenticate() > File "/usr/local/google_appengine/google/appengine/tools/ > appengine_rpc.py", line 391, in _Authenticate > super(HttpRpcServer, self)._Authenticate() > File "/usr/local/google_appengine/google/appengine/tools/ > appengine_rpc.py", line 269, in _Authenticate > credentials = self.auth_function() > File "/usr/local/google_appengine/google/appengine/tools/appcfg.py", > line 1540, in GetUserCredentials > password = self.password_input_fn(password_prompt) > File "/usr/lib/python2.5/getpass.py", line 32, in unix_getpass > old = termios.tcgetattr(fd) # a copy to save > termios.error: (22, 'Invalid argument') > > > > -- Nick Johnson, Developer Programs Engineer, App Engine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
