cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

IDE Textual : Missing 'Launch Python in Script Engine' option in debug

IDE Textual : Missing 'Launch Python in Script Engine' option in debug

ParcoW
Member

Hi,

I'm facing an issue where I can only see the 'Python: Current File' option when trying to run my script in the script engine. I've tried reinstalling both the IDE and Python runtime without success. I also tested with IDE versions 118 and 120, but the problem persists. Additionally, the source control tab indicates 'No repository found.'

Has anyone encountered this? How can I run my script in the script engine properly?

Thanks.

5 REPLIES 5

CodeShepherd
Community Moderator
Community Moderator

Is the ctrlX OS - Python Runtime installed? Could you add a system report (how to) so can get some more insights of your system?

Yes, both the Python runtime and the IDE have been installed. Please see the attached system report.

Thanks

CodeShepherd
Community Moderator
Community Moderator

Could you do a test with the current release version 1.20 of the ctrlX OS - IDE app? It can be found in the store area of the collaboration room.

I still have the same problem with both versions.

Hi Parco,

regarding the missing entry "Launch Python in Script Engine" you can try two approaches.

Approach 1:

  1. Delete the launch.json 
    BrightKnight_0-1711365434026.png
  2. Uninstall the IDE App and install it again. (Really uninstall first and not just reinstall)

Approach 2:

  1. Press this button: 
    BrightKnight_1-1711365683550.png
  2. A launch.json should open in which you paste the content of the attached launch.txt

This error can occur when pressing this control wheel button. You should avoid pressing it. We are investigating the root issue and are planing to fix it in the upcoming release.

------------------------------------------------------------------------------------------------------------------------------------------

In your other attached screenshots you showed two additional topics.

  • Repositories can only be found when a .git folder is present. You need to either clone or init one. The activeConfiguration directory is initially not a git repo and therefore none is found.
  • The python error "ctrlx is not defined" indicates a wrong setup for running scripts with local python interpreter. Please follow this instruction:https://docs.automation.boschrexroth.com/doc/3466740003/local-python-runtime-environment/latest/en/.I see from yur script that you have e.g. missed to import config and configure it.

Kind Regards
Daniel

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