How to Deal with Missing Dependencies

From TrainzOnline
Revision as of 02:00, 21 October 2026 by Pware (talk | contribs)
Jump to navigationJump to search
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The information in this Wiki Page gives suggestions on how to deal with missing dependencies (assets) particularly in a route or session. It applies to TRS19, TRS22 and Trainz Plus.


          Next Down Bottom
Key Points:-
Missing Dependencies (and Unknown Assets and assets with Unknown Locations) are components of an installed asset, such as a route or a locomotive, that were not located during the install process
There are several possible causes for this condition for an asset, from not being available anywhere on the Internet to being deleted or disabled in Content Manager
Some Missing Dependencies can be deleted or replaced without affecting the operation of a route or a session


What Causes Missing Dependencies?

    Top   Next Down Bottom
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Missing Dependencies are assets that are required by an installed asset but cannot be located.
Some typical examples:-
 
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 If an installed locomotive has a particular bogie as a dependency but that exact bogie is not installed in your copy of Trainz, then the locomotive will be listed as having a Missing dependency. The bogie asset itself will be listed as being an Unknown asset or as having an Unknown location.
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 If an installed route has a particular scenery item, e.g. a tree, as a dependency but that exact object is not installed in your copy of Trainz, then the route will be listed as having a Missing dependency. The dependency itself will be listed as being an Unknown asset or as having an Unknown location.


Missing Dependencies can occur when an asset:-
has been installed from a .cdp file (e.g. from a 3rd party web site) or from a content folder (e.g. on your HD) without also installing other assets it requires.
  If an asset with Missing Dependencies has been installed using the Import Content Files... or Import Content Folder... options in the File menu of Content Manager, then the missing dependencies may be on the DLS. When these two import methods are used Content Manager does not check the DLS for any missing dependencies.
  Possible Remedy:
 
Steps: If You Have Used Either of These Methods to Install an Asset, Then:-
Select (highlight) the newly installed assets that have been marked as having Missing Dependencies
When an asset is installed from the DLS, Content Manager will automatically look for, download and install any of its dependencies that are stored on the DLS.
If a DLC asset is downloaded and installed from the Trainz Content Store it will automatically have all of its dependencies downloaded and installed from the DLC and the DLS.
 Right Click  on any one of the highlighted assets and select the option  List Dependencies 
 Left Click  on the Status column heading to sort the rows into category order (i.e. all Built-in assets together, all Available for Download assets together, etc).


If the Status column is not present in Content Manager then refer to the Tips in the Steps below
IF any of the listed dependencies in the Status column of the new Content Manager window are labelled as Available for Download then select (highlight) them
 Right Click  on any one of the highlighted items and select the option  Download 


has been Disabled or Deleted in Content Manager.
  If a dependency has been Disabled then it is still installed but it is blocked from being used. Removing the block will make it available for use.
  Possible Remedy:
 
Steps: To Identify and Restore any Disabled Dependencies in Content Manager:-
In Content Manager select (highlight) the assets that have been marked as having Missing Dependencies
 Right Click  on any one of the highlighted assets and select the option  List Dependencies 
 Left Click  on the Status column heading to sort the rows into category order (i.e. all Built-in assets together, all Installed for DLS assets together, all Packaged assets together, etc).
Scroll down through the entries in the Status column. Any dependencies that have been Disabled will appear at the end of each category. Select (highlight) the Disabled dependencies.
Open the Content menu and select the  Enable  option.
 
If the Status column is not present in the Content Manager display, then:-
Steps: To Add the Status Column:-
Right Click on the column heading where you want it to be inserted
select  Insert Column  and then  Status 
insert Status Column
 
If a dependency has been Deleted then it is no longer installed. It can be reinstalled if it is on the DLS.
  Possible Remedy:
 
Steps: To Identify and Restore any Deleted Dependencies in Content Manager:-
If a deleted dependency is not on the DLS then this method will not locate and download it
In Content Manager select (highlight) the assets that have been marked as having Missing Dependencies
 Right Click  on any one of the highlighted assets and select the option  List Dependencies 
 Left Click  on the Status column heading to sort the rows into category order (i.e. all the Available for Download dependencies together).

If the Status column is not present in Content Manager then refer to the Tips in the Steps above
Scroll down through the entries in the Status column. Select (highlight) any dependencies that are labelled Available for Download.
 Right Click  on any one of the selected dependencies and select the option  Download 


has been installed but contains dependencies that are not on the DLS or built-in.
  Downloaded assets can sometimes contain dependencies that are not on the DLS or Built-in (ones that came installed with Trainz). This can lead to frustrations especially if the creator of the downloaded asset has not provided any information on where these missing dependencies can be found. Even when the location, such as a 3rd party web site, has been identified as the source that site may no longer exist.
  If the missing dependencies are not on the DLS then fixing this may not be easy.
Possible Remedies:
 
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 There is a very long thread in the Trainz Forum where you will find posts looking for missing dependencies. See  Missing kuids? Post them here. You may find your missing <kuids> there. A Google search using the <kuid> values may also help here.
WARNING:
There are some well known pirate and malware sites on the Internet that have, or claim to have, some missing dependency assets. Use them at your own risk.
Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 You can try contacting the asset creator via email (their address may be in the assets config.txt file) or by sending a Direct Message through the Trainz Forum
Neither method is a guaranteed solution


Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 If all attempts to locate the missing dependencies have failed then there are still a few other options:-
Delete the Asset Containing the Missing Dependency: If the missing dependency is crucial to the asset, e.g. bogies on a locomotive, interactive industries in a route or there are simply too many missing dependencies, then deleting the asset (e.g. the locomotive or the route) may be the best and only practical option.
Delete and Ignore the Missing Dependency: If the missing dependency is part of a route but is not crucial to the route, e.g. one type of tree in a forest, then it could be deleted from the route and ignored. The next option is also a possibility.
Delete and Replace the Missing Dependency: If the missing dependency is part of a route or session then it might be possible to delete it and replace it with a similar asset. If the missing dependency is crucial to the operation of the route or its sessions then this could involve a lot of extra work.
Where the missing dependency is part of a route or a session, then it is important to discover where that dependency is located and how it is used before making a decision on which of these three options to use.


Locating Missing Dependencies in a Layout

Skip Down   Top Next Up Next Down Bottom
Missing spline and track dependencies in a layout will be marked by dotted lines in Surveyor
Missing ground texture dependencies will be shown as a bright false colour in Surveyor
Missing scenery objects, including rolling stock and track objects (e.g. signals, switches), will NOT be visible in Surveyor unless a setting has been ticked ON


Before deciding to delete any missing dependencies from a route or session, it is recommended that you identify, as far as possible, what those dependencies are and how they are used. This will provide clues to finding currently installed and suitable replacements.


Notes:

Replacing missing dependencies is not always simple. The Bulk Asset Update/Replace Tool in Surveyor Classic and the Bulk Replace Filtered Assets in Trainz Plus Surveyor 2.0 will not allow missing dependencies to be selected and replaced. Instead you must find each missing dependency and manually replace it.


Missing Splines (including Track)

Skip Down Skip Up        
Missing Spline Dependencies will be shown in Surveyor as broken white parallel lines


In the following examples...


The missing spline asset is most likely a road. If deleted the broken white lines will be removed leaving a "space" in the landscape. Deleting it will not affect the operation of the route or its sessions, just their appearance.

It could be replaced by any suitable road spline.



The missing spline asset is rail track - the presence of the track objects is a major clue. If deleted the broken white lines will be removed leaving a "space" in the landscape. Track objects on the track will also be deleted. Deleting it WILL affect the operation of the route and its sessions, as well as their appearance.

It could be replaced by any suitable rail track spline BUT you will also have to add replacements for all the track objects that were also deleted and probably need to edit Session Rules and Driver Commands as well.



The missing spline asset is a tunnel with track. If deleted it will leave gaps (and possibly digholes) in the route and it WILL affect the operation of the route and its sessions, as well as their appearance.

It could be replaced by another suitable tunnel spline.


Missing Ground Textures

Skip Down Skip Up        
Missing Ground Texture Dependencies will be shown as a false colour covering their location in the layout
Zooming out will reveal any underlying ground texture



The false blue colour indicates that the missing asset is a ground texture. If deleted it will not affect the operation of the route and its sessions, just their appearance.

It could be replaced by any suitable ground texture or, if there is another ground texture already in place (Trainz does not delete an underlying texture when you paint over it with another texture), you could ignore the missing texture and leave the pre-existing texture in place.

If you zoom out the blue colour will vanish to reveal any ground texture that was originally painted at that location before the missing texture was added.
Zooming back in again will not return the blue colour to the scene.


Missing Scenery Objects (incl Rolling Stock and Track Objects)

Skip Down Skip Up        
Missing Scenery Dependencies will be shown as orange 3D frames in the layout ONLY IF a control setting has been ticked. Otherwise there may be no indication that something is missing.


Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Missing non-spline scenery objects (e.g. trees, houses, etc), including track objects (e.g. signals, switches, speed signs, etc), will not appear in any form (e.g. as dotted while lines) in Surveyor by default. To make their presence visible you must turn on a control setting in Surveyor.


Locating these objects in a layout can give you useful clues as to what the missing dependencies are (e.g. trees/bushes, cars, buildings, signals, wagons, etc).


Steps: To Locate Missing Scenery Objects in a Layout
Open the Main Menu in Surveyor
 Left Click  on the Settings...  option.


This will open the Settings Selection Window.
 Left Click  on the  General Settings  option.


This will display the General Settings options as a set of check boxes in the right of the window.


The last Check Box in the window is Show missing assets

 Left Click  inside the Check Box to turn the control option ON (it will be shown with a )
Close the Surveyor Settings Window -  Left Click  on the icon on the bottom right


With the Show missing assets check box set on, each scenery object that is missing will be shown as an Orange Wire Frame Box in Surveyor but will still be invisible in Driver.


In the following examples...


From its size and shape, the missing asset is most probably a building. If deleted it will leave a "space" in the route but it will not affect the operation of the route or its sessions that use this route, just their appearance.

It could be replaced by any suitable similar sized building asset.



The missing asset is almost certainly an Industry Active Platform, possibly an invisible platform. The presence of a visible station building indicates that the missing asset is just the platform. If deleted it WILL affect the operation of sessions that use this route.

It could be replaced by a similar sized Industry Active platform asset but its properties and possibly the Session Rules and Driver Commands would have to be edited.



From its size, shape and location, the missing dependency (or dependencies - there may be several different ones) is most likely a tree. If deleted it will leave gaps in the forest but it will not affect the operation of the route or its sessions, just their appearance.

It could be replaced by any suitable similar sized tree asset.



The missing asset is clearly rolling stock. If deleted it WILL affect the operation of any sessions that contain the missing dependency.

It could be replaced by an alternative rolling stock asset but Session Rules and Driver Commands (coupling and decoupling) may have to be edited.



Because of its position on the track the missing asset is clearly a track object and, in this example, almost certainly a track switch. Deleted track objects COULD affect the operation of sessions using this route depending on the type of track object (track switches WILL have an effect while caution and whistle signs may not).

It could be replaced by an alternative track object asset but existing Session Rules and Driver Commands may have to be edited.


Deleting Missing Dependencies

Skip Down   Top Next Up   Bottom
Missing dependencies throughout a route can be deleted by a command found in the Tools menu of Surveyor


Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 The command used to delete missing assets is found in the Tools menu of Surveyor. This command will be different depending on the version and SP update of Trainz that you are using.
WARNING:
Deleting Missing Dependencies cannot be undone. It is strongly recommended that you make a backup copy (e.g. a .cdp file) of the route and session before performing this action.


In TRS19

The command is  Delete Missing Assets 
This is also the command in TRS22 and Trainz Plus versions SP6 and earlier.

 
In TRS22 and Trainz Plus update SP7 and later

The command is in the  Validate Route Data...  option


 Delete Missing Assets 


If this option is shown in the Surveyor Tools menu then  Left Click  on the option. ALL missing dependencies will be deleted from the route with no exceptions.

 Validate Route Data... 

If this option is shown in the Surveyor Tools menu then  Left Click  on the option to open up its dialogue window.



Note the warning at the top of the dialogue window. The changes made by this process cannot be undone.


The first three options in the selection will delete the missing dependencies - Ground Textures, Splines (including Track Splines) and Scenery Objects. The fourth option will remove any Track Objects that have been incorrectly placed or have an invalid asset type - it will NOT delete missing track object dependencies.

You can set them all to Enable (so ALL the missing dependencies will be deleted) or selectively enable/disable individual options (to delete some but not others).

Steps: To Delete Selected Missing Dependencies:-
 Left Click  on an option Drop Down Box to open its Drop Down Menu
Beneath the selected option a description of its operation will appear
 Left Click  on one of the Drop Down Options, in this example Enable or Disable
When you have completed your selections,  Left Click  on either the  Run Task  button to delete the selected assets, or on the  Cancel  button to cancel the task.


Deleting Missing Dependencies Manually

  Skip Up        
If you only have a few identified Missing Dependencies in one area then it may be easier to delete them manually
Deleting Missing Track Object Dependencies usually requires each one to be deleted manually
All Missing Dependencies can be deleted manually, one at a time. It will depend on how many you have and how widely distributed they are.
Steps: To Remove Individual Missing Dependencies Manually:-
Using Surveyor 2.0
With the Error creating thumbnail: /bin/bash: line 1: /usr/bin/convert: No such file or directory Error code: 127 Free Move Tool  Left Click  on the orange box frame of a missing dependency.
If a missing track object cannot be selected and deleted by this method then try the following steps:-
Select the track segment containing the track object
Delete and then Replace the track segment
Press the  Delete  key OR  Left Click  on the object's Context Icon and select the  Delete  option
Using Surveyor Classic
Open the appropriate flyout (for Tracks press the  F4  key, for Objects press the  F3  key)
 Left Click  on the Delete Icon and then  Left Click  on the orange box frame of the missing object


  Top Next Up    


Trainz Wiki

More Tutorials and Guides to Using Trainz

Related Links


This page was created by Trainz user pware in October 2026 and was last updated as shown below.