cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to build python webserver snap

Unable to build python webserver snap

sanX
New Contributor

Hi all,

I am working with the SDK 1.18 and I am trying to test the webserver example from the python examples in the SDK, but unfortunately I receive some warnings when creating the snap and when I try to test the app in the ctrlX CORE it does not work and stays in "The app is currently not available"

App message

I have not done any change in the webserver sample and I have just run the build-snap-arm64.sh file and it is able to create the snap but I receive these warnings:

Snap creation warnings

I have noticed that it is not able to download that files as you can see here:

Libraries are not downloaded

However, if I test the connection it works fine:

Internet connection check

If I add the libraries in the .yaml file as shown here:

Stage packages libraries addition in the .yaml files

I receive the messages:

Python webserver Snap creation errors

I attach the terminal output when generating the arm64 snap file and a .zip file with the webserver folder so you can also test it.

Thank you very much in advance.

Best regards,

Nicolas

7 REPLIES 7

CodeShepherd
Community Moderator
Community Moderator

The AMD variant of the snap is running on my side but the ARM not. We are investigating this issue.

Did you try using the version 1.20 of the SDK? Examples were reworked there.

I have the same problem as sanX,  how can I install the sdk version 1.20 on the App Build Enviroment ? 

Hi @Juergen1,

See this post. 

Hello @CodeShepherd

I tried with the version 1.20 of the sdk following this post and i get the same error as before when i build an arm64 snap : 

Felix__0-1711719629849.png

@sanX Did you manage to build it without this problem ?

Thank you in advance,

Félix

 

nickH
Community Moderator
Community Moderator

Hi @Felix_ 

Have you tried to install the snap on a ctrlX CORE X3? 

I think snapcraft might be printing out warnings which are not really relevant.

Best regards, 

Nick

Hi @nickH 

Yes, I've realized that these warnings don't affect the build.

Thank you for your reply.

Félix

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist