Drupal Twitter & Oauth modules: exception 'TwitterException' with message 'Read-only application cannot POST'

Submitted by Druss on Wed, 2012-05-16 21:35

Today, I was trying to get Drupal to automatically announce new posts on Twitter. To do this, I had to install the Twitter and OAuth modules. Following instructions, I created an application on Twitter and linked my Drupal account to it configuring it to announce new posts upon publishing them. However, this did not work as I ran into the following long-winded error message in the logs:

Eclipse egit error: An internal Exception occurred during push: git-receive-pack not permitted

Submitted by Druss on Wed, 2012-05-16 03:44

When using Eclipse (Indigo) earlier today, I ran into the following error message while trying to push my commits upstream:
An internal Exception occurred during push: [URL] git-receive-pack not permitted

Kubuntu Precise: No apport report written because MaxReports is reached already

Submitted by Druss on Sat, 2012-05-12 22:43

My upgrade from Lucid to Precise did not go well and I've been battling errors ever since. I ran into the following error when trying to reinstall the php5-gd extension for PHP:
No apport report written because MaxReports is reached already

Shifting the pitch (and tempo) of music rather than retuning your guitar

Submitted by Druss on Sat, 2012-05-12 14:12

If you, like me, enjoy playing on your guitar to music from your PC, you will share my annoyance at the fact that bands often tune up or down a step or so for different songs. While it might be simple enough to tune your guitar up and down as and when necessary, I think that everybody will agree that it's a bit of a pain. Here's a solution for people like me who tend to have, well, an indolent approach to their guitar.

mysql respawning too fast, stopped & init: mysql post-start process (5075) terminated with status 1

Submitted by Druss on Tue, 2012-05-08 23:38

After my upgrade from Lucid to Precise (and thereby, from MySQL 5.1 to 5.5), I found that my MySQL instance was not running. When I tried to start the service all I got back was that it had failed to start.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so'

Submitted by Druss on Tue, 2012-05-08 14:39

After an upgrade from Lucid to Precise, my PHP install started complaining about a library:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/gd.so'

While I've got a hunch that the actual problem is related to issues I had during the upgrade, turning this error (and other similar ones) off is as simple as going into /etc/php5/conf.d and renaming the file, in this case gd.ini to something like gd.ini.bak.

KTorrent in Kubuntu Precise: Magnet URIs, Right-click not working

Submitted by Druss on Tue, 2012-05-01 21:55

After my upgrade to Kubuntu 12.04/Precise Pangolin, I found that while KTorrent worked, it was buggy as right-clicking on torrents did nothing. I blamed this on a configurational mishap during the upgrade and lived with it as I could do perform most operations using the main menu or the toolbar buttons. However, with most sites moving away from .torrent files and toward magnet links, I found that KTorrent wasn't playing nice with the magnet URIs.

Linux: Copy contents of a file to the clipboard from the command-line

Submitted by Druss on Tue, 2012-03-27 15:13

I needed to upload the contents of a lengthy log file to a site earlier today. There was no option to simply attach the file. I was instead asked to just paste its contents. I suppose that I could have opened the file in an editor like Kate and copied its contents to the clipboard. But I became curious as to the possibility of accomplishing this from within the terminal. A little googling revealed the existence of a utility named xsel for this very purpose.

Pages

Subscribe to languor.us RSS