[Kmymoney-devel] Re: Error running create_tarball.rb

David Houlden djhoulden at gmail.com
Fri Apr 8 15:15:08 CEST 2011


Hi all,

On Saturday 05 March 2011 11:18:50 David Houlden wrote:
> On Saturday 05 March 2011 Thomas Baumgart wrote:
> > Hi,
> > 
> > on Saturday 05 March 2011 11:26:36 David Houlden wrote:
> > > On Saturday 05 March 2011 Thomas Baumgart wrote:
> > > > Hi,
> > > > 
> > > > on Saturday 05 March 2011 09:16:55 Cristian Oneț wrote:
> > > > > On Fri, Mar 4, 2011 at 7:30 PM, David Houlden <djhoulden at gmail.com>
> > > 
> > > wrote:
> > > > > > On Friday 04 March 2011 Cristian Oneț wrote:
> > > > > >> On Thu, Mar 3, 2011 at 10:35 PM, David Houlden
> > > > > >> <djhoulden at gmail.com>
> > > > > > 
> > > > > > wrote:
> > > > > >> > I don't remember seeing a reply to this a month ago so hope
> > > > > >> > you don't mind me asking again. create_tarball.rb is still
> > > > > >> > failing. Is there now a different way of getting svn with the
> > > > > >> > documentation and translations?
> > > > > >> 
> > > > > >> Strange, I use it regularly to install from SVN, last time I
> > > > > >> used it last weekend and it worked without any problems...
> > > > > >> 
> > > > > >> Regards,
> > > > > >> Cristian
> > > > > > 
> > > > > > Thanks Cristian. Something strange is happening here then. I just
> > > > > > did a clean svn checkout of createtarball and it still fails.
> > > > > > 
> > > > > > svn co
> > > > > > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/createtar
> > > > > >
> > > > > >ball A createtarball/config.ini
> > > > > >
> > > > > > A    createtarball/create_tarball.rb
> > > > > > 
> > > > > >  U   createtarball
> > > > > > 
> > > > > > Checked out revision 1223732.
> > > > > > 
> > > > > > When I run it.
> > > > > > 
> > > > > > ./create_tarball.rb -n -a kmymoney
> > > > > > 
> > > > > > Last KDE version found: 4.6.1
> > > > > > -> Considering kmymoney
> > > > > > 
> > > > > > 
> > > > > > -> Processing kmymoney
> > > > > > -> Fetching extragear/office/kmymoney into kmymoney-4.5...
> > > > > > -> Fetching l10n docs for office/kmymoney ...
> > > > > > ./create_tarball.rb:296:in `block (2 levels) in <main>':
> > > > > > undefined method `each' for "kmymoney":String (NoMethodError)
> > > > > > 
> > > > > >        from ./create_tarball.rb:293:in `each'
> > > > > >        from ./create_tarball.rb:293:in `block in <main>'
> > > > > >        from ./create_tarball.rb:142:in `each'
> > > > > >        from ./create_tarball.rb:142:in `<main>'
> > > > > > 
> > > > > > Am I using the same svn version as you?
> > > > > > 
> > > > > > What about the version of ruby? ruby -v gives me
> > > > > > ruby 1.9.1p430 (2010-08-16 revision 28998) [i486-linux]
> > > > > > 
> > > > > > Thanks and regards,
> > > > > > Dave.
> > > > > 
> > > > > Maybe the never version is broken. I'll admit that I haven't
> > > > > updated createtarball from SVN for a long time since it didn't
> > > > > seemed necessary. Here is my info:
> > > > > 
> > > > > createtarball $ svn info
> > > > > Path: .
> > > > > URL:
> > > > > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/createtarba
> > > > >
> > > > >ll Repository Root: svn://anonsvn.kde.org/home/kde
> > > > >
> > > > > Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
> > > > > Revision: 1178314
> > > > > Node Kind: directory
> > > > > Schedule: normal
> > > > > Last Changed Author: sars
> > > > > Last Changed Rev: 1173599
> > > > > Last Changed Date: 2010-09-09 23:09:34 +0300 (Jo, 09 sep 2010)
> > > > > 
> > > > > So I can certainly say that revision 1178314 is working. You could
> > > > > do a svn co -r 1178314 of createtarball to solve this.
> > > > 
> > > > I just tried this here with the latest SVN HEAD version of
> > > > createtarball. I get the following (screen) output:
> > > > 
> > > > thb at localhost:~/devel/createtarball> ./create_tarball.rb -a kmymoney
> > > > -n Last KDE version found: 4.6.1
> > > > -> Considering kmymoney
> > > > 
> > > > 
> > > > -> Processing kmymoney
> > > > -> Fetching extragear/office/kmymoney into kmymoney-4.6...
> > > > -> Fetching l10n docs for office/kmymoney ...
> > > > 
> > > >   -> Checking if af has translated documentation...
> > > >   -> Checking if ar has translated documentation...
> > > >   -> Checking if as has translated documentation...
> > > >   -> Checking if ast has translated documentation...
> > > >   -> Checking if be has translated documentation...
> > > > 
> > > > and all files are fetched and the tarball is created. I have some
> > > > minor local modifications in the script to be able to also fetch the
> > > > stuff from the release branch, but that does not affect fetching from
> > > > trunk. Did you already throw away your createtarball sandbox and got
> > > > a fresh one from SVN?
> > > > 
> > > > Here's my svn info output:
> > > > 
> > > > thb at localhost:~/devel/createtarball> svn info .
> > > > Path: .
> > > > URL:
> > > > svn+ssh://tbaumgart@svn.kde.org/home/kde/trunk/KDE/kdesdk/scripts/cre
> > > >
> > > >atet arball Repository Root: svn+ssh://tbaumgart@svn.kde.org/home/kde
> > > >
> > > > Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
> > > > Revision: 1223871
> > > > Node Kind: directory
> > > > Schedule: normal
> > > > Last Changed Author: toma
> > > > Last Changed Rev: 1214491
> > > > Last Changed Date: 2011-01-14 23:11:08 +0100 (Fri, 14 Jan 2011)
> > > 
> > > Cristian and Thomas,
> > > 
> > > Thank you for your suggestions and information.
> > > 
> > > I have just tried going back to svn 1178314 as suggested by Cristian
> > > and it works for me. The latest svn version of createtarball continues
> > > to fail. I have ruby version 1.9.1p430 (2010-08-16 revision 28998)
> > > [i486-linux].
> > > 
> > > Thomas, I noticed in your output that it says
> > > 
> > >     Fetching extragear/office/kmymoney into kmymoney-4.6...
> > > 
> > > Have you modified the config.ini? Mine fetches into kmymoney-4.5
> > 
> > Either you have good eyes or a good optometrist :)
> 
> LOL. Actually very bad eyes but a good optometrist to correct them.
> OK, it looks as though the latest createtarball doesn't work with my
> version of ruby which is a later version than you and Cristian use. Maybe
> I should create a bug on bko for this. Thanks again for the help.
> 
> Bug raised as -
> https://bugs.kde.org/show_bug.cgi?id=267696

A patch is now available for this bug. I have tried it with my 1.9.1 version 
of ruby and it works for me. Maybe Thomas or Cristian or someone with ruby 
1.8.x should also give it a try.
http://bugs.kde.org/attachment.cgi?id=58699

Regards,
Dave.


More information about the KMyMoney-devel mailing list