astropy/astroquery — pull request #184 by keflavich (2013-08-16 20:32:54+00:00)
Title: `test_query` in `besancon` hangs

`test_query` for `besancon` hangs for me locally. From the test runner I don't see anything ... from the IPython console I see this:
```
In [2]: besancon.Besancon.query(0,0,'adam.g.ginsburg@gmail.com')
Awaiting Besancon file...
^CERROR: KeyboardInterrupt [astroquery.besancon.core]150.0s, total wait time 168.0)
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
in ()
----> 1 besancon.Besancon.query(0,0,'adam.g.ginsburg@gmail.com')

/Users/deil/code/astroquery/astroquery/utils/class_or_instance.pyc in (*args, **kwds)
21 f = lambda *args, **kwds: self.fn(obj, *args, **kwds)
22 else:
---> 23 f = lambda *args, **kwds: self.fn(cls, *args, **kwds)
24 functools.update_wrapper(f, self.fn)
25 return f

/Users/deil/code/astroquery/astroquery/utils/process_asyncs.pyc in newmethod(self, *args, **kwargs)
27 verbose = False
28 response = getattr(self,async_method_name)(*args,**kwargs)
---> 29 result = self._parse_result(response, verbose=verbose)
30 return result
31

/Users/deil/code/astroquery/astroquery/utils/class_or_instance.pyc in (*args, **kwds)
21 f = lambda *args, **kwds: self.fn(obj, *args, **kwds)
22 else:
---> 23 f = lambda *args, **kwds: self.fn(cls, *args, **kwds)
24 functools.update_wrapper(f, self.fn)
25 return f

/Users/deil/code/astroquery/astroquery/besancon/core.py in _parse_result(self, response, verbose, retrieve_file)
162
163 if retrieve_file:
--> 164 return self.get_besancon_model_file(filename)
165 else:
166 return filename

/Users/deil/code/astroquery/astroquery/utils/class_or_instance.pyc in (*args, **kwds)
21 f = lambda *args, **kwds: self.fn(obj, *args, **kwds)
22 else:
---> 23 f = lambda *args, **kwds: self.fn(cls, *args, **kwds)
24 functools.update_wrapper(f, self.fn)
25 return f

/Users/deil/code/astroquery/astroquery/besancon/core.py in get_besancon_model_file(self, filename, verbose, timeout)
124 sys.stdout.write(u"Waiting %0.1fs for model to finish (elapsed wait time %0.1fs, total wait time %0.1f)\r" % (self.ping_delay,elapsed_time,time.time()-t0))
125 sys.stdout.flush()
--> 126 time.sleep(self.ping_delay)
127 elapsed_time += self.ping_delay
128 continue

KeyboardInterrupt:
```