<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 06/22/2010 09:08 AM, Pradeep Kilambi wrote:
<blockquote cite="mid:4C20B5D4.2000109@redhat.com" type="cite">
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
On 06/22/2010 12:15 AM, Jason L Connor wrote:
  <blockquote cite="mid:1277180151.2648.47.camel@localhost" type="cite">
    <pre wrap="">On Mon, 2010-06-21 at 17:14 -0700, Mike McCune wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">[mmccune@gibson pulptools{master}]$ sudo python pulpcli.py repo sync 
--label=test
Sync Status:: error
Sync Status:: error
Sync Status:: error
Sync Status:: error
Sync Status:: error
Sync Status:: error
Sync Status:: error
Sync Status:: error
^CTraceback (most recent call last):
   File "pulpcli.py", line 105, in <module>
     PulpCore().main()
   File "pulpcli.py", line 102, in main
     cmd.main()
   File "/home/mmccune/devel/pulp/src/pulptools/core/basecore.py", line 
43, in main
     self._do_core()
   File "/home/mmccune/devel/pulp/src/pulptools/core/core_repo.py", line 
131, in _do_core
     self._sync()
   File "/home/mmccune/devel/pulp/src/pulptools/core/core_repo.py", line 
193, in _sync
     time.sleep(5)
KeyboardInterrupt

never seemed to exit.  just looped on :: error

    </pre>
    </blockquote>
    <pre wrap="">
When the task is in errror, there's an exception and a traceback
associated with the status. Perhaps the cli can print those out when it
sees an error.

  </pre>
  </blockquote>
  <br>
I'll take a look at this today.<br>
  <br>
~ Prad<br>
</blockquote>
<br>
Fixed! If an error occurs, you should see something like this:<br>
<br>
$ pulp repo sync --label=test1174<br>
Sync Status:: error<br>
RepoError: Cannot retrieve repository metadata (repomd.xml) for
repository: test1174. Please verify its path and try again<br>
<br>
$<br>
</body>
</html>