PDFPreview User error: ImageMagick error 1: convert: no images defined

On my local development environment (a macbook pro running El Capitan), whenever I installed PDFPreview and tried to view a page that utilized it, I would get an error like:

User error: ImageMagick error 1: convert: no images defined `/path/to/pdfpreview/folder/filetowrite.jpg' @ error/convert.c/ConvertImageCommand/3241

File access control

So I've asked questions on a reddit thread, and I've asked some questions on drupal answers. The people who answer are extremely helpful, and if I get some further answers it may change my mind, but at this stage, it seems to me that my best approach for managing access by role to individual files as part of a node with its own independent access controls might be to continue on the track I've been on:

Backing off on using file entities to solve my file permissions issue

After a couple of days of struggling to populate the fields provided by file entity as part of my migrate module migration, I have thrown in the towel. I opened an issue with a feature request for migration support with the new version of the file entity module, but in the unlikely event that my request gets any traction I will probably have moved way past the point that I can still use it.

Here is a quick review of the things I tried:

Struggling with Files and PDF Thumbnails in Drupal 7

I'm working on building a document library in Drupal 7. The project has presented a lot more challenges than I initially anticipated, and one of them is the presentation of files. Each entry can either be an internal only entry, or be visible to the world. Each entry can also contain multiple files, and each of those can either be internal only or visible to the world. I am migrating from another system with a lot of content in place. In the current system, each entry has an optional cover image, files are just listed by filename. That's where the trouble begins.

running rsync over ssh with key-based authentication in Launchd

I wrote a shell script to run on my mac, rsync (over ssh with key-based authentication) over a bunch of content, check that the content that came over is a recent copy, and then do various things based on the new data. When I ran the script on my own it executed perfectly, but when I ran it scheduled through launchd it failed. Even more puzzling was that triggering it to run directly via launchd through LaunchControl would cause it to run correctly.

Maps and dates in drupal and a chapter on clutter

Today I reviewed some drupal modules for a) mapping and other means of collecting and displaying geospatial data and b) inputting and displaying date and time information. I will probably do some experiments with both on this site soon, but you may not see those experiments.

I've been trying to read a chapter of On Writing Well by the recently departed William Zinsser everyday. I had meant to read the book for a long time, and his death finally gave me the push I needed. So far, I'm getting a lot out of it, and it is a pleasure to read.

SVGs seem to have arrived!

Today something in my feed was about .svg (Scalable Vector Graphics). Over the years, I've periodically gotten excited about .svg, and started out to investigate how I can use it. Every time I've ended up disappointed, usually by browser support, until now. It seems like browser support for SVGs now is pretty great, and no that we have media queries, the set of things that can be easily done with it has gotten a lot bigger. I'm excited to try out vector graphics that adjust themselves in useful ways as the viewport grows! Thanks CSS Tricks!

Revisiting Drupal

As I build this site, I'm running through all the menus and settings in core drupal. This article is the first I create for the site.

Pages

Subscribe to UltraBob's Learning Journal RSS