Skip to content

Instantly share code, notes, and snippets.

View lukebranch's full-sized avatar

Luke Branch lukebranch

View GitHub Profile
# we need some fixes from 14.10
# sudo add-apt-repository --enable-source ppa:libreoffice/libreoffice-4-3
sudo add-apt-repository ppa:libreoffice/libreoffice-4-3 -y
# fetch this repository
sudo apt-get update -y
# update your libreoffice installation
sudo apt-get install libreoffice -y
# get all build dependencies for libreoffice
sudo apt-get build-dep libreoffice -y
# that strangely enough doesn't come with the above
@lukebranch
lukebranch / 4GB-4Core-VPS-my.cnf
Created October 22, 2014 10:12
/etc/my.cnf config for 4GB RAM 4 Core VPS - Wordpress
# Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208
# Configuration name server-1 generated for Luke at 2014-10-22 09:47:40
[mysql]
# CLIENT #
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
@lukebranch
lukebranch / debug-2014-10-21-report_aeroo_ooo
Created October 21, 2014 06:04
debug-2014-10-21-report_aeroo_ooo - Failed to import necessary UNO components
2014-10-21 06:00:39,136 1387 CRITICAL AEG openerp.modules.module: Couldn't load module report_aeroo_ooo
2014-10-21 06:00:39,136 1387 CRITICAL AEG openerp.modules.module: exception() got an unexpected keyword argument 'exc_info'
2014-10-21 06:00:39,137 1387 ERROR AEG openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 283, in _call_function
return checked_call(self.db, *args, **kwargs)
2014-10-04 04:43:35,131 13002 INFO ? openerp: OpenERP version 8.0
2014-10-04 04:43:35,131 13002 INFO ? openerp: addons paths: ['/opt/odoo/.local/share/Odoo/addons/8.0', u'/opt/odoo/odoo-server/addons', u'/opt/odoo/custom/addons', u'/opt/odoo/custom/aeroo_reports/report_aeroo', u'/opt/odoo/custom/aeroo_reports/report_aeroo_ooo', u'/opt/odoo/custom/aeroo_reports/report_aeroo_sample', u'/opt/odoo/custom/server-tools', u'/opt/odoo/custom/community-management', '/opt/odoo/odoo-server/openerp/addons']
2014-10-04 04:43:35,131 13002 INFO ? openerp: database hostname: localhost
2014-10-04 04:43:35,131 13002 INFO ? openerp: database port: 5432
2014-10-04 04:43:35,131 13002 INFO ? openerp: database user: odoo
2014-10-04 04:43:35,226 13002 INFO ? openerp.service.server: Evented Service (longpolling) running on 0.0.0.0:8072
2014-10-04 04:43:35,735 13002 INFO ? openerp.addons.report.models.report: Will use the Wkhtmltopdf binary at /usr/bin/wkhtmltopdf
2014-10-04 04:43:35,736 13002 INFO ? openerp.addons.bus.bus: Bus.loop l