question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Launch script failing

See original GitHub issue

I got the following error while runnig the launch script.

INFO:__main__:collecting AWS resources
INFO:__main__:Creating security groups
INFO:__main__:Creating worker AMI
. None
. None
. None
. None
. None
. None
. None
. None
. None
. None
ERROR:__main__:hit max retries on <bound method ClientCreator._create_api_method.<locals>._api_call of <botocore.client.EC2 object at 0x7ff05ff16ac8>>
Traceback (most recent call last):
  File "./launch_cluster/launch.py", line 399, in <module>
    launch_manager(config)
  File "./launch_cluster/launch.py", line 57, in launch_manager
    worker_ami_id = make_worker_ami(config, ec2, [manager_security_group.id, manager_security_group2.id])
  File "./launch_cluster/launch.py", line 169, in make_worker_ami
    instance = launch_server(config, ec2, security_group_list, size=int(config.worker_ebs_size))
  File "./launch_cluster/launch.py", line 321, in launch_server
    BlockDeviceMappings=[boot_drive]
  File "./launch_cluster/launch.py", line 382, in retry
    raise e

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

3reactions
farassadekcommented, Aug 24, 2018

This variable should be defined before called . I will fix it.

0reactions
alexraju91commented, Aug 23, 2018

@farassadek This thread is addressing the issue with the try exception. If the function passed to retry method is buggy, local variable 'e' referenced before assignment error appears. LIke @jakobmaier-eu said, this is a migration issue from python 2 to 3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

failed to execute script - Microsoft Community
hello,i am trying to open A third party APP I have,was working fine until the other day,i get failed to execute script when...
Read more >
[Solved] Failed to execute script and some other errors
How to solve these three errors?1. Failed to execute script2. Maximum recursion depth exceeded while calling a python object3.
Read more >
Pyinstaller Error "failed to execute script " When App Clicked ...
I got the main.exe inside dist folder. I double clicked on this file, and I raised the error mentioned above. To fix this,...
Read more >
Why script completed successful when executed manually on ...
When login to machine manually and run the script, it completed successful. However, the same script failed and ended NOT OK when executed...
Read more >
"Script Failed to Start" when running an AMP script or task. All ...
On the device, go to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall · Delete all subkeys that start and end ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found