![]() |
[Solved] Extras upload assistant won't accept .changes file
1 Attachment(s)
I have been working on an application for the Coding Competition and I can't get it to upload to extras using the web assistant. It says the .changes file generated by pypackager isn't valid. I've tried editing it manually to remove anything that might cause problems and still haven't been able to get it to accept it.
I'm attaching the file in case someone can tell me what's wrong with it. Note: I added the .txt to it to be able to upload it. Does anyone have an examle .changes file I can compare it to? Does it need to be a particular format (ascii versus unicode?) I figured pypackager would generate the right type though. |
Re: Extras upload assistant won't accept .changes file
Here is a working example generated by Py2deb
Code:
Maintainer: Sifo Basha Zaky <sifo1712@gmail.com> i used it many times :) ( working fine ) Good luck ./sifo |
Re: Extras upload assistant won't accept .changes file
Quick reply...
You need to find how to package source-only deb package, for Extras Assistant, without binaries. For instance, 'dpkg-buildpackage' builds full package, 'dpkg-buildpackage -b' builds binary-only package, 'dpkg-buildpackage -s' builds source-only package. I have not used pypackager. Googling... http://maemo.soup.io/since/41252165?newer=1 The first one is a debian package that you can test now on your device : pychecker_0.8.18-1_armel.deb The others are files required for extras assistant (https://garage.maemo.org/extras-assistant/) to send source package to the extras-builder : pychecker_0.8.18-1.changes pychecker_0.8.18-1.dsc pychecker_0.8.18-1.tar.gz Now you can upload your packages to extras-devel repository. |
Re: Extras upload assistant won't accept .changes file
Thank you both for your help and suggestions. PyPackager was generating the .dsc and .tar.gz source package, but thanks to the .changes file you provided sifo I was able to compare and find why the assistant was rejecting it. It had the md5 and pointed to the .deb file pypackager generated instead of the source.tar.gz. I manually edited that and it accepted it!
So it uploaded but failed. Any tips on troubleshooting it? here's the link |
Re: Extras upload assistant won't accept .changes file
Quote:
Remember to upload the .dsc last as it triggers the build. |
Re: Extras upload assistant won't accept .changes file
Using the assistant, so it asks for the dsc & the tar.gz source at the same time. Is there anything in particular I should do special since its a PyQt app?
|
Re: Extras upload assistant won't accept .changes file
Quote:
|
Re: Extras upload assistant won't accept .changes file
Awesome, thank you all for your help, you are the best!
I was finally able to get it uploaded after several more failures (those were caused by temp files ending in a tilde that Gedit creates every time you edit a file. Once I got all of those removed and had the correct sums and packages listed in the .changes and .dsc files it accepted and built. Looking at the make.py file I had I discovered what was causing the binary files to be listed and checksummed unstead of the source files: I had 2 generate lines at the end, but the one to build the binary was after the one to build the source. Just commented out the binary one and had the one build both binary and source and the .dsc and .changes files were generated correctly after that. :) |
All times are GMT. The time now is 11:54. |
vBulletin® Version 3.8.8