1. User guide
  2. Reference

Troubleshooting

Chapter 18 of 19 16 min read4 screenshots

Chapters18 of 19
On this page16 sections
  1. Where messages appear
  2. License messages
  3. The engine wasn't found
  4. "NightScape Lab can't open its data"
  5. Messages about the catalog itself
  6. A RAW says "Loading…" or "Waiting for the engine…"
  7. A job failed
  8. A job won't stop
  9. Stack, Star Trails and Panorama won't start
  10. Import problems
  11. An orange "!" on a thumbnail
  12. Update problems
  13. Export and Edit In problems
  14. Lightroom plugin problems
  15. Messages on a merge
  16. Getting the log for support

Most problems in NightScape Lab announce themselves with a message. This page goes through the ones the app can show, quoted the way the app writes them, with what each means and what to do about it. Where a message has a part that changes (a file name, a reason from the engine), you'll see "…" in its place.

Shortcuts are written the Mac way, with the Windows and Linux key in brackets.

Where messages appear

There are four places to look:

  • The top bar. A gold line next to the NightScape Lab name is about your license. A blue line is about an update.
  • The activity area, also in the top bar. Short messages show here for about twelve seconds, and running jobs show here with their progress and a Cancel button.
  • An alert. A small window titled NightScape Lab with an OK button. The app uses it for things you need to read: a long job that failed, or one that finished with a warning.
  • The log. Every message from the activity area is kept in Help > Show Log…, so a message you missed is still there.
The top bar: a license line, the activity area and a running job

License messages

The gold line in the top bar tells you the state of the license. Click it to open the License window.

MessageWhat it meansWhat to do
Enter your license key to use the tools · Help > Activate LicenseThis computer hasn't been activated.Choose Help > Activate License…, paste your key, and click Activate.
This license was revoked. Enter a different key, or contact support.The key you used was turned off on the license server.Enter a different key, or write to me from Help > Send Feedback….
Connect to the internet so NightScape Lab can check your licenseThe app works offline for up to 14 days between license checks, and that time has run out.Connect to the internet. The app checks again on its own every few minutes and when you come back to the window, or you can click Refresh in the License window. Your key is fine.

In the License window

After you click Activate, Deactivate This Computer or Refresh, the line under Status says how it went.

MessageWhat to do
License key not found. Check the key and try again.Copy the key again from your purchase email. A missing character at either end is the usual cause.
Device limit reached for this key. Deactivate another device first.The key is in use on as many computers as it allows. Open NightScape Lab on one of them and click Deactivate This Computer, then activate here.
Couldn't reach the license server. Check your connection.You're offline, or something is blocking the request. Connect and try again.
This license was revoked or disabled.Enter a different key, or write to me.
This license is activated on a different machine. Enter your license key to activate it on this one.The license file was copied from another computer. Enter your key here.
Connect to the internet to refresh your license, then try again.The lease has run out. Go online and click Refresh.
The license server didn't renew this license. Enter your key again, or contact support.Enter the key again. If that doesn't work, write to me.
This license isn't valid yet. Check the date and time on this computer.The computer's clock is wrong. Set it and click Refresh.
Activation failed (…). Please try again.Try again in a minute. If it keeps happening, send me the log.

A tool or an import didn't run

Everything the engine does needs a license. That covers stacking, star trails, panorama, merge and the NightScape tools, and it also covers importing and opening a RAW in Process. When the license can't be confirmed, the app opens the License window, checks the license again, and the activity area says something like:

Stack didn't run: NightScape Lab couldn't confirm your license

The License window then says why. Activate, or connect to the internet, and run it again.

To move your license to another computer, open Help > Activate License… on the old one and click Deactivate This Computer first.

The engine wasn't found

The NightScape engine does the stacking, the tools and the previews, and it ships inside the app. If the app can't find it, the activity area shows:

the NightScape engine wasn't found next to the app

An import says "Import failed:" in front of the same words, and Help > About NightScape Lab shows "Engine: no engine found".

The app looks for the engine in an engine folder right next to itself (inside the app bundle on a Mac). This usually means the install got split up:

  • Windows and Linux: make sure the engine folder from the download is still in the same folder as nightscape-lab. Moving just the program file to another place leaves the engine behind.
  • Mac: drag a fresh copy of NightScape Lab from the disk image into Applications.

If the engine is there but won't start, the message begins "couldn't start the engine". Download the app again, and if that doesn't fix it, send me the log.

"NightScape Lab can't open its data"

When the app can't open its catalog, it shows this heading in place of the normal window, with the reason underneath.

The "NightScape Lab can't open its data" screen

Already open in another window

NightScape Lab's data at … is already open in another NightScape Lab window.

Only one NightScape Lab window can have the catalog open at a time. Two copies working on the same catalog could stop each other's engine or save over each other's work. Switch to the NightScape Lab window you already have open, or quit it and start again.

Can't be locked

NightScape Lab's data at … can't be locked (…). Keep it on a local disk; photos can stay anywhere.

The catalog has to live on a local disk. This message usually means it's on a network drive or a volume that doesn't support file locking. Your photos can stay on any drive you like, external or network. The catalog folder is the only thing that has to be local. Preferences, License and Help lists where the catalog lives on each system.

Messages about the catalog itself

A catalog file couldn't be read

… couldn't be read (…); it was kept as … and NightScape Lab opened without it.

One of the catalog's files was damaged. The app never saves over a file it couldn't read. It renames the file (the new name ends in .unreadable- and a number), opens without it, and tells you where the kept copy is. Your photos and their XMP files aren't affected. Write to me with the log before you do anything else, because the kept file can often be repaired.

Items from a newer version

2 items here came from a newer version of the app and were left out.

You opened the catalog with an older copy of the app than the one that last saved it. Update to the newest version (see Preferences, License and Help) and the items come back.

Couldn't save

Couldn't save NightScape Lab's data (will retry): …

The app couldn't write the catalog, usually because the disk is full or the folder has become read-only. It keeps trying. Free some space or fix the folder's permissions, and keep the app open until the message stops coming back.

"Couldn't save preferences: …" is the same problem for the preferences file.

A RAW says "Loading…" or "Waiting for the engine…"

The first time you open a RAW in Process, the engine has to decode it into a linear base image before you can work on it. While it does, the right panel shows one of these:

  • Loading…: the engine is preparing this photo. It's normally done in a moment.
  • Waiting for the engine…: the engine is busy with another job, and this photo is next in line. Look at the activity area to see what's running.

While the engine is busy, Process also tells you: "The engine is busy; tools you apply now wait their turn." A NightScape tool you start then shows Waiting… on its button until it's its turn. The Stack Frames, Panorama, Star Trails and Merge dialogs say "The engine is busy; this will start when it finishes."

"Couldn't prepare the photo"

Couldn't prepare the photo: …

The engine couldn't decode the file. The rest of the line is the engine's reason, and it usually ends by pointing you at the engine log. The common causes are a RAW from a camera the engine doesn't know yet, a file that's damaged or only partly copied from the card, and a drive that was unplugged.

  1. Check the file opens in another program.
  2. If it does, open Help > Show Log…, click Copy Log, and send it to me with the camera model. A sample RAW helps a lot.

Related messages you may see for the same reason:

MessageWhere it comes from
Skipped …: it couldn't be prepared (…)A paste or a batch of tools was waiting on that photo, and went on without it
Edit In couldn't prepare the photoPhoto > Edit In
Nothing to export: the photos couldn't be preparedExport, when none of the selected photos could be prepared
Exported 4 photos to … (1 couldn't be prepared)Export, when some could and some couldn't
Save to Lightroom couldn't prepare the photoFile > Save to Lightroom

A job failed

When a stack, star trails, panorama or merge fails, the activity area says so ("Stack failed: …") and an alert stays up until you click OK, because these jobs take minutes and you may not be watching.

AlertWhat it meansWhat to do
… didn't finish: the computer stopped the engine partway through, which usually means it ran out of memory. Close other apps or use fewer frames, then try again.The system stopped the engine.Close other apps, especially Lightroom and Photoshop, and run it again. If it still fails, use fewer frames.
… didn't finish: the engine stopped unexpectedly. Try again, and if it happens again, send the log with Help > Send Feedback.The engine quit for another reason.Run the job again. The app starts a fresh engine for it. If it keeps happening on the same photos, send me the log.
… didn't finish: …The engine gave its own reason, shown after the colon.Read the reason. If it doesn't tell you what to change, send me the log.

A NightScape tool that fails says "… failed: …" in the activity area, with the tool's name in front, and leaves the photo as it was.

Finished with a warning

Sometimes a job finishes but the engine wants you to check something. You get an alert that starts with one of these:

  • "The stack finished with a warning: …"
  • "The panorama finished with warnings: …"
  • "The merge finished with warnings: …"

The result is there and you can use it. Read the warning first, because it tells you what to look at (a sky mask that looks wrong, for example).

A job won't stop

Every job in the activity area has a Cancel button. When you click it, the step text changes to "Canceling" and the button goes away. The engine gets about three seconds to stop on its own. If it's still going after that, the app stops the engine process, and the next job starts a fresh one. Either way, the activity area then says the job was canceled ("Stack canceled").

Activity area at the bottom of the window showing a running job and its Cancel button.

A NightScape tool running in Process shows Canceling… on its button for the same short wait.

Stack, Star Trails and Panorama won't start

"Panoramas take RAW frames for now"

Panorama only works from RAW files right now. If any of the selected panels or darks is a TIFF, JPEG or PNG, the app shows this message and doesn't start. Select the original RAW panels.

Mixing RAW with TIFF or JPEG

Stack Frames and Star Trails take either all RAW frames or all TIFF, JPEG and PNG frames, but not both in one run. If your selection mixes them:

  • The Stack Frames dialog warns: "The selection mixes RAW and TIFF/JPEG frames. Stack each kind on its own." Starting it anyway shows "Stack RAW and TIFF/JPEG frames separately".
  • Star Trails shows "Make star trails from RAW and TIFF/JPEG frames separately".

Check the darks too. A TIFF dark frame mixed in with RAW lights counts as a mix. Select one kind and run it again.

Create Star Trails… or Create Panorama… is greyed out

Both need two or more light frames selected. Hover over the greyed-out item and it says so.

Import problems

MessageWhat it meansWhat to do
Import failed: …The import couldn't start or couldn't finish. The reason follows the colon.If it says the engine wasn't found, see above. If it's about the license, activate first. For anything else, check the drive is connected and has room, then try again.
Imported 40 photos; 2 couldn't be readThe import worked, and the engine couldn't open two of the files.Those files are probably damaged or half-copied. Copy them from the card again.
No card or camera foundFile > Import from Device found nothing to import from.Plug in the card or camera, wait for the system to mount it, and open the menu again.

An orange "!" on a thumbnail

An orange ! in the corner of a thumbnail, in the grid or the filmstrip, means the file's XMP was changed by another program (Lightroom, usually) after NightScape Lab wrote it. It also appears on a RAW whose .xmp sidecar was made by Lightroom before you brought the photo in, once you change that photo here. Hover over it for the explanation:

The file's XMP was changed outside NightScape Lab, so it isn't written. Metadata > Overwrite Metadata in File replaces it.

NightScape Lab leaves that file alone so it doesn't wipe out what you did elsewhere. You have two choices:

  • Leave it. The photo keeps its ratings and settings in NightScape Lab. They just aren't written into that file.
  • Write it anyway. Select the photo and choose Metadata > Overwrite Metadata in File. NightScape Lab writes the values it owns over the ones in the file, and keeps anything else in there that it doesn't write.

NightScape Lab doesn't read the other program's later changes back into the catalog, so think about which version you want before you overwrite. Metadata and XMP covers what the app writes.

When you use Metadata > Save Metadata to File (Cmd+S, or Ctrl+S) on a selection that includes files like this, the activity area tells you how many were "changed outside NightScape Lab and left alone".

"Couldn't write the XMP for …"

The app tried to write a photo's XMP on its own and couldn't. The reason follows the colon. The usual ones are a file that isn't there any more (its drive is unplugged), a folder you can't write to, and a full disk. The app doesn't try that photo again until you change it. Fix the cause, select the photo and use Save Metadata to File.

Update problems

If an update doesn't go through, the blue line in the top bar reads "Update to v… failed · Try again". Hover over it to see why.

ReasonWhat to do
couldn't download the update's checksums. Check the internet connection and try again.Check your connection and click the line again.
the download stopped. Check the internet connection and try again.The same.
the download doesn't match the release's checksum, so it wasn't installed. Try again.The download was damaged on the way. Click the line to download it again.
the update's signature didn't check out, so it wasn't installedDon't install it. Try again later, and tell me if it happens twice.
couldn't run curl to download the updateThe app uses the system's curl to download. It comes with macOS, Windows 10 and later, and nearly every Linux. If yours doesn't have it, download the new version by hand.

If the line says Download where you expected Update, your copy can't replace itself. Preferences, License and Help has the reasons and what to do about each.

"Couldn't check for updates. Try again later." in Preferences or the About window means the check itself couldn't get through. You're probably offline.

Export and Edit In problems

MessageWhat it meansWhat to do
Export failed on …: …Export stopped at that photo. The reason follows.Check the destination folder exists, you can write to it, and the disk has room.
…can't get under … KB at this sizeYou asked Export to limit the file size, and the photo can't be squeezed that small at the pixel size you chose.Raise the limit or export at a smaller size.
…couldn't read the watermark …The watermark image is missing or isn't a picture the app can open.Choose the watermark file again in the Export dialog.
Choose the app to edit in: Photo > Edit In > Choose Application…The app didn't find Photoshop and you haven't picked another app.Choose one from that menu, or in Preferences under External Editing.
Edit In failed: …The copy couldn't be made.Check the photo's folder is writable and has room.
Made …, but couldn't open …: …The copy was made and the other app wouldn't start.Open the file from the other app yourself, and check the app chosen in Preferences is still installed.

Lightroom plugin problems

These are alerts you may see when you send frames from the Lightroom Classic plugin, or save a result back.

AlertWhat to do
Lightroom sent 3 frames that can't be found on disk, starting with …. Nothing was opened.The files aren't where Lightroom thinks they are. Connect the drive they're on, or fix the missing photos in Lightroom, and send them again.
Lightroom's frames couldn't be brought in. Import them with File > Import and stack them from here.Import the frames yourself and stack them in the app.
Save to Lightroom failed: …Check the frames' folder is writable and has room, then save again.

"Saved … beside its frames, but couldn't tell Lightroom: …" means the file was written. In Lightroom, synchronize the folder to pick it up.

File > Save to Lightroom is greyed out for anything that wasn't started from Lightroom. Hover over it and it says "For a stack or star trails started from Lightroom Classic".

Messages on a merge

MessageWhat it means
Crop the merge to the photo first: the NightScape tools can't work on the empty canvas around it.You moved or scaled the sky so the picture no longer fills the canvas. Crop to the picture, then run the tool.
The canvas can't grow while Straighten, Lens Corrections or Transform are set: they work from the middle of the photo, so the photo would move. Reset them, then apply again.The sky was moved or scaled past the edge of the picture, which makes the canvas bigger. Reset Straighten and Lens Corrections on the merge, then apply again.
The merge couldn't start: …The reason follows the colon. If it doesn't tell you what to change, send me the log.

Getting the log for support

If something goes wrong and the message doesn't explain it, the log usually does.

Log window showing a scrollable list of app messages for support.
  1. Choose Help > Show Log….
  2. Click Copy Log. The app says "Log copied: paste it into an email or message".
  3. Choose Help > Send Feedback… and click Write an Email, or write to eric@nightscapelab.com yourself.
  4. Paste the log, and tell me what you were doing when it happened.

The log window has two parts: App, which lists what the app did in this session (including every job that finished or failed and why), and Engine, the engine's own log. Copy Log puts both on the clipboard along with your version number, which is everything I need to start looking. Refresh reloads the Engine part, and Reveal Log File shows the engine's log file in your file browser.

The App part starts fresh each time you open the app. If the problem made you quit, do the thing that caused it once more before you copy the log.