Unable to export template or UI files - ubuntu 22.04

What do you want to achieve?

I am trying to export my UI files to use in my project:

Export failed: System.IO.DirectoryNotFoundException: Could not find a part of the path

What have you tried so far?

I have tried exporting files and ensured permissions weren’t strange. I also tried to use short paths to make sure, but still getting the same error.

Others

  • SquareLine Studio version - 1.5.3:
  • Operating system Ubuntu 22.04:
  • Target hardware: Matouch 2.1 Rotary

Hi, It seems like the root of the problem might be an incorrect path configuration set when you first created the project. This can happen if the initial UI export path doesn’t align with where the selected board’s template files are expected to be generated.

Could you please specify which board and which version of its board package you are using?

In the meantime, please try the following steps to resolve the issue:

  • Go to Project Settings.
  • Clear the paths for both Project Export Directory and UI Files Export Directory.
  • Click the Apply changes button.
  • Save your project, then close and reopen it.
  • Click the Create Template Project button again and select the main folder where you want to export your project.

At this point, SquareLine Studio should automatically set the correct UI files export path within the template project structure. It’s important that you do not change this automatically generated path, as the exported project is configured to look for the UI files in that specific location.

This process should reset the paths and allow the export to complete successfully. Let me know if this helps!