Odoo on Raspbian: Solving Wkhtmltopdf Error Code -6

Odoo is an open source ERP application for business, formerly known as OpenERP. Its core is Python and using PostgreSQL for the database. It’s a web-based app, so that you can install it on a server capable machine. In this case, I talk about Raspberry Pi 2, installed Raspbian Jessie.

By following a brief tutorial from here, I was successfully getting Odoo running on Raspberry Pi 2. But it still had a little glitch: when I want to create PDF report, it threw error:

 Wkhtmltopdf failed (error code: -6). Message: The switch –header-spacing, is not support using unpatched qt and will be ignored.The switch –header-html, is not support using unpatched qt, and will be ignored.The switch –footer-html, is not support using unpatched qt, and will be ignored.QXcbConnection: Could not connect to display. Continue reading Odoo on Raspbian: Solving Wkhtmltopdf Error Code -6

It’s so easy to connect Raspbian Lite to WiFi

raspbian-lite-connect-wifi

This month, I’ve got a chance to try Raspberry Pi device. I’ve got the Pi 2 model B from Jakarta Notebook offline store in Semarang. I am going to make it as a home server (actually workspace server 😀 ). Right now, there’s a router here that is connected to internet. But unfortunately, I don’t have sufficient LAN cable to connect Pi to the router. So, I make use of a Ralink USB WiFi adapter for Pi to connect. And actually, set it up via command line is not hard as I thought.

https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md