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.

Unable to submit module

See original GitHub issue

I’m trying to create a module to experiment AWS CloudFormation Modules.

These are the following commands:

  • cfn init
  • cfn submit

Output Module fragment is valid. === Unhandled exception === Please report this issue to the team. Issue tracker: github.com/aws-cloudformation/cloudformation-cli/issues Please include the log file ‘rpdk.log’

Logs [2021-06-29T06:31:16Z] DEBUG - Unhandled exception Traceback (most recent call last): File "c:\users\xyz\appdata\local\programs\python\python39\lib\site-packages\rpdk\core\cli.py", line 100, in main args.command(args) File "c:\users\xyz\appdata\local\programs\python\python39\lib\site-packages\rpdk\core\submit.py", line 15, in submit project.submit( File "c:\users\xyz\appdata\local\programs\python\python39\lib\site-packages\rpdk\core\project.py", line 502, in submit zip_file.write(self.schema_path, SCHEMA_UPLOAD_FILENAME) File "c:\users\xyz\appdata\local\programs\python\python39\lib\zipfile.py", line 1727, in write zinfo = ZipInfo.from_file(filename, arcname, File "c:\users\xyz\appdata\local\programs\python\python39\lib\zipfile.py", line 501, in from_file st = os.stat(filename) FileNotFoundError: [WinError 2] The system cannot find the file specified: 'D:\\Training\\CloudFormation Modules\\Code Bundle\\S3 Bucket\\s3-module\\rsrchexp-s3-bucket-module.json'

I have tried re-installing the CLI but it didn’t work.

Note: I’m using Windows 10 operating system.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
rickschubertcommented, Jun 30, 2021

We have found a fix for this now: We were using the tool cloudformation-cli-python-plugin for cfn and installing the cloudformation-cli using pip3 without a regular version. We now don’t use the python plugin and set a specific version of the CLI like so:

pip3 install cloudformation-cli==0.2.12

At least in our case, this fixed it for us.

1reaction
mikebrobertscommented, Sep 2, 2021

@ugudip / @MalikAtalla-AWS - This now works for me with 0.2.16 - thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to submit module · Issue #783 · aws-cloudformation ...
I am trying to develop a simple module, but the submit command seems broken. Steps to reproduce. cfn init; write .yaml template insde...
Read more >
Why am I unable to submit my Moodle assignment?
Answer. First please check the due date in the submission status box. If the date has passed you may no longer be able...
Read more >
Unable to Submit Assignment - Moodle.org
Re: Unable to Submit Assignment ... Try turning off javascript caching and see if that resolves it. If not, something must have happened...
Read more >
Magento 2. Failed to submit module to Magento Marketplace ...
I am unable to submit a new module or update a existing module in the Magento Marketplace. For all modules/new versions, I get...
Read more >
Trouble submitting your paper? - Turnitin Help
Are you having trouble submitting your paper to Turnitin? Here are some troubleshooting steps you can take to help you submit work.
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