Skip to content

Instantly share code, notes, and snippets.

View kitplummer's full-sized avatar
🏠
Working from home

Kit Plummer kitplummer

🏠
Working from home
View GitHub Profile
CMake Error at CMakeLists.txt:109 (add_subdirectory):
add_subdirectory given source "/home/projects/libwms" which is not an
existing directory.
CMake Error at CMakeLists.txt:111 (add_subdirectory):
add_subdirectory given source "/home/projects/ossim" which is not an
existing directory.
(allura)root@ubuntu-oneiric:/var/allura# grep -r GitPython *
Allura/nohup.out:pkg_resources.VersionConflict: (GitPython 0.3.0-beta2 (/usr/local/venv/allura/lib/python2.7/site-packages), Requirement.parse('GitPython>=0.2.0-beta1,<0.3.0'))
ForgeGit/forgegit/model/git_repo.py: if o.type in ('blob', 'tree') ] # submodules poorly supported by GitPython
ForgeGit/ForgeGit.egg-info/requires.txt:GitPython>=0.2.0_beta1, < 0.3.0
ForgeGit/setup.py: 'GitPython>=0.2.0_beta1, < 0.3.0',
logs/taskd.log:pkg_resources.VersionConflict: (GitPython 0.3.0-beta2 (/usr/local/venv/allura/lib/python2.7/site-packages), Requirement.parse('GitPython>=0.2.0-beta1,<0.3.0'))
requirements-common.txt:GitPython==0.3.0-beta2
remote: 13:49:08,351 INFO [allura.command] Initialize command with config 'openshift.ini'
remote: 13:49:11,040 INFO [allura.websetup.schema] setup_schema called
remote: 13:49:11,053 INFO [allura.command] Loaded tools
remote: 13:49:11,053 INFO [allura.command] Starting single taskd process
remote: 13:49:11,264 INFO [ew.resource] Loading ep ew_resources = allura.config.resources:register_ew_resources
remote: 13:49:11,342 INFO [ew.resource] Loading ep ew_resources = forgetracker.config.resources:register_ew_resources
remote: 13:49:12,264 INFO [allura.websetup.bootstrap] Wiping database project-data
remote: 13:49:12,267 INFO [allura.websetup.bootstrap] Dropping collection project-data:portal_config
remote: 13:49:12,326 INFO [allura.websetup.bootstrap] Dropping collection project-data:chat_message
remote: 13:49:12,329 INFO [allura.websetup.bootstrap] Dropping collection project-data:forum_thread
remote: 01:14:17,249 INFO [allura.command] Initialize command with config 'development.ini'
remote: 01:14:19,639 INFO [allura.websetup.schema] setup_schema called
remote: 01:14:19,648 ERROR [ming.datastore] Error connecting to master: mongodb://127.0.0.1:27017
remote: Traceback (most recent call last):
remote: File "/var/lib/stickshift/71ec9f2818ba41a79820ec0fbfcd6ffe/kittest/runtime/lib/python2.7/site-packages/ming/datastore.py", line 67, in _connect
remote: master = self.ConnectionClass(self.master_args, **self._connect_args)
remote: File "/var/lib/stickshift/71ec9f2818ba41a79820ec0fbfcd6ffe/kittest/runtime/lib/python2.7/site-packages/pymongo/connection.py", line 381, in __init__
remote: self.__find_node()
remote: File "/var/lib/stickshift/71ec9f2818ba41a79820ec0fbfcd6ffe/kittest/runtime/lib/python2.7/site-packages/pymongo/connection.py", line 659, in __find_node
remote: raise AutoReconnect(', '.join(errors))
(anvil)➜ u-plummerk-allura git:(master) git push openshift
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 470 bytes, done.
Total 5 (delta 3), reused 0 (delta 0)
remote: Stopping application...
remote: Done
remote: ~/git/kittest.git ~/git/kittest.git
remote: ~/kittest/tmp ~/git/kittest.git ~/git/kittest.git
@kitplummer
kitplummer / gist:2911213
Created June 11, 2012 16:50
Running 'rhc setup' to change OpenShift account:
Configuration file /Users/kplummer/.openshift/express.conf already exists, backing up to /Users/kplummer/.openshift/express.conf.bak
/Users/kplummer/.rvm/gems/ruby-1.9.2-p320/gems/rhc-0.93.18/lib/rhc/wizard.rb:564:in `create_config_stage': undefined method `cp' for File:Class (NoMethodError)
from /Users/kplummer/.rvm/gems/ruby-1.9.2-p320/gems/rhc-0.93.18/lib/rhc/wizard.rb:43:in `block in run'
from /Users/kplummer/.rvm/gems/ruby-1.9.2-p320/gems/rhc-0.93.18/lib/rhc/wizard.rb:41:in `each'
from /Users/kplummer/.rvm/gems/ruby-1.9.2-p320/gems/rhc-0.93.18/lib/rhc/wizard.rb:41:in `run'
from /Users/kplummer/.rvm/gems/ruby-1.9.2-p320/gems/rhc-0.93.18/bin/rhc:67:in `<top (required)>'
from /Users/kplummer/.rvm/gems/ruby-1.9.2-p320/bin/rhc:19:in `load'
from /Users/kplummer/.rvm/gems/ruby-1.9.2-p320/bin/rhc:19:in `<main>'
from /Users/kplummer/.rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14:in `eval'
@kitplummer
kitplummer / gist:1893402
Created February 23, 2012 15:54
Fix eth0 on a mobile CentOS VM.
1. edit /etc/udev/rules.d/70-persistent-net.rules
If there are two entries, delete the first - you should only have the 'vmxnet' interface there. Ensure that the rule specifies 'eth0' and not 'eth1' for the 'NAME=' parameter. Copy/note the MAC address specified there.
2. edit /etc/sysconfig/network-scripts/ifcfg-eth0
Replace the MAC address with the one noted from above.
3. reboot
@pick ➜ hello-scala rvm:(-jruby-1.6.5) git:(master) ✗ mvn -e clean scala:compile -DdisplayCmd=true
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hello-scala 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ hello-scala ---
[INFO] Deleting /Users/kplummer/MX/hello-scala/target
source :rubygems
gem 'bundler', '1.0.21'
gem 'safely'
gem 'ruote', :git => 'git://github.com/jmettraux/ruote.git', :ref => "feac02174e276e6e95ba"
gem 'ruote-dm', :git => 'git://github.com/jmettraux/ruote-dm.git' #'~> 2.2.0'
gem 'stompserver_ng', :git => 'git://github.com/gmallard/stompserver_ng.git'
[root@ip-10-72-94-166 ~]# java -jar lucee.0.0.9-SNAPSHOT.war
[Winstone 2011/11/17 17:36:27] - Beginning extraction from war file
[Winstone 2011/11/17 17:36:33] - WARNING: The Servlet 2.4/2.5 spec XSD was unavailable inside the winstone classpath. Will be retrieved from the web if required (slow)
[Winstone 2011/11/17 17:36:34] - No webapp classes folder found - /tmp/winstone261394273094770152webroot/lucee.0.0.9-SNAPSHOT.war/WEB-INF/classes
[webapp 2011/11/17 17:36:34] - jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (OpenJDK Client VM 1.6.0_20) [linux-i386-java]
[webapp 2011/11/17 17:36:51] - Warning: no min runtimes specified.
[webapp 2011/11/17 17:36:51] - Warning: no max runtimes specified.
[webapp 2011/11/17 17:36:52] - An exception happened during JRuby-Rack startup
stack level too deep
--- System