Index: trunk/psModules/src/camera/pmFPAfileIO.c
===================================================================
--- trunk/psModules/src/camera/pmFPAfileIO.c	(revision 20250)
+++ trunk/psModules/src/camera/pmFPAfileIO.c	(revision 20254)
@@ -727,4 +727,8 @@
     bool create = file->mode == PM_FPA_MODE_WRITE ? true : false;
     psString tmpName = pmConfigConvertFilename (file->filename, config, create, false);
+    if (!tmpName) {
+	psError(PS_ERR_IO, false, "failed to determine real name from template for %s\n", file->filename);
+	return false;
+    }
     psFree (file->filename);
     file->filename = tmpName;
Index: trunk/psModules/src/config/pmConfig.c
===================================================================
--- trunk/psModules/src/config/pmConfig.c	(revision 20250)
+++ trunk/psModules/src/config/pmConfig.c	(revision 20254)
@@ -1520,4 +1520,5 @@
         if (!checkPath(newName, create, trunc)) {
             // let checkPath()'s psError() call float up
+            psError(PS_ERR_UNKNOWN, false, "error from checkPath for file:// (%s)", newName);
             psFree (newName);
             return NULL;
@@ -1569,4 +1570,5 @@
         if (!checkPath(newName, create, trunc)) {
             // let checkPath()'s psError() call float up
+            psError(PS_ERR_UNKNOWN, false, "error from checkPath for path:// (%s)", newName);
             psFree (newName);
             return NULL;
