Raggle

There is a commandline RSS reader that I am very fond of called raggle. After the ruby upgrade, however, it broke entirely. It was never redone for the newer version of ruby, so I have been keeping back ruby and ruby-ncurses in my /etc/pacman.conf. I saw an upgrade to raggle today and assumed it would work with the latest versions of these two packages in the repositories. I uncommented the lines, updated all three, and ran raggle.
/usr/bin/raggle:471: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when 'amp': '&'
^
/usr/bin/raggle:472: syntax error, unexpected keyword_when, expecting keyword_end
when 'nbsp' ' '
^
/usr/bin/raggle:473: syntax error, unexpected keyword_when, expecting keyword_end
when /^quot$/ni: '"'
^
/usr/bin/raggle:473: syntax error, unexpected ':', expecting keyword_end
when /^quot$/ni: '"'
^
/usr/bin/raggle:474: syntax error, unexpected keyword_when, expecting keyword_end
when /^lt$/ni: '<'
^
/usr/bin/raggle:474: syntax error, unexpected ':', expecting keyword_end
when /^lt$/ni: '<'
^
/usr/bin/raggle:475: syntax error, unexpected keyword_when, expecting keyword_end
when /^gt$/ni: '>'
^
/usr/bin/raggle:475: syntax error, unexpected ':', expecting keyword_end
when /^gt$/ni: '>'
^
/usr/bin/raggle:476: syntax error, unexpected keyword_when, expecting keyword_end
when /^copy/: '(c)'
^
/usr/bin/raggle:476: syntax error, unexpected ':', expecting keyword_end
when /^copy/: '(c)'
^
/usr/bin/raggle:477: syntax error, unexpected keyword_when, expecting keyword_end
when /^trade/: '(tm)'
^
/usr/bin/raggle:477: syntax error, unexpected ':', expecting keyword_end
when /^trade/: '(tm)'
^
/usr/bin/raggle:478: syntax error, unexpected keyword_when, expecting keyword_end
when /^#8212$/n: ","
^
/usr/bin/raggle:478: syntax error, unexpected ':', expecting keyword_end
when /^#8212$/n: ","
^
/usr/bin/raggle:479: syntax error, unexpected keyword_when, expecting keyword_end
when /^#8217$/n: "'"
^
/usr/bin/raggle:479: syntax error, unexpected ':', expecting keyword_end
when /^#8217$/n: "'"
^
/usr/bin/raggle:480: syntax error, unexpected keyword_when, expecting keyword_end
when /^#8218$/n: ","
^
/usr/bin/raggle:480: syntax error, unexpected ':', expecting keyword_end
when /^#8218$/n: ","
^
/usr/bin/raggle:481: syntax error, unexpected keyword_when, expecting keyword_end
when /^#(\d+)$/n
^
/usr/bin/raggle:488: syntax error, unexpected keyword_when, expecting keyword_end
when /^#x([0-9a-f]+)$/ni
^
/usr/bin/raggle:496: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:557: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:562: module definition in method body
/usr/bin/raggle:566: module definition in method body
/usr/bin/raggle:608: dynamic constant assignment
BROWSERS = %w{links elinks w3m lynx iexplore.exe explorer.exe}
^
/usr/bin/raggle:641: module definition in method body
/usr/bin/raggle:713: module definition in method body
/usr/bin/raggle:723: class definition in method body
/usr/bin/raggle:724: class definition in method body
/usr/bin/raggle:788: dynamic constant assignment
TAG_SET = TagSet.new
^
/usr/bin/raggle:838: class definition in method body
/usr/bin/raggle:1053: module definition in method body
/usr/bin/raggle:1054: dynamic constant assignment
NO_ATTRIBUTES = {}.freeze
^
/usr/bin/raggle:1055: dynamic constant assignment
ATTRIBUTE_LIST_RE = /\s*([^>=\s]+)\s*(?:=\s*(?:(...
^
/usr/bin/raggle:1056: dynamic constant assignment
PARSER_RE = %r!<(/?\w+[^>]*?/?)>|([^<]*)!m
^
/usr/bin/raggle:1108: module definition in method body
/usr/bin/raggle:1160: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
... outline.attributes['refresh']: opml_refresh = outline.attri...
... ^
/usr/bin/raggle:1161: syntax error, unexpected keyword_else, expecting keyword_end
else opml_refresh = nil; end # fixes clobberation
^
/usr/bin/raggle:1194: warning: else without rescue is useless
/usr/bin/raggle:1199: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
if $wins: Interfaces::NcursesInterface...
^
/usr/bin/raggle:1236: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
if $wins: Interfaces::NcursesInterface...
^
/usr/bin/raggle:1239: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:1272: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:1280: class definition in method body
/usr/bin/raggle:1282: dynamic constant assignment
VERSION = '0.1.0'
^
/usr/bin/raggle:1324: module definition in method body
/usr/bin/raggle:1328: dynamic constant assignment
Item = Struct.new :title, :link, :desc, :date
^
/usr/bin/raggle:1334: class definition in method body
/usr/bin/raggle:1631: class definition in method body
/usr/bin/raggle:1874: module definition in method body
/usr/bin/raggle:2039: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--config': $config['config_path'] = arg
^
/usr/bin/raggle:2040: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--force': ret['force'] = true
^
/usr/bin/raggle:2041: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--list': ret['mode'] = 'list'
^
/usr/bin/raggle:2042: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--title': ret['title'] = arg
^
/usr/bin/raggle:2043: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--url': ret['url'] = arg
^
/usr/bin/raggle:2044: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--refresh': ret['refresh'] = arg.to_i
^
/usr/bin/raggle:2048: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--priority': ret['priority'] = arg.to_i
^
/usr/bin/raggle:2049: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--purge': ret['mode'] = 'purge'
^
/usr/bin/raggle:2052: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--lock-title': ret['lock_title?'] = true
^
/usr/bin/raggle:2053: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--unlock-title': ret['lock_title?'] = false
^
/usr/bin/raggle:2054: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--save-items': ret['save_items?'] = true
^
/usr/bin/raggle:2058: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--unsave-items': ret['save_items?'] = false
^
/usr/bin/raggle:2059: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--verbose': $config['verbose'] = true
^
/usr/bin/raggle:2066: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--diag': $config['diag'] = true
^
/usr/bin/raggle:2069: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when '--ascii': ret['ascii'] = true
^
/usr/bin/raggle:2234: module definition in method body
/usr/bin/raggle:2239: module definition in method body
/usr/bin/raggle:2243: module definition in method body
/usr/bin/raggle:2347: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
...sInterface::get_win_id('find'): $wins[$a_win].close(true)
... ^
/usr/bin/raggle:2348: syntax error, unexpected keyword_when, expecting keyword_end
when NcursesInterface::get_win_id...
^
/usr/bin/raggle:2348: syntax error, unexpected ':', expecting keyword_end
...esInterface::get_win_id('cat'): $wins[$a_win].close(true)
... ^
/usr/bin/raggle:2349: syntax error, unexpected keyword_when, expecting keyword_end
when NcursesInterface::get_win_id...
^
/usr/bin/raggle:2349: syntax error, unexpected ':', expecting keyword_end
...sInterface::get_win_id('keys'): $wins[$a_win].close(true)
... ^
/usr/bin/raggle:2350: syntax error, unexpected keyword_when, expecting keyword_end
when NcursesInterface::get_win_id...
^
/usr/bin/raggle:2350: syntax error, unexpected ':', expecting keyword_end
...sInterface::get_win_id('edit'): $wins[$a_win].close(true)
... ^
/usr/bin/raggle:2738: class definition in method body
/usr/bin/raggle:2936: class definition in method body
/usr/bin/raggle:3114: class definition in method body
/usr/bin/raggle:3419: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
if str =~ /true/i: newopts = {feedopt => true}
^
/usr/bin/raggle:3421: syntax error, unexpected keyword_when, expecting keyword_end
when 'priority', 'refresh'
^
/usr/bin/raggle:3421: syntax error, unexpected ',', expecting keyword_end
when 'priority', 'refresh'
^
/usr/bin/raggle:3423: syntax error, unexpected keyword_when, expecting keyword_end
when 'max_items'
^
/usr/bin/raggle:3424: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
if str =~ /none|nil/i: newopts = {feedopt => nil}
^
/usr/bin/raggle:3426: syntax error, unexpected keyword_when, expecting keyword_end
when 'category'
^
/usr/bin/raggle:3427: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
if str =~ /\bnone\b|\bnil\b/i: newopts = {feedopt => nil}
^
/usr/bin/raggle:3428: warning: else without rescue is useless
/usr/bin/raggle:3430: warning: else without rescue is useless
/usr/bin/raggle:3439: syntax error, unexpected keyword_else, expecting '}'
else # if no change
^
/usr/bin/raggle:3441: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:3589: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when (/^(\w+):\/\//): m
^
/usr/bin/raggle:3606: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:3613: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when (/(\w+):\/\//): item_url
^
/usr/bin/raggle:3640: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:3679: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when /%s/: cmd_part % url.escape
^
/usr/bin/raggle:3680: syntax error, unexpected keyword_when, expecting '}'
when '${browser}': $config['browser']
^
/usr/bin/raggle:3680: syntax error, unexpected ':', expecting '}'
when '${browser}': $config['browser']
^
/usr/bin/raggle:3681: syntax error, unexpected keyword_else, expecting '}'
else cmd_part
^
/usr/bin/raggle:3702: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:3742: dynamic constant assignment
DIRECTION_BACKWARD = -1
^
/usr/bin/raggle:3743: dynamic constant assignment
DIRECTION_FORWARD = 1
^
/usr/bin/raggle:3847: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'
if title: added = Engine::add_feed({ '...
^
/usr/bin/raggle:3852: warning: else without rescue is useless
/usr/bin/raggle:3862: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:4126: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when 'DC': key = 'Delete'
^
/usr/bin/raggle:4127: syntax error, unexpected keyword_when, expecting '}'
when ' ': key = 'Space'
^
/usr/bin/raggle:4127: syntax error, unexpected ':', expecting '}'
when ' ': key = 'Space'
^
/usr/bin/raggle:4128: syntax error, unexpected keyword_when, expecting '}'
when 'NPAGE': key = 'Page Down'
^
/usr/bin/raggle:4128: syntax error, unexpected ':', expecting '}'
when 'NPAGE': key = 'Page Down'
^
/usr/bin/raggle:4129: syntax error, unexpected keyword_when, expecting '}'
when 'PPAGE': key = 'Page Up'
^
/usr/bin/raggle:4129: syntax error, unexpected ':', expecting '}'
when 'PPAGE': key = 'Page Up'
^
/usr/bin/raggle:4130: syntax error, unexpected keyword_when, expecting '}'
when '
': key = 'Control-L'
^
/usr/bin/raggle:4130: syntax error, unexpected ':', expecting '}'
when '
': key = 'Control-L'
^
/usr/bin/raggle:4131: syntax error, unexpected keyword_when, expecting '}'
when ' ': key = 'Tab'
^
/usr/bin/raggle:4131: syntax error, unexpected ':', expecting '}'
when ' ': key = 'Tab'
^
/usr/bin/raggle:4132: syntax error, unexpected keyword_when, expecting '}'
when /^\d$/: key = '1-9'
^
/usr/bin/raggle:4132: syntax error, unexpected ':', expecting '}'
when /^\d$/: key = '1-9'
^
/usr/bin/raggle:4133: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:4265: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when /feed/: cl = NcursesInterface::ListWindow
^
/usr/bin/raggle:4266: syntax error, unexpected keyword_when, expecting '}'
when /item/: cl = NcursesInterface::ListWindow
^
/usr/bin/raggle:4266: syntax error, unexpected ':', expecting '}'
when /item/: cl = NcursesInterface::ListWindow
^
/usr/bin/raggle:4267: syntax error, unexpected keyword_when, expecting '}'
when /desc/: cl = NcursesInterface::TextWindow
^
/usr/bin/raggle:4267: syntax error, unexpected ':', expecting '}'
when /desc/: cl = NcursesInterface::TextWindow
^
/usr/bin/raggle:4268: syntax error, unexpected keyword_else, expecting '}'
/usr/bin/raggle:4270: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:4325: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:4331: module definition in method body
/usr/bin/raggle:4335: class definition in method body
/usr/bin/raggle:4676: module definition in method body
/usr/bin/raggle:4677: class definition in method body
/usr/bin/raggle:4715: class definition in method body
/usr/bin/raggle:4743: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:4749: module definition in method body
/usr/bin/raggle:5585: syntax error, unexpected keyword_end, expecting '}'
/usr/bin/raggle:6669: syntax error, unexpected $end, expecting '}'
$ pacman -Qi raggle ruby ruby-ncurses | grep Version
Version        : 0.4.4-6
Version        : 1.9.1_p378-1
Version        : 1.2.4-1
I would appreciate any help to get this working, otherwise I will have to fall back to the older versions.

The syntax has changed slightly in the new version of Ruby (1.9).
A colon is no longer accepted in "case" statements, you must use either "then" or ";" instead.
For example, replace:
when 'amp': '&'
with:
when 'amp' then '&'

Similar Messages

  • How to display feeds with non-latin utf8 characters in Raggle?

    Has anyone tried to use raggle to read feeds with non-latin utf8 characters?
    If you are successful, how to do it?
    Thanks

    i have this problem too...
    Last edited by vdo (2008-09-02 12:19:31)

  • How do you read your favorite feeds?

    Hi! This is my very first post on Arch forums.
    I'm wondering about how do you read your favorite feeds? Which software do you use and why (what kind of features).
    I'm more interested in finding a little software that uses the system tray.
    Yet I'm also curious about just how does, those who utilize RSS, do it.
    Personally I've used YARSSR, which is exactly what I want, except for few problems..
    On Ubuntu it used to be as easy as make, make install (having build-essenial installed). On Debian 4.0 stable it is in the stable repos, so it was even easier. On Arch it's not in any of the repos nor AUR and make, make install didn't work:
    # yarssr
    bash: yarssr: command not found
    # /usr/local/bin/yarssr
    Can't locate Gnome2.pm in @INC (@INC contains: /usr/local/lib/yarssr /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/lib/yarssr/Yarssr.pm line 3.
    BEGIN failed--compilation aborted at /usr/local/lib/yarssr/Yarssr.pm line 3.
    Compilation failed in require at /usr/local/bin/yarssr line 13.
    BEGIN failed--compilation aborted at /usr/local/bin/yarssr line 13.
    I'd love to understand what's going on. How to install it right.
    Anyhow, it's far from perfect anyway. It's the single thing that is not working so perfectly on my Debian as it should. Uses way too much CPU, sometimes stays trying to update and never does update nor allow forced updates, no quitting, etc..
    I also use Google Reader, which is great to read many feeds and manage them, etc.
    All I want is a little applet (maybe GNOME applet?) that gives me quick glimpse of my top favorite feeds, without using my browser nor launching a full-functional aggregator.
    Last edited by UnbreakableMJ (2007-05-24 14:43:38)

    UnbreakableMJ wrote:
    iphitus wrote:
    have used newsgator, planet, own scripts, google reader, akregator, blam, raggle.
    currently using snownews.
    so far, none of them really suit how i want to read my news.
    James
    Hi James.
    I'd like to know how you want to read your news
    i'd prefer a cli frontend, web front would be bonus (river of news style).
    snownews is good, just needs a few tweaks, some ui ones, and the main one being:
    often i dont get to read news for a few days straight, so i'd like something i can put in cron and it'll update, and log the news for a few days straight, so when i get back it's all there. this generally limits me to one of the web clients, i dont know any desktop apps that do this.
    i might write up an app to do this someday
    as for your yassr problem, pacman -S gnome-perl?
    James
    Last edited by iphitus (2007-05-25 11:32:57)

  • IMac wake from Bluetooth?

    Hello
    I was just wondering .. my iMac has been randomly waking up on it's own so I decided to check system.log and this is what i saw..
    Sep 4 07:13:14 Raggles kernel[0]: System Sleep
    Sep 4 07:13:14 Raggles kernel[0]: Enabling XMM register save/restore and SSE/SSE2 opcodes
    Sep 4 07:13:14 Raggles kernel[0]: Started CPU 01
    Sep 4 07:13:14 Raggles kernel[0]: IOBluetoothHCIController::restartShutdownWL this is a wake from sleep
    Sep 4 07:13:14 Raggles kernel[0]: System Wake
    The computer woke up on it's own at 7:13 ... did it wake because of bluetooth? It couldn't be a network packet because I have that off while sleeping.

    Dear mr chavez,
    go to system preferences -> Bluetooth -> Advanced...
    There is a checkbox called "Allow bluetooth devices to wake this computer". Make sure that box is checked.
    I'm using mountain lion, depending on your version of OSX the settings may be called slightly differently.
    Good luck with this.

  • Awfull support

    Hi,
    First of all I live in Georgia (country!! not state) and it costs a lot to call in USA, and paying for some bureaucratic games (switching from one operator to another) and never get an answer.  I just wantet a refund for my mistakely bought icloud storage... now I was charged on my phone for more then this storage costs itself... the main thing is that I almost begged operator to find out what could I do and contact me via mobile or email..... I talked for 45 !!!!! minutes and didn't even get an answer.
    thank you very much for your support I'll try to never make a mistake...

    raggler wrote:
    been 2 weeks and yet no upgrade. someone came out and the max cap at my line is 3.20mbps and 3.19mbps. when i call for the upgrade to 3.0 in uverse i get told no its not available talked to over 10 people that do not help at all and say 3.0 is not available in my area at all. even though my downstairs neighbor has it as well. i mean do i have to contact the bbb over this or what does a person have to do that paying your paycheck to get some help. sorry att but you guys are failing us again and possibly not be able to keep up with the competitor's.
    You need more headroom or you'd be calling about your poor 3M Internet service.  It would need at least 4-5M max to get 3M Internet and have it be stable.  It's all related to distance and you are too far to get anything higher, just a fact of ADSL 2+ life.
    Chris
    Please NO SD stretch-o-vision or 480 SD HD Channels
    Need Help? PM ATT Uverse Care (all service problems)
    ATT Customer Care(all other problems)
    Your Results May Vary, In My Humble Opinion
    I Call It Like I See It, Simply a U-verse user, nothing more

Maybe you are looking for

  • Can my '08 MacBook do Thunderbolt?

    From the on-line Apple publish specs on my machine (MacBook (Early 2008 and Late 2008) - Technical Specifications), I know I have a Mini-DVI port. I also have learned that Thunderbolt (up to 10 Gbps) works via Native Mini Display Port in the newer ma

  • "last value" in the KF aggregation tab page

    can u plz tell me what is the meaning of "last value" in the KF aggregation tab page. also what is use of aggregation reference char. please give explaination with example. amit

  • Word processor on Ipad

    What is the best word processing app for a college student to use if they are using an ipad?

  • Library lost

    my library is gone. does anyone know how to restore this using windows xp

  • Slideshow export issue

    I have 2 slideshows that export just fine. BUT when i combine them and then export them as a single slideshow aperture produces a file that will not open (only 4k, no alert boxes pop up to tell me anything went wrong). Is there a maximum length or si