Drupal8 FieldException: Attempt to create a field storage without a field name

After a drush upgrade from 8.4.2 to 8.4.4, my site went down with "The website encountered an unexpected error. Please try again later." error, and the error log is filling up with this message:

Uncaught PHP Exception Drupal\Core\Field\FieldException: "Attempt to create a field storage without a field name." at /var/www/mysite.com/htdocs/core/modules/field/src/Entity/FieldStorageConfig.php line 246

Drush couldn't clear caches (the above error popped up). I tried everything I could think of, including:

Create and Use a Digital Signature in Adobe Acrobat X

These instructions are written for Adobe Acrobat X, which even as of this writing is no longer supported by Adobe. Future editions of Acrobat will likely not work exactly this way.

Major Steps

There are two major steps to set up a digital signature in Adobe Acrobat:

  1. Get a Digital ID
  2. Create the Signature (appearance) based on that Digital ID

Once you have it set up, it's easy/quick to sign documents with your ID.

Python's Sendmail fails due to access permissions

A script that ran happily for about a year suddenly stopped working last week. From the stack trace, it was apparent that the script was stumbling on Python's smtplib>sendmail command. Here's the error:

OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

The offending code:

A simple Bitcoin price tracker with Python

This script tracks of Bitcoin's current USD price and displays it along with the price's "trend" since the script started running. The main part of the idea was borrowed heavily from this Stack Exchange article. It takes advantage of the coindesk API for getting current price information.

Sure, it's not a fancy line graph, but it's got ASCII-art up/down arrows!

Here's an example screenshot:

Collecting new document files for easy attachment in email

I find that I frequently (many times daily) have to send files as email attachments. Depending on the task, the files can be located in a half-dozen or so places on the Windows file system. I found myself browsing (from Outlook's "Attach File" function) to my Documents, Downloads, Desktop, or one of several network drives for the file I just saved there a few seconds ago.

Change pip package dependency lists and install from local source with Python 3.6

When installing a Python 3 package with Pip, if the package to be installed calls for a dependency that is outdated or otherwise not available, you can get a local copy of the module, change its dependency lists, then install it from the local source.

This will likely be no big deal for the Python wizards out there, but it was a pretty nice victory for me, so I thought I'd better share in case someone else has the same trouble.

I was attempting to install the lastpass-python module:


Properly configuring and using Drupal's views_data_export module

In a Drupal view, I have a button in place that allows the user to export the current view to an Excel (XLS) download (utilizing views_data_export module functionality). That download is expected to be around 3,500 rows, with 39 columns. I just noticed that trying to hit that button for the download results in (almost exactly 30 seconds later) an error I hadn't seen before: "Server Hangup".