Skip to content

Instantly share code, notes, and snippets.

View PragTob's full-sized avatar

Tobias Pfeiffer PragTob

View GitHub Profile
@PragTob
PragTob / cashlog1
Created September 13, 2011 16:00
Error log from shoes (RC) crash on OSX lion
Process: shoes-bin [45564]
Path: /Applications/Shoes.app/Contents/MacOS/./shoes-bin
Identifier: org.hackety.shoes
Version: 0.r1696 (???)
Build Info: Shoes-1200000~1
Code Type: X86-64 (Native)
Parent Process: bash [45561]
Date/Time: 2011-09-13 11:30:21.654 -0400
OS Version: Mac OS X 10.7 (11A511)
@PragTob
PragTob / crashlog-1.txt
Created September 14, 2011 11:38
Crashlog from the new RC on OSX lion
Process: shoes-bin [50730]
Path: /Applications/Shoes.app/Contents/MacOS/./shoes-bin
Identifier: org.hackety.shoes
Version: 0.r1697 (???)
Build Info: Shoes-1200000~1
Code Type: X86-64 (Native)
Parent Process: bash [50725]
Date/Time: 2011-09-14 07:33:00.948 -0400
OS Version: Mac OS X 10.7 (11A511)
@PragTob
PragTob / Error log of ray install
Created September 14, 2011 13:55
Error when trying to install native extensions of Ray on Linux Mint 11 64 bit (all deps installed)
Fetching source index for http://rubygems.org/
Installing ray (0.2.0) with native extensions /home/tobi/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/home/tobi/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for GL/glxext.h... yes
checking for X11/extensions/Xrandr.h... yes
checking for main() in -lXrandr... yes
checking for main() in -lX11... yes
checking for main() in -lGL... yes
checking for main() in -lGLEW... yes
@PragTob
PragTob / error of infoes on green shoes
Created September 17, 2011 23:43
Error when running infoes on green shoes
tobi@business ~/github/infoes $ ruby greenfoes.rb
/home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/green_shoes-1.0.282/lib/shoes/helper_methods.rb:117:in `parse_markup': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as & (GLib::Error)
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/green_shoes-1.0.282/lib/shoes/helper_methods.rb:117:in `make_pango_attr'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/green_shoes-1.0.282/lib/shoes/app.rb:123:in `textblock'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/green_shoes-1.0.282/lib/shoes/app.rb:167:in `para'
from /home/tobi/github/infoes/tabs/side_tab.rb:29:in `method_missing'
from /home/tobi/github/infoes/lib/tweet.rb:37:in `block (2 levels) in display'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/gems/green_shoes-1.0.282/lib/shoes/slot.rb:30:in `initialize'
from /home/tobi/.rvm/gems/ruby-1.9.2-p290@greenfoes/
@PragTob
PragTob / limelight crash
Created October 10, 2011 15:20
limelight crash on linuc Mint 11 jruby 1.6.4
org.jruby.exceptions.RaiseException: Native Exception: 'class java.awt.HeadlessException'; Message: null; StackTrace: java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
at java.awt.Window.<init>(Window.java:476)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.JFrame.<init>(JFrame.java:174)
at limelight.ui.model.StageFrame.<init>(Unknown Source)
at limelight.ui.model.StageFrame.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
@PragTob
PragTob / shoes_c_to_ruby_linux
Created January 6, 2012 23:53
Shoes moving C to ruby branch failing on Linux
/home/tobi/github/shoes/Rakefile:63: Use RbConfig instead of obsolete and deprecated Config.
gcc -I. -c -o shoes/effects.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/effects.c
gcc -I. -c -o shoes/ruby.o -Wa
@PragTob
PragTob / arkose
Created January 7, 2012 16:58
arkose error for jrgifford
shoesubuntu@business ~ $ sudo arkose -n -h -c "cd $PWD; $SHELL"
/home is bind-mounted, changes will affect your real /home
Starting with network support
/home needs to be on a separate partition for ext4 storage type. Falling back to tmpfs
Using tmpfs for copy-on-write storage
sudo: cd: command not found
shoesubuntu@business ~ $ hostname
business
shoesubuntu@business ~ $
@PragTob
PragTob / shoes_c_to_ruby_linux
Created January 11, 2012 16:39
shoes c_to_ruby still failing on Linux
tobi@business ~/github/shoes $ rake
/home/tobi/github/shoes/Rakefile:63: Use RbConfig instead of obsolete and deprecated Config.
gcc -I. -c -o shoes/effects.o -Wall -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/pixman-1 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I/home/tobi/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-linux -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 shoes/effe
@PragTob
PragTob / .travis.yml
Created February 1, 2012 17:31
.travis.yml for PostgreSQL
postgres:
adapter: postgresql
database: myapp_test
username: postgres
before_script:
- "psql -c 'create database myapp_test;' -U postgres"
- "rake db:migrate"
@PragTob
PragTob / bloopsaphone Linux error
Created February 15, 2012 12:20
bloopsaphone gem not working (Linux)
tobi@business ~/github/green_shoes/samples $ ruby sample33.rb
/home/tobi/.rvm/gems/ruby-1.9.3-p0@greenS/gems/green_shoes-1.1.354/lib/ext/bloops.rb:1:in `require_relative': /home/tobi/.rvm/gems/ruby-1.9.3-p0@greenS/gems/green_shoes-1.1.354/lib/ext/bloops/bloops.so: invalid ELF header - /home/tobi/.rvm/gems/ruby-1.9.3-p0@greenS/gems/green_shoes-1.1.354/lib/ext/bloops/bloops.so
from /home/tobi/.rvm/gems/ruby-1.9.3-p0@greenS/gems/green_shoes-1.1.354/lib/ext/bloops.rb:1:in `<top (required)>'
from /home/tobi/.rvm/gems/ruby-1.9.3-p0@greenS/gems/green_shoes-1.1.354/lib/ext/bloops/songs/simpsons_theme_song_by_why.rb:2:in `<top (required)>'
from sample33.rb:16:in `load'
from sample33.rb:16:in `block (3 levels) in <main>'
from /home/tobi/.rvm/gems/ruby-1.9.3-p0@greenS/gems/green_shoes-1.1.354/lib/shoes/helper_methods.rb:280:in `call'
from /home/tobi/.rvm/gems/ruby-1.9.3-p0@greenS/gems/green_shoes-1.1.354/lib/shoes/helper_methods.rb:280:in `block in mouse_link_control'
from /home/tobi/.rvm/gems/ruby-1.9.3-