Error
When trying to open a project file (.p4d) using PIX4Dmapper, the project fails to load and one of the following messages is displayed:
e0400a. "Cannot open project... The project file does not exist."
e0400b. "Cannot open project... Invalid format."
e0400c. "Cannot open project... Project version is greater than the software version."
e0400d. "Cannot open project... Some of the image paths cannot be found."
e0400e. "Cannot open project... Cannot convert the project file to the latest format."
e0400f. "Cannot open project... The project needs to contain at least 3 enabled images."
e0400g. "Cannot open project... Non expected parsing error."
Cause
a. The project file does not exist.
The .p4d file has been moved or deleted and does not exist in this directory.
b. Invalid format.
A typical error is the XML validation that failed with XSD. The .p4d format conversion is automatic when upgrading a project, meaning when jumping from one version to a more recent one. However if the gap between versions is too big, the conversion might fail (e.g. from 3.0.1 to 4.0.1).
c. Project version is greater than software version.
By default, the .p4d file is not retro-compatible regarding the software version. As an example, it is not possible to open a project using 4.1.0 if the project was previously created or opened using 4.1.1.
d. Some of the image paths cannot be found.
The images of the project are moved to another location.
e. Cannot convert the project file to the latest format.
The .p4d file is too old and cannot be converted to the latest format.
f. The project needs to contain at least 3 enabled images.
Less than three images are enabled.
g. Non expected parsing error.
Solution
a. The project file does not exist.
Create a new project.
b. Invalid format.
Edit the .p4d file using a source code editor like Notepad++.
- Open the .p4d file using Notepad++.
- Go to line 35 and set the OptimizerType to Ceres.
- On the menu bar, click File > Save.
c. Project version is greater than software version.
Download and install the latest version via this link. Although downgrading the project version is not recommended, it is possible to edit the .p4d file using a source code editor like Notepad++.
- Open the .p4d file using Notepad++.
- Edit the projectVersion and p4dVersion. Check the .p4d file of another project having the older version format to know which values to put.
- On the menu bar, click File > Save.
d. Some of the image paths cannot be found.
Create a new project.
e. Cannot convert the project file to the latest format.
To convert a very old .p4d file, a smooth transition between versions is required. A project processed with a version should be opened with the next stable version).
f. The project needs to contain at least 3 enabled images.
To be able to process the project, at least three images have the be used. To be able to process a project, create a new project.
g. Non expected parsing error.
Double click the P4D project file from Windows File Explorer rather than opening it from within PIX4Dmapper.