-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected keyword argument when updating local repo. #3
Comments
Hi Alexie, Thanks for reporting this issue. Do you have the full trace log? A cursory look through the code makes me think this might be an issue in an external library Pakrat is using some place. It's also worth mentioning that YUM itself has changed quite a bit since Pakrat last saw an update. @vamegh have you by chance seen this behavior before? I know you've worked on Pakrat's source more recently than I have. |
Ive just tested this on a centos7 vm (both using an outdated centos7 build and using the latest build with latest packages) and its worked fine, trace log / error logs copy & paste of run would be good, any other information would be good. on centos 6 pyliblzma is required for a centos 7 repo -- centos7 will probably default to creating zma compressed repo data even for centos 6 and 5 repos (I havent tested this, but I would assume this would be its default behaviour and it should be easily changeable), other than this I cant say I have come across this particular issue. |
Hi, I'll have to check again next time that the mirrors are updated as I Please note that the initial creation (first time that ./pakrat I will keep an eye on things and let you know as soon as the error crops up Alexie 2015-08-14 12:26 GMT+01:00 vamegh [email protected]:
Alexie Astachenko, Freelance Web guy and Kids martial arts instructor |
I was chasing this one down forever. I assume the reason is because of rpm-software-management/yum@007667e: - self.progress.start(text='<locally rebuilding deltarpms>', size=total)
+ self.progress.start(filename=None, url=None, # BZ 963023
+ text='<locally rebuilding deltarpms>', size=total) This calls def start(self, _file, url, basename, size, text): Now we can see why you were getting the following exception:
The |
fix scope issue with exception handling
When initially using pakrat to create local mirror everything downloads and is created with no issues.
When trying to update a local repo I get the error:
errors(1):
start() got an unexpected keyword argument 'filename'
I am running the command: pakrat --repoversion=Updates-$(date +%Y-%m-%d) --name=centos7 --baseurl=http://mirror.bytemark.co.uk/centos/7/updates/x86_64/
This is being run on a CentOS7 VM in VMWare. I have also tried using different mirrors. Also this happens with all directories from mirrors not just "updates" but also "centosplus" "extras" etc.
Any help in resolving the issue would be appreciated.
The text was updated successfully, but these errors were encountered: