#5358 May I please have xml-rpc/admin rights to the fpaste trac?
Closed: Fixed None Opened 7 years ago by ankursinha.

= phenomenon =
I'm the maintainer of fpaste and I was looking to move it to pagure.

= background analysis =
The pgimport script requires me to have xml-rpc rights to the project.

= implementation recommendation =
Can someone please enable xml-rpc for my account, or alternatively give me admin privileges so that I can do it myself? :)


Done. Let us know if you need anything further.

Thanks, nirik.

I now have access to a new page: https://fedorahosted.org/fpaste/rpc#XML-RPC so I expect it's enabled.

I'm still getting the same error, though:

{{{

from xmlrpclib import ServerProxy
p = ServerProxy('https://ankursinha:my_password@fedorahosted.org/fpaste/login/rpc')
p.system.getAPIVersion()

Fault: <Fault 403: 'XML_RPC privileges are required to perform this operation'>
}}}

Is there some setting I need to enable too? (Reopening ticket temporarily)

Odd. You definitely have the permission.

I've added TRAC_ADMIN for you too and also restarted httpd, can you try again now?

Works!

Turns out the test url needs to be ../xmlrpc, and that in pgimport, you shouldn't end the URL with a slash :D

Thanks again, Nirik.

Login to comment on this ticket.

Metadata