[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Anyone ever seen this?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I figured out what it was, my /etc/pulp/client.conf was out of date.

In the future, please try to drop a note to the mailing list when either
/etc/pulp/client.conf or /etc/pulp/pulp.conf change.

I know the developer setup script symlinks these and it works in most
cases, but if we need to change them locally for whatever reason (in my
case, for the CDS development), we need to copy them instead so that we
don't accidentally commit our changes to git. So unless we know to
manually go in and update these files, we're going to run into these
sorts of issues that no one else sees, which is what bit me here.

Thanks  :)

On 02/21/2011 10:39 AM, Jay Dobies wrote:
> I'm seeing this off of master, does it look familiar to anyone?
> 
> pulp-admin auth login -u admin -p admin
> Traceback (most recent call last):
>   File "/usr/bin/pulp-admin", line 7, in <module>
>     execfile(__file__)
>   File "/home/jdob/code/pulp/bin/pulp-admin", line 149, in <module>
>     admin.main()
>   File "/home/jdob/code/pulp/src/pulp/client/cli/base.py", line 137, in main
>     command.main(args[1:])
>   File "/home/jdob/code/pulp/src/pulp/client/core/base.py", line 118, in
> main
>     action.main(args[1:])
>   File "/home/jdob/code/pulp/src/pulp/client/core/base.py", line 224, in
> main
>     self.run()
>   File "/home/jdob/code/pulp/src/pulp/client/core/auth.py", line 46, in run
>     cert_dict = self.user_api.admin_certificate()
>   File "/home/jdob/code/pulp/src/pulp/client/api/user.py", line 53, in
> admin_certificate
>     return self.server.GET(path)[1]
>   File "/home/jdob/code/pulp/src/pulp/client/server.py", line 269, in GET
>     return self._request('GET', path, queries)
>   File "/home/jdob/code/pulp/src/pulp/client/server.py", line 226, in
> _request
>     url = self._build_url(path, queries)
>   File "/home/jdob/code/pulp/src/pulp/client/server.py", line 214, in
> _build_url
>     if not path.startswith(self.path_prefix):
> TypeError: expected a character buffer object
> 
> 

_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list


- -- 
Jay Dobies
RHCE# 805008743336126
Freenode: jdob
http://pulpproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNYooPAAoJEOMmcTqOSQHC4jcH/i38RTmnMBlwY/UJdiRyvLZs
TLNg4+kOlI995x0fIGt0jHaOWkYAjstL+nmlwq2u7dXQt19o4M4g6IxOyhoA22Mi
1pzMepej0eynZaYNLpxNEbOm9UPPiTAz9vw1Tq6Z8Qa9hjD9/+JEn699TQagUW0u
7bJj51LHZ51tHmUHHcinszIhrS2Y6QDeSoNT1ss+QAFML2YPpv6QhyRG2PmK2/ba
xg5+LI7XwrtOwpJ5Mgu8+3JxnJpTP7jFxbzDEcy4e/kK05Y22BY8ZKGMVDVISB8e
F1YBi0fE27AJ04mweERkqoGBQ8Wc8fvma62EBrmtRrEeTgWqpFKRkJallsVQH28=
=xPkY
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]