Ruby package corrupted? [Solved]

I have the impression there is a problem with 'irb' the tool for the ruby documentation which is part of the ruby package, this is the output I get:
~$irb IO::open
/usr/lib/ruby/1.8/irb/input-method.rb:68:in `initialize': No such file or directory - IO::open (Errno::ENOENT)
from /usr/lib/ruby/1.8/irb/input-method.rb:68:in `open'
from /usr/lib/ruby/1.8/irb/input-method.rb:68:in `initialize'
from /usr/lib/ruby/1.8/irb/context.rb:80:in `new'
from /usr/lib/ruby/1.8/irb/context.rb:80:in `initialize'
from /usr/lib/ruby/1.8/irb.rb:92:in `new'
from /usr/lib/ruby/1.8/irb.rb:92:in `initialize'
from /usr/lib/ruby/1.8/irb.rb:57:in `new'
from /usr/lib/ruby/1.8/irb.rb:57:in `start'
from /usr/bin/irb:13
~$ irb IO::new
/usr/lib/ruby/1.8/irb/input-method.rb:68:in `initialize': No such file or directory - IO::new (Errno::ENOENT)
from /usr/lib/ruby/1.8/irb/input-method.rb:68:in `open'
from /usr/lib/ruby/1.8/irb/input-method.rb:68:in `initialize'
from /usr/lib/ruby/1.8/irb/context.rb:80:in `new'
from /usr/lib/ruby/1.8/irb/context.rb:80:in `initialize'
from /usr/lib/ruby/1.8/irb.rb:92:in `new'
from /usr/lib/ruby/1.8/irb.rb:92:in `initialize'
from /usr/lib/ruby/1.8/irb.rb:57:in `new'
from /usr/lib/ruby/1.8/irb.rb:57:in `start'
from /usr/bin/irb:13
~$ irb IO
IO(main):001:0> ------------------------------------------------------- Class: File < IO
SyntaxError: compile error
IO:1: syntax error, unexpected ':', expecting $end
------------------------------------------------------- Class: File < IO
^
from IO:1
from :0
IO(main):002:0>
IO(main):003:0* FTOOLS.RB: EXTRA TOOLS FOR THE FILE CLASS
SyntaxError: compile error
IO:3: syntax error, unexpected ':', expecting $end
FTOOLS.RB: EXTRA TOOLS FOR THE FILE CLASS
^
from IO:3
from :0
IO(main):004:0> =========================================
IO(main):005:0* Author: WATANABE, Hirofumi
SyntaxError: compile error
IO:4: syntax error, unexpected tEQQ
=========================================
^
from IO:5
from :0
IO(main):006:0>
IO(main):007:0* Documentation: Zachary Landau
SyntaxError: compile error
IO:7: syntax error, unexpected ':', expecting $end
Documentation: Zachary Landau
^
from IO:7
from :0
IO(main):008:0>
IO(main):009:0* This library can be distributed under the terms of the Ruby
NameError: uninitialized constant Ruby
from IO:9
from :0
IO(main):010:0> license. You can freely distribute/modify this library.
IO(main):011:0*
IO(main):012:0* It is included in the Ruby standard library.
IO(main):013:0*
IO(main):014:0*
IO(main):015:0* Description
SyntaxError: compile error
IO:10: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
license. You can freely distribute/modify this library.
^
IO:12: syntax error, unexpected kIN, expecting $end
It is included in the Ruby standard library.
^
from IO:12
from :0
IO(main):016:0> -----------
IO(main):017:0* ftools adds several (class, not instance) methods to the File
SyntaxError: compile error
IO:17: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
ftools adds several (class, not instance) methods to the File
^
IO:17: syntax error, unexpected ','
ftools adds several (class, not instance) methods to the File
^
from IO:17
from :0
IO(main):018:0> class, for copying, moving, deleting, installing, and comparing
IO(main):019:1> files, as well as creating a directory path. See the File class for
IO(main):020:3* details.
IO(main):021:3*
IO(main):022:3* FileUtils contains all or nearly all the same functionality and
IO(main):023:3* more, and is a recommended option over ftools
IO(main):024:3>
IO(main):025:3* When you
IO(main):026:3>
IO(main):027:3* require 'ftools'
IO(main):028:3>
IO(main):029:3* then the File class aquires some utility methods for copying,
IO(main):030:5* moving, and deleting files, and more.
IO(main):031:5*
IO(main):032:5* See the method descriptions below, and consider using FileUtils as
IO(main):033:5> it is more comprehensive.
IO(main):034:5*
IO(main):035:5* ------------------------------------------------------------------------
IO(main):036:5*
IO(main):037:5*
IO(main):038:5* Constants:
IO(main):039:5* ----------
IO(main):040:5* Separator: separator
IO(main):041:5> SEPARATOR: separator
IO(main):042:5> ALT_SEPARATOR: rb_obj_freeze(rb_str_new2("\\"))
IO(main):043:5> ALT_SEPARATOR: Qnil
IO(main):044:5> PATH_SEPARATOR: rb_obj_freeze(rb_str_new2(PATH_SEP))
IO(main):045:5> BUFSIZE: 8 * 1024
IO(main):046:5>
IO(main):047:5*
IO(main):048:5* Class methods:
IO(main):049:5* --------------
IO(main):050:5* atime, basename, blockdev?, catname, chardev?, chmod, chmod, chown,
IO(main):051:5* compare, copy, ctime, delete, directory?, dirname, executable?,
IO(main):052:5* executable_real?, exist?, exists?, expand_path, extname, file?,
IO(main):053:5* fnmatch, fnmatch?, ftype, grpowned?, identical?, install, join,
IO(main):054:5* lchmod, lchown, link, lstat, makedirs, move, mtime, new, owned?,
IO(main):055:5* pipe?, readable?, readable_real?, readlink, rename, safe_unlink,
IO(main):056:5* setgid?, setuid?, size, size?, socket?, split, stat, sticky?,
IO(main):057:5* symlink, symlink?, syscopy, truncate, umask, unlink, utime,
IO(main):058:5* writable?, writable_real?, zero?
IO(main):059:5>
IO(main):060:5*
IO(main):061:5* Instance methods:
IO(main):062:5* -----------------
IO(main):063:5* atime, chmod, chown, ctime, flock, lstat, mtime, o_chmod, path,
IO(main):064:5* truncate
IO(main):065:5> SyntaxError: compile error
IO:18: syntax error, unexpected ','
class, for copying, moving, deleting, installing, and comparing
^
IO:18: syntax error, unexpected kAND, expecting kIN
class, for copying, moving, deleting, installing, and comparing
^
IO:19: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
files, as well as creating a directory path. See the File class for
^
IO:22: syntax error, unexpected tIDENTIFIER, expecting tCOLON2 or '[' or '.'
FileUtils contains all or nearly all the same functionality and
^
IO:23: syntax error, unexpected ',', expecting $end
more, and is a recommended option over ftools
^
from IO:23
from :0
Is this a bug? I'll file one if someone can confirm this (It's the first time I really use irb so I don't know its behavior that good).
Last edited by Ramses de Norre (2007-08-30 17:38:13)

I am so stupid I was intending to use "ri" and not "irb"... Problem solved

Similar Messages

  • [useless, SOLVED] Pacman shows package corrupted while upgrading

    I pacman -Syu'ed my system after a week & there was these error of cyclic dependancy while installing gcc package. So, I issued this command:
    sudo pacman -S gcc gcc-libs gcc-ada gcc-fortran gcc-objc libtool
    While instaling, it showed that gcc's package is corrupted.
    But, later I tried installing it using
    sudo pacman -U gcc-4.6.2-1-x86_64.pkg.tar.xz gcc-libs-4.6.2-1-x86_64.pkg.tar.xz gcc-ada-4.6.2-1-x86_64.pkg.tar.xz gcc-fortran-4.6.2-1-x86_64.pkg.tar.xz gcc-objc-4.6.2-1-x86_64.pkg.tar.xz libtool-2.4
    and it installed correctly.
    It seems like local repo had the wrong md5 of the gcc package. How come?
    Last edited by shadyabhi (2011-11-04 13:44:01)

    karol wrote:Can you post the exact output, the 'corrupted' message?
    shadyabhi@archlinux ~ $ sudo pacman -S gcc
    warning: gcc-4.6.2-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): gcc-4.6.2-1 [17.03 MB]
    Total Download Size: 0.00 MB
    Total Installed Size: 67.22 MB
    Proceed with installation? [Y/n] Y
    :: File gcc-4.6.2-1-x86_64.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] ^C [----------------------------------------------------------------] 0%
    Interrupt signal received
    shadyabhi@archlinux ~ $ sudo pacman -U /var/cache/pacman/pkg/gcc-4.6.2-1-x86_64.pkg.tar.xz
    warning: gcc-4.6.2-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): gcc-4.6.2-1 [17.06 MB]
    Total Download Size: 0.00 MB
    Total Installed Size: 66.82 MB
    Proceed with installation? [Y/n] Y
    (1/1) checking package integrity [################################################################] 100%
    (1/1) checking for file conflicts [################################################################] 100%
    (1/1) upgrading gcc [################################################################] 100%
    shadyabhi@archlinux ~ $
    I was successful in installing that same package if I used -U option. Thats some serious bug in pacman which should be looked into.
    Please tell me as to what more info should I provide to be of more help.
    Last edited by shadyabhi (2011-11-04 13:19:15)

  • [SOLVED] bundle from ruby package can not install gems

    Hello, I was stuck with 'bundle' for hours, I do not know anything about Ruby, and even looking at the code won't get my anywhere. kindda don't like it... (guilty). Anyway, I'm gonna post it here to save someone else's time.
    What I was trying to do:
      I was trying to run this command, as developing an omega sub-theme for Drupal requires this. This command will read GemFile and install all GEM dependencies.
    bundle install
    What happened? What's the problem?
      this happened:
    Fetching gem metadata from https://rubygems.org/............
    Fetching additional metadata from https://rubygems.org/..
    Resolving dependencies...
    Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
    /home/MY_USER/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers. Check the mkmf.log file for more details. You may
    need configuration options.
    Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/home/MY_USER/.rvm/rubies/ruby-2.1.2/bin/ruby
    --with-ffi_c-dir
    --without-ffi_c-dir
    --with-ffi_c-include
    --without-ffi_c-include=${ffi_c-dir}/include
    --with-ffi_c-lib
    --without-ffi_c-lib=${ffi_c-dir}/lib
    --with-libffi-config
    --without-libffi-config
    --with-pkg-config
    --without-pkg-config
    /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    You have to install development tools first.
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:541:in `try_link0'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:556:in `try_link'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:642:in `block in try_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:635:in `with_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:641:in `try_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:1762:in `pkg_config'
    from extconf.rb:15:in `<main>'
    extconf failed, exit code 1
    Gem files will remain installed in /home/MY_USER/.rvm/gems/ruby-2.1.2/gems/ffi-1.9.3 for inspection.
    Results logged to /home/MY_USER/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/ffi-1.9.3/gem_make.out
    An error occurred while installing ffi (1.9.3), and Bundler cannot continue.
    Make sure that `gem install ffi -v '1.9.3'` succeeds before bundling.
    What was tried?
      Everything: cloning eventmachine directly from github which produced same result, removing gems depending on eventmachine however other packages produced the same result, ...
      The error message says: You have to install development tools first. however it was installed:
    sudo pacman --needed -S base-devel
    What was the problem? What's the solution then?
      Well, I had previously enabled multilib in pacman.com which resulted in gcc-multilib and gcc-libs-multilib being installed however these multilib packages does NOT work, gcc and gcc-libs needs to be installed instead. I do not know what is the proper solution for having these multilib packages and compiling ruby gems? (maybe adding multilib back to pacman.conf!) but it finally worked for me.
    I would create a wiki article but I don't know if it deserve's one + I'm not very good english writer + not sure if the solution is 100% right. probably this should be added to ruby page: in order to compile ruby gems you have to install gcc and gcc-libs instead of gcc-multilib and gcc-libs-multilib since multilib packages wont work because of...?
    Last edited by loolooyyyy (2014-06-19 17:33:08)

    Don't have the 7100 board , but some of theese issues are common .
    Enter BIOS in the following submenus :
    Advanced BIOS Features:
    -HD-Boot order - Make sure your SATA drive where you install OS is first in the list .
    (always check this one when altering HD's and connections of drives/usb-drives/card readers etc)
    Set normal boot order
    1'st boot device : CDROM
    2'nd boot device :Harddisk
    3'rd boot device : Harddisk (just to have something there)
    or if having floppy
    1'st boot device : Floppy
    2'nd boot device : CDROM
    3'rd boot device : Harddisk
    Boot other device : disabled
    Disconnect all USB cables coming from case or multicard dreader device etc. terminated on the motherboards JUSB1/JUSB2 .. headers .
    Enter Advanced Chipset features
    Integrated pheripherals
    Ide function setup ->
    Onchip IDE channel 0 : Disabled
    Onchip IDE channel 1 : Disabled
    SATA 1/2 : Enabled
    SATA 3/4 : Enabled
    Onboard device->
    OnBoard Sil3132 RAID : disabled
    OnBoard Sil3132 Mode :SATA
    Also recommend setting
    USB KB/Storage Support : Disabled
    (and connect the keyboard to PS2 via the delivered USB/PS2 adapter )
    Boot once , and enter bios again to verify the HDbootorder
    BTW: Having only 2.5GB for is not gonna cut it as OS partition is not enough as pagefile written under install is 1.5 times installed memory
    and the install will halt .
    Windows updates and other stuff as mail storage , my documents , user prifiles and registry hives need space and grow some over time .
    Primary OS partition workes best having altleast a minimum 20% free space all the time for housekeeping tasks lige changing layout ini , prefetch data
    defragmenting etc.
    Don't use anything less than 15GB to have peace of mind . ( I usually make it 30GB or more to avoid having lack of space later on , as that is a bitch )
     

  • Checking package integrity... corrupted [ SOLVED ]

    I got this error,
    checking package integrity...
    error: archive flac-1.1.4-1.pkg.tar.gz is corrupted
    archive flac-1.1.4-1.pkg.tar.gz is corrupted
    prompt#
    What can I do ?
    I got this while running pacman -Syu  Can I do pacman -Syu  "minus flac" ?
    Last edited by go4it (2007-03-28 20:09:00)

    lucke wrote:rm /var/cache/pacman/pkg/flac-1.1.4-1.pkg.tar.gz and run pacman again.
    Good to remember should I have this problem again
    Many thanks !

  • Pacman "hangs" at checking package integrity(Solved corrupt download)

    Pacman -Syu downloaded the following packages but hangs at "checking package integrity"
    [root@n6re ~]# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (20): apr-1.3.9-1  db-4.8.24-1  apr-util-1.3.9-3  python-2.6.3-1
                  dbus-python-0.83.0-2.1  gavl-1.1.1-2  perl-5.10.1-3
                  groff-1.20.1-3  heimdal-1.2.1-7  libical-0.44-1  libmtp-0.3.7-1.1
                  libsasl-2.1.23-2  pam-1.0.4-2  qt-4.5.3-2  rdesktop-1.6.0-3
                  redland-1.0.9-4  soprano-2.3.1-1  subversion-1.6.5-5
                  system-config-printer-common-1.1.13-1  vorbis-tools-1.2.0-4
    Total Download Size:    0.00 MB
    Total Installed Size:   286.37 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    This printout resulted after canceling the download and restarting pacman -Syu.  Thus the same failure occurs after the original download failure of the same type.
    What causes this failure mode?
    Last edited by lilsirecho (2009-10-04 22:19:44)

    whoops wrote:
    Mine took a whole 10 minutes to spit out...:
    checking package integrity...
    :: File go-openoffice-3.1.1.3-1-x86_64.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n]
    ... today.
    I guess, this shouldn't happen... but then again, I guess, I really really shouldn't have the machine hibernate while pacman is downloading .
    No it should not happen, this is the same bug.
    I guess either when you suspended or resumed, your network was down at some point, so libfetch returned -1 and triggered the infamous pacman bug.
    See http://bbs.archlinux.org/viewtopic.php? … 92#p633292

  • SSIS package Corrupted - Connection element is not found - Visual Studio 2008

    Some body help me...
    last week my senior give me a SSIS package, but when I open in visual studio 2008 there is pop up like this.
    TITLE: Microsoft Visual Studio
    There were errors while the package was being loaded.
    The package might be corrupted.
    See the Error List for details.
    BUTTONS:
    OK
    and this is the description of
    Error    1    Error loading KIBB_INVC_IS.02.dtsx: The connection "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
         C:\Users\CYH\Documents\Visual Studio 2008\Projects\IS\IS\KIBB_INVC_IS.02.dtsx    1    1    
    Error    10    Validation error. SheetValue Insertion Error Log Execute SQL Task: Connection manager "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" does not exist.      KIBB_INVC_IS.02.dtsx    0  
     0    
    Error    11    Validation error. SheetValue Insertion Error Log : There were errors during task validation.      KIBB_INVC_IS.02.dtsx    0    0    
    Error    12    Validation error. Data Flow Task: SCB_IB_IDS 05: The connection "{A9C72380-F326-44BF-A7CB-B8C7E9103F01}" is not found. This error is thrown by Connections collection when the specific connection element
    is not found.      KIBB_INVC_IS.02.dtsx    0    0    
    if some body know this problem, please help me to resolve my problem :(

    It is due to a connection manager being deleted.
    Oftentimes fixable by introducing it back. Sometimes the package even runs successfully even w/o it.
    But if you can create a new package anew.
    Arthur My Blog

  • Using a package for solving many mutating tables.....

    Hi,
    I need to solve more than one cases of mutating tables .. following the 'traditional' way described in:
    http://asktom.oracle.com/tkyte/Mutate/index.html
    For these cases , do you recommend me to use an individual package for each case ... or one to cover all cases (with different variables and PL/SQL tables... of course)....???
    Many thanks ,
    Simon

    No , I meant that there are cases on different
    tables....Then there is no other possibility but to create different packages.
    When you write "use api's"... can you give some more
    details....?????I mean to have a package to do all your dml in nice clean functions and procedures like procedure hire_employee, procedure fire_employee, function salary_including_commission and so on. Your procedures will include logic to validate all business rules. Then grant execute privileges on this package (api) to the users that should be able to work with employees and revoke all DML privileges on the table from anyone, even revoke the "CREATE SESSION" privilege from the schema owner when done installing to prevent direct access on the table.
    Now every DML action will be through your api and it's not possible to bypass constraint validation.
    Regards,
    Rob.

  • Random package corruption

    Hello,
    I'm trying to install Arch x86_64 with the 2012/08 ISO, but every time I try to install the packages, pacman says some of them are "invalid or corrupt (PGP signature)". If I re-download them, some other random packages become corrupt! I have already tried 3 different mirrors, disabling signature check, even installing it to the live environment (instead of to the hard disk), restarting the modem/router, trying another day, and nothing works.
    This is a very odd situation:
    The packages seem to download just fine;
    ifconfig shows no corrupt or lost packets;
    I have another machine with Arch Linux, and it always updates nicely;
    I have installed many times the "stress" package in the live environment, and it never became corrupt;
    I had Linux installed in this very machine 2 years ago. Only difference is, now I have a fake RAID stripe of 2 disks and a Radeon HD 6970 card, which I'm 99% sure has nothing to do with anything. But then again, computers (also, users) don't really need a logical reason to fuck things up.
    So, any suggestions?
    ALSO! In the phrase "I had Linux installed in this very machine 2 years ago", is it correct to use "had" or "have had"? Can someone explain me this, please?
    Last edited by JohnTH (2012-08-09 16:18:32)

    Have you checked the disks? (I was also going to mention RAM as I saw something similar a few months ago but if it isn't that, something else hardware?)
    "I had a hat with three corners when I was a child." [I don't have that hat now.]
    "I have had this bike for several years." [I still have it now.]
    "I had no luck installing Arch." [And I've given up trying.]
    "I've had no success installing Arch." [But I'm probably still trying or at least considering it.]
    "I've had no luck getting the elves out of my laptop so far." makes sense (except for the elves).
    "I had no luck getting the elves out of my laptop so far." doesn't really make sense though people would know what you meant (even if they thought you were a bit touched).
    If you want a proper grammatical explanation, though, you'll have to ask somebody who learnt English as a second language (or teaches it). I can't tell you _why_!

  • Cannot upgrade pacman due to conflict with package-query [SOLVED]

    Package query 0.9 requires pacman <4, package-query 1 requires pacman >=4, therefore I am totally unable to upgrade, even using pacman -f
    I'm aware that package-query is unsupported software, but this seems a bit stupid to me! Am I to uninstall package-query and therefore yaourt, only to reinstall them by hand, or is there a safe workaround?
    Last edited by markhadman (2012-01-24 11:02:20)

    jasonwryan wrote:
    markhadman wrote:Groan - guess pacman 4 is going to eat a day of my life after all...
    Or, realistically, 5 minutes.
    But if that is too much for you to spare, rather than bemoaning the fact that the developers have spent a significant amount of time and effort on this upgrade that will cause you such inconvenience, you could just install another distro - that would probably eat a day.
    Every other distro I've tried is inferior and eats up far more frustration time than Arch, which is why it's now on all my machines. I'm still putting off upgrading my 4 machines, though - because painful recent experience tells me that the chances of all 4 getting through this without day-eating breakage is about 6% (If you want a laugh at my expense, see this woeful example of breakage https://bugs.archlinux.org/task/27385). And yes, I'm aware that the longer I put it off, the worse my chances get.
    Edit:
    machine one (netbook).
    Time taken so far: 44 minutes (inc reading up on a few errors, plus line-by-line comparison of rc.conf.pacnew, reboot plus check of basic system workiness, plus waiting unsuccessfully for package-query source to download).
    Status: yaourt uninstallable (package-query git server appears to be down), openjdk6 broken due to bug, system otherwise appears healthy.
    Prognosis: Total 90 minutes for 4 machines seems a reasonable (optimistic) estimate, but I'll further put the other machines off until package-query git server is back up and running.
    And many apologies, this has veered somewhat off-topic and off-forum. I will probably make this my last post and let it die.
    Further edit: How do I mark a thread as SOLVED? I can't see an option anywhere, or any way to edit the thread title!
    edit: Nevermind, the trick is to edit the first post in the thread, it would seem.
    Last edited by markhadman (2012-01-24 11:03:17)

  • Ruby-Gtk2 TrayIcon [solved]

    I've installed ruby gtk2 by issuing: "gem install gtk2"
    A bunch of libraries installed correctly.
    Now I tried just an example (got if from official website) under irb and got this:
    irb(main):001:0> require "gtktrayicon"
    LoadError: no such file to load -- gtktrayicon
    Also tried this:
    irb(main):002:0> require "gtk2"
    => true
    irb(main):003:0> Gtk::TrayIcon
    NameError: uninitialized constant Gtk::TrayIcon
    Where is gtktrayicon?
    [SOLVED]
    Ok, it's just deprecated by StatusIcon
    Last edited by tigrezno (2011-08-08 23:16:14)

    I am so stupid I was intending to use "ri" and not "irb"... Problem solved

  • Ruby package seems to be left behind

    Ruby is on 1.8.4 while 1.8.5 came out a while ago. Package is flagged out of date, and last commit to CVS was 2 months ago. Is there any problem with it?
    Thanks
    PS: Sorry if this is the incorrect section for posting (maybe this could be a bug request?).

    Yeah, there's some breakage, but there are workarounds. Just some helpful links, as I'm not actually burning for an official Ruby 1.8.5 Arch package; I'm happy to roll my own, but I guess it's nice to see my fav language's packages being kept up-to-date !

  • Error: archive mozilla-firefox.pkg.tar.gz is corrupted.solve

    I wanted to see which of Opera and FireFox was bigger but started the download. Instinctly I do ^C-c just to soon notice the above (subject name) error when trying to install firefox. I've tried to force it without success. I can't find the package neither when searching with "find". Help appreciated.

    Stinky wrote:
    You'll find the package in
    /var/cache/pacman/pkg/
    ..and delete it then try again.

  • Sublime Text 2: I can't install this package. [SOLVED]

    I found a really feature rich text editor similar to Gedit called Sublime Text 2 which can be downloaded (in my case 32bit linux) as a .tar.bz2 file. I extracted the file using the tar command and I have a directory. I know if I cd to a directory and find the file I can make/make install and eventually get the program installed to the system, which I have done with ABS before. However, I am having trouble doing this with this program because it isn't in ABS and I don't see this package anywhere with the official package list. It has an executable file that I can open the program and use temporarily but I haven't been able to successfully install this program as of yet. Any suggestions? Has anyone else heard of this package? Any help would be much appreciated.
    Last edited by rg_arc (2012-01-24 08:35:17)

    It is in the AUR
    https://aur.archlinux.org/packages.php?ID=52754

  • Yum upgrade all packages problem (SOLVED)

    I keep getting this error when trying to do a YUM UPGRADE ALL?
    Oracle Linux 6.4
    Loaded plugins: refresh-packagekit, security
    Cleaning repos: epel ol6_UEK_latest ol6_latest virtualmin virtualmin-universal
    Cleaning up Everything
    Loaded plugins: refresh-packagekit, security
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
    Edited by: 981499 on Mar 20, 2013 7:23 PM

    I tried deleting it but still no luck.
    Reinstalled it and no go either.
    With it elrepo deleted this is the error I get.
    Upgrading all packages with command yum clean all ; yum -y update ..
    Loaded plugins: refresh-packagekit, security
    Cleaning repos: ol6_UEK_latest ol6_latest virtualmin virtualmin-universal
    Cleaning up Everything
    Loaded plugins: refresh-packagekit, security
    *http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'public-yum.oracle.com'"*
    Trying other mirror.
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol6_UEK_latest. Please verify its path and try again
    *.. upgrade failed!*
    Edited by: 981499 on Mar 20, 2013 6:43 PM

  • Retrieve source for installed package: apache [SOLVED]

    i am using CPAN shell to build the mod_perl dependency Apache::Registry and it is asking for the apache source.  i need the source for apache 2.2.11-3, obviously could be gotten from apache.org but its more robust if pacman or abs can just check the pkgbuild for the version of apache that was compiled into the package that i got via pacman. 
    yeah i tried
    $ yaourt -Sy mod_perl
    and followed the steps at http://perl.apache.org/docs/1.0/guide/g … erl_Server
    under "Configuring and starting the mod_perl server" but it broke httpd.conf according to /var/log/httpd/error_log
    Last edited by poopship21 (2009-08-02 17:15:52)

    first of all let me say that there is obviously something else going on here because the first thing i did was change "PerlSendHandler" to "PerlSendHeader" and run "sudo /etc/rc.d/httpd restart".  no matter what i still got this:
    syntax error on line 492 of /etc/httpd/conf/httpd.conf:
    Invalid command 'PerlSendHandler', perhaps misspelled or defined by a module not included in the server configuration
    [Fri Jul 31 15:24:37 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:37 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:40 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:40 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:44 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:44 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:45 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:45 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:24:46 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:24:46 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...
    [Fri Jul 31 15:32:35 2009] [error] Can't locate Apache/Registry.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0 /usr/share/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl /usr/lib/perl5/current /usr/lib/perl5/site_perl/current . /etc/httpd) at (eval 2) line 3.\n
    [Fri Jul 31 15:32:35 2009] [error] Can't load Perl module Apache::Registry for server myserver.org:0, exiting...

Maybe you are looking for

  • Can F4IF_INT_TABLE_VALUE_REQUEST FM return a value in a global variable?

    Hi everybody, I need to use F4IF_INT_TABLE_VALUE_REQUEST FM because I have to let users select an specific option before choosing another value. The point is that I need to save in a program global variable what the user selects, and decide something

  • Lost all my files in the document..!!

    guys i need your help.. please please... i have 2 profiles and when i updated my system to lion, from the first profile, and after i am done with the update, i log in to the 2nd profile, then i found a "?" in the dock instead of the document file and

  • Sales order reference at the time of Production Planning

    Hi all, Is there any Hard check (or) Validation at the time of assigning sales order in Production order? to be more specific At the time of creating production plann, we assign open sales order  to that. Again if new production plan is created and w

  • INDESIGN CC 2014 : NO START (Mac OS 10.9.3)

    Indesign CC 2014 : No start because i have not the access permission to preferences folder ???

  • Limit Mask Test Limit Trapezoid Profile

    So to one of our proportional valves, we are going to use the gain scheduling set point profile to create a trapezoidal input current to the valve. This trapezoidal input represents one cycle for the rocker arm we are controlling (it is periodic and