2022-09-15 06:37 AM
I wanted to import a custom container from another project. It however does not work because typographies and images are already present in the current project. I use the same buttons in several custom containers and screens. In this case it should be possible to continue to import by using the already present resources.
2022-09-15 06:42 AM
Here is the log:
Prepare Import of package
Validate package
Package valid for import.
Create import report
Found Custom Container: CustomContainerStatusbar_1
Found Text: __SingleUse_U8WM
Found Text: __SingleUse_J454
Found Text: __SingleUse_A8SL
Found Text: __SingleUse_VEY1
Found Text: __SingleUse_HHYW
Found Text: __SingleUse_06GT
Found Text: __SingleUse_I9NV
Found Text: __SingleUse_T6YG
Found Text: __SingleUse_SU1A
Found Text: __SingleUse_5V1X
Found Text: __SingleUse_K43U
Found Text: __SingleUse_4AD2
Found Text: __SingleUse_RPYU
Found Text: __SingleUse_YLVU
Found Text: __SingleUse_7IYM
Found Text: __SingleUse_JL2B
Found Text: __SingleUse_UB2E
Found Text: __SingleUse_NX5W
Found Text: __SingleUse_QAL6
Found Text: __SingleUse_L20S
Found Text: __SingleUse_DWC2
Found Text: __SingleUse_36JK
Found Typography Typography_05
Found Typography Typography_MessageDetailAndTimer
Found Typography Small
Found Typography Typography_MeasDateTime
Found Typography Typography_Statusbar
Found File: gui/src/containers/CustomContainerStatusbar_1.cpp
Found File: gui/include/gui/containers/CustomContainerStatusbar_1.hpp
Found Image: radiobutton_no.png
Found Image: radiobutton_yes.png
Found Image: button_off_background.png
Found Image: button_on_background.png
Found Image: statusleiste_trennlinie.png
Found Image: statusleiste_debugger.png
Found Image: statusleiste_fehler_mur.png
Found Image: statusleiste_hinweis_final.png
Found Image: statusleiste_play_mur.png
Found Image: statusleiste_measuring_mur.png
Found Image: statusleiste_spuelvorgang.png
Found Image: statusleiste_usb.png
Found Image: statusleiste_download_final.png
Found Image: statusleiste_upload.png
Found Image: statusleiste_batterie_geladen.png
Found Image: statusleiste_batterie_voll.png
Found Image: statusleiste_batterie_laden.png
Found Image: statusleiste_batterie_leer.png
Found Image: statusleiste_aufwaermphase.png
Found Image: statusleiste_aufwaermphase_2_mur.png
Found Image: statusleiste_batterie_halb.png
Found Image: statusleiste_hinweis_final_blue.png
Found Image: statusleiste_fehler_final_red.png
Found Image: spritzeyellow-24.png
Found Image: air_mur.png
Found Image: statusleiste_service.png
Found Image: statusleiste_developer.png
Found Image: poweroff20.png
Found Image: transparent76x76.png
Found Image: transparent400x40.png
Found Image: hwbutton_power_80x80.png
Found Image: hwbutton_home_80x80.png
Found Image: hwbutton_back_80x80.png
Found Font: AvenirNextW1G-Regular.ttf
Scan for conflicts
Typography with id: "Typography_05" already exists
Typography with id: "Small" already exists
Image: "radiobutton_no.png" already exists
Image: "radiobutton_yes.png" already exists
Image: "button_off_background.png" already exists
Image: "button_on_background.png" already exists
Image: "statusleiste_trennlinie.png" already exists
Image: "statusleiste_fehler_mur.png" already exists
Image: "statusleiste_hinweis_final.png" already exists
Image: "statusleiste_play_mur.png" already exists
Image: "statusleiste_measuring_mur.png" already exists
Image: "statusleiste_spuelvorgang.png" already exists
Image: "statusleiste_usb.png" already exists
Image: "statusleiste_download_final.png" already exists
Image: "statusleiste_upload.png" already exists
Image: "statusleiste_batterie_geladen.png" already exists
Image: "statusleiste_batterie_voll.png" already exists
Image: "statusleiste_batterie_laden.png" already exists
Image: "statusleiste_batterie_leer.png" already exists
Image: "statusleiste_aufwaermphase.png" already exists
Image: "statusleiste_aufwaermphase_2_mur.png" already exists
Image: "statusleiste_batterie_halb.png" already exists
Image: "statusleiste_hinweis_final_blue.png" already exists
Image: "statusleiste_fehler_final_red.png" already exists
Image: "spritzeyellow-24.png" already exists
Image: "air_mur.png" already exists
Image: "statusleiste_service.png" already exists
Image: "statusleiste_developer.png" already exists
Image: "poweroff20.png" already exists
Image: "transparent76x76.png" already exists
Cannot import package: There are conflict with existing items in project
Package is not valid for import. View log for errors.
2022-09-15 06:44 AM
Maybe the reason is, that I have modified the conflicted items.
2023-11-26 11:43 PM
I have encountered the exact same problem.
It occurs with both the TouchGFX V4.20.0 and V4.22.1 that I tested.
Below is a simple example to reproduce it:
1) Create a new TouchGFX project
2) Create two simple custom containers
2.1) a text "Test1" (typography DEFAULT), an image pic.png
2.2) a text "Test2" (typography DEFAULT), one image pic.png
3) Export both custom containers
4) Create a new TouchGFX project
5) Import both custom containers
5.1) Works fine
5.2) Cannot be imported, typography DEFAULT already exists, pic.png already existing
Is there any workaround for this behavior?
The import function is completely useless for me in my project! And I have to create finished elements completely from scratch every time.
2023-11-27 03:31 AM
Hello @M.Gehrmann_bce ,
Thank you for your message. I'll check if we can prioritize a fix for resolving this issue. I'll get back to you when I'll have more info.