Access controls mean my website runs as a user that can’t create a directory that is writable by the server; here’s how I fixed it with reference to Updraftplus plugin for WordPress. This fix should work generally.

Apache can’t do that

(“I’m sorry Dave!”)

When apache can’t write to your folders it can often be a permission problem. Usually that means setting the folder to be world-writable – which if you’re like me will make you justifiably nervous, as if you left your car unlocked and your wallet on the seat. In this case – setting up the Updraftplus plugin for WordPress I couldn’t create a directory that the plugin could create files for. See all controls I have direct access to make folders/dir that are owned by my username and group. Apache is running under the username apache in the apache group (pretty normal). Here’s how I worked around it fixing this issue … Read the rest of this entry »

iscan for linux can’t find my printer.

Epson’s iscan scanner app

Fixing the config files

iscan error dialogIt’s been a couple of years now that I’ve had iscan installed. Today I wanted to do some high-resolution scanning so I thought I’d try and get it to work as I imagine it might be the best tool to interface between my Kubuntu 13.10 GNU/Linux distro install and my Epson Stylus SX535WD. That W in the model number shows I have a wireless connectable Epson. Over wifi I have no problem printing or scanning using the default tools and with the “epkowa” drivers from Epson but attempting to use iscan (“Image Scan! for Linux”) would give an error:

“Could not send command to scanner. Check the scanner’s status.”

In essence I did “sudo nano /etc/sane.d/dll.conf” and made the file there read:

# /etc/sane.d/dll.conf – Configuration file for the SANE dynamic backend loader
net
epkowa

with no other (uncommented) entries. Previously it had an epson2 entry which I think may have been confusing things.

Then I made sure that the /etc/sane.d/epkowa.conf file new where on the network to find my printer. I gave the printer a fixed IP when I installed it, X.X.X.10 [use the proper network address for your printer, not this placeholder]. Read the rest of this entry »

gvfsd-metadata seems to be hogging a lot of CPU time … why?

What is gvfsd-metadata

ps to the rescue?

$ ps aux | grep gvfs
pandfi    2315  0.0  0.0 192348   104 ?        Sl   Feb10   0:00 /usr/lib/gvfs/gvfsd
pandfi    5205  0.0  0.0 285952  2304 ?        Sl   Feb10   0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
pandfi    5210  0.0  0.0 281496   620 ?        Sl   Feb10   0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
pandfi    5215  0.0  0.0 199436   904 ?        Sl   Feb10   0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
pandfi    5219  0.0  0.0 187272   720 ?        Sl   Feb10   0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
pandfi    5236  4.8  0.0 126940   960 ?        Dl   Feb10  13:28 /usr/lib/gvfs/gvfsd-metadata

Right, so we know it’s a library. Which binary is calling it?

$ lsof | grep gvfsd-meta
gdbus      5236  5237     pandfi  txt       REG              252,0     77704 56230030 /usr/lib/gvfs/gvfsd-metadata Read the rest of this entry »

Couple of 3D modelling tech snippets that interested me this week.

Into the 3rd dimension

Model your world using your camera

I saw Photosynth‘s revamp a couple of days ago and found it really interesting (Microsoft doing something innovative, yay!). Photosynth lets you upload photos to make a range of different “synths” from panoramas to walkthroughs to rotating models and such.

one type of Photosynth is the well-known stitched panoramastitching images to make a photosynth

Get your head (and body) in the game

Then this from Nikon popped up on Digg today – a system to add your body model to a game by taking ~64 pictures simultaneously and producing a 3D model in a couple of hours of processing time.

64 cameras used to make a 3D body model

Ostensibly they’re doing the same thing; producing 3D models from a series of photos.

Add in 3D printing and what have you got?

Just last week I was looking at this video of laser sintering. Combine those two technologies and it’s not going to be long before you can directly order (you can probably do it now for a hefty price) a replica 3D model of anything that you can take a few pics of with your smartphone : really interested to see how that pans out.

Firefox 26 won’t run

Date: 12 Dec, 2013
Posted by: admin
In: Uncategorized

Firefox 26 error

Fixed by installing language pack

So, really quick: Firefox 26 is out and I installed it via apt-get on Kubuntu.

On upgrading from Firefox 25.0.1 I couldn’t start Firefox and got an error in a small window:

XML Parsing Error: undefined entity
Location: chrome://browser/content/browser.xul
Line Number 239, Column 5:    <broadcaster id="devtoolsMenuBroadcaster_DevAppMgr"
----^

Turns out that there was some change to the language packs and the installed language packs (en-gb and en-sa[?]) failed to load as they weren’t listed as compatible.

Easy fix for Firefox

Read the rest of this entry »

Crashplan on Linux Java error

Date: 04 Dec, 2013
Posted by: admin
In: linux, open source & software

Installing Crashplan on Linux

Java version error fixed

crashplanThe current version of Java (1.8) is incompatible with CrashPlan.

Turns out that it isn’t there’s just a test in the install.sh script for the Java version. To install anyway – and risk the consequences (I’ve had no errors) – then all one need do is alter the install.sh script to read (at line 21 for me):

OKJAVA="1.5 1.6 1.7 1.8"

Solved/fixed/done.

Installer output

My full install output is as follows:

Welcome to the CrashPlan Installer.

Press enter to continue with installation.

Validating environment...
detected root permissions
49581 blocks
The current version of Java (1.8) is incompatible with CrashPlan.
Please install one of the following version of the Sun JRE or OpenJDK: 1.5 1.6 1.7
USER@HOST-k1210:~/HOST/code+downloads/CrashPlan-install$ nano ./install.sh
USER@HOST-k1210:~/HOST/code+downloads/CrashPlan-install$ ./install.sh
Read the rest of this entry »


About

Flapjacktastic is just a random collection of musings, hints&tips, notes, information ... a collection of stuff really that's overflowed from the brain of this husband, father, potter, business-man, geek ...

past posts