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

Re: Snapshot on wheezy.



Hi Jakub,

The case expression changed between version 1.8 and 1.9 of ruby:

http://stackoverflow.com/questions/9305509/case-expression-different-in-ruby-1-9

You could run using ruby 1.8 or you could update the code for 1.9 (probably
better in the long run).

Thanks for hacking on snapshot code,

Luca

On Wed, Mar 05, 2014 at 01:06:08PM +0000, Jakub Mikusek wrote:
> OK - here's where I'm stuck.
> 
> I follow the steps in the 'Basic setup' section from README and eventually
> I'm coming across this:
> 
> snapshot@repo00:/srv/snapshot.debian.org$   ./snapshot -c snapshot.conf -v
> -a $ARCHIVE_NAME add-archive # Initialize the archive
> ./snapshot:1279: syntax error, unexpected ':', expecting keyword_then or
> ',' or ';' or '\n'
>                                 when 'd': @file.print " #{row['filetype']}
> #{row['path']}\n"
>                                          ^
> ./snapshot:1280: syntax error, unexpected keyword_when, expecting
> keyword_end
>                                 when '-': @file.print " #{row['fi...
>                                     ^
> ./snapshot:1280: syntax error, unexpected ':', expecting keyword_end
>                                 when '-': @file.print " #{row['filetyp...
>                                          ^
> ./snapshot:1281: syntax error, unexpected keyword_when, expecting
> keyword_end
>                                 when 'l': @file.print " #{row['fi...
>                                     ^
> ./snapshot:1281: syntax error, unexpected ':', expecting keyword_end
>                                 when 'l': @file.print " #{row['filetyp...
>                                          ^
> ./snapshot:1282: syntax error, unexpected keyword_else, expecting
> keyword_end
> ./snapshot:1287: syntax error, unexpected keyword_end, expecting $end
> snapshot@repo00:/srv/snapshot.debian.org$
> 
> 
> 
> Any input will be appreciated.
> 
> Regards,
> Jakub
> 
> 
> 
> On 04/03/2014 12:00, "Jakub Mikusek" <jmikusek@ft-services.com> wrote:
> 
> >Morning all,
> >
> >I've been trying to get snapshot running on Debian Wheezy (7.1) but failed
> >miserably after doing some manual hacking.
> >Has anyone got that working on Wheezy? The version in git repo seems to be
> >written for Squeezy (references to postgresql 8.x).
> >If needed I can provide list of errors stumbled upon while trying to get
> >that ready.
> >
> >Thanks in advance,
> >Jakub
> >
> >-- 
> >
> >
> >-- 
> >To UNSUBSCRIBE, email to debian-snapshot-request@lists.debian.org
> >with a subject of "unsubscribe". Trouble? Contact
> >listmaster@lists.debian.org
> >Archive: 
> >https://lists.debian.org/40D88C2BADDF1D42AC25B8F3964637EF2125FA3F@EX10-MB0
> >1.dubtilt.local
> >
> 
> 
> --
> To UNSUBSCRIBE, email to debian-snapshot-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 40D88C2BADDF1D42AC25B8F3964637EF21267C85@EX10-MB01.dubtilt.local">https://lists.debian.org/[🔎] 40D88C2BADDF1D42AC25B8F3964637EF21267C85@EX10-MB01.dubtilt.local
> 

-- 
Luca Filipozzi
http://www.crowdrise.com/SupportDebian

Attachment: signature.asc
Description: Digital signature


Reply to: