psycopg complains about missing pg_config executable. If you don’t already have pg_config installed and on your path, do this first: brew install postgresql Then install psycopg2 on command line: source venv/bin/activate (venv)$ pip install psycopg2 …Successfully installed psycopg2-2.6.1
Posts by Luc Russell:
But the column isn’t a timestamp anyway, so not sure why DBUnit wants to treat it as such. Solution Set columnSensing to false when creating the dataset. For a FlatXmlDataSet, you can specify a boolean in the constructor to achieve this.
If you are extending AbstractTransactionalJUnit4SpringContextTests, are you sure you need to do that? Removing that might fix it.
Fatal error during compilation org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/Users/lrussell/.grails/ivy-cache/org.grails/grails-hibernate/jars/grails-hibernate-2.2.4.jar!/org/codehaus/groovy/grails/compiler/gorm/GormTransformer.class]; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/type/classreading/AnnotationMetadataReadingVisitor First tried removing ~/.grails/ And then running the grails RunApp again. It downloaded the cache fresh, might take a while. Didn’t seem to make any difference though… Then in the Groovy Grails Tools Suite, I went to […]
I had a problem connecting to a vagrant virtualbox cluster from the host (OS X 10.10.4 Yosemite). There are three hosts set up as a vagrant private_network, each having an assigned IP in the range 192.168.37.2 – 192.168.37.4 The virtual network I wanted to connect to (vboxnet0) had a status of Up and the hosts […]
I recently had occasion to extract XML messages with a specific id from log files, resulting in the following gnarly awk snippet. The sed statement at the end is for stripping out some unwanted debug statements. There must be a better way to do this, let me know in the comments (except don’t, because they […]
Environment: OSX, AMMPS Maybe caused by the particular version of PHP shipped with AMMPS and symlinked by default (PHP 5.3.21 at this time). For example this command: /Applications/AMPPS/php/bin/php ~/wp-cli.phar –info Prints: ???p? To fix it, update AMMPS to the latest. This includes PHP 5.4.11, but does not link it as the default. Now this command: […]