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.

Exiting with failure status with Mech up, Ubuntu 16.04 4.13.0-43-generic #48~16.04.1-Ubuntu

See original GitHub issue

Hi there, I tried it with mech up but face this issue. Fact:

x091s@x091s-X250:/data/vmware$ uname -a
Linux x091s-X250 4.13.0-43-generic #48~16.04.1-Ubuntu SMP Thu May 17 12:56:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Command:

x091s@x091s-X250:/data/vmware$ mech init centos/6
Initializing mech
Loading metadata for box 'centos/6'
A `Mechfile` has been initialized and placed in this directory. You
are now ready to `mech up` your first virtual environment!
x091s@x091s-X250:/data/vmware$ mech up
Loading metadata for box 'centos/6' (1804.02)
Box 'centos/6' could not be found. Attempting to download...
URL: https://vagrantcloud.com/centos/boxes/6/versions/1804.02/providers/vmware_desktop.box
vmware_desktop.box [################################] 380024/380024 - 00:01:14
**Issue:**
Checking box 'centos/6' integrity...
tar: Pattern matching characters used in file names
tar: Use --wildcards to enable pattern matching, or --no-wildcards to suppress this warning
tar: *.vmx: Not found in archive
tar: Exiting with failure status due to previous errors
Bringing machine up...
Traceback (most recent call last):
  File "/usr/local/bin/mech", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/mech/__main__.py", line 39, in main
    return Mech(arguments)()
  File "/usr/local/lib/python2.7/dist-packages/mech/command.py", line 71, in __call__
    obj = klass(arguments)
  File "/usr/local/lib/python2.7/dist-packages/mech/mech.py", line 605, in up
    started = vmrun.start(gui=gui)
  File "/usr/local/lib/python2.7/dist-packages/mech/vmrun.py", line 143, in start
    return self.vmrun('start', self.vmx_file, 'gui' if gui else 'nogui', quiet=quiet)
  File "/usr/local/lib/python2.7/dist-packages/mech/vmrun.py", line 104, in vmrun
    logger.debug(" ".join("'{}'".format(c.replace("'", "\\'")) if ' ' in c else c for c in cmds))
  File "/usr/local/lib/python2.7/dist-packages/mech/vmrun.py", line 104, in <genexpr>
    logger.debug(" ".join("'{}'".format(c.replace("'", "\\'")) if ' ' in c else c for c in cmds))
TypeError: argument of type 'NoneType' is not iterable

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Kronuzcommented, Jul 6, 2018

Can you please try with v0.7.6, it should fix these errors and pass --wildcards when available.

Let me know if it works, to close the issue.

0reactions
Kronuzcommented, Oct 26, 2018

This will be fixed in next version. See #37 #49

Read more comments on GitHub >

github_iconTop Results From Across the Web

tar: Exiting with failure status due to previous errors - Super User
If I cant ignore it, what are the steps to diagnose and resolve the error? I am running on Ubuntu 10.0.4. ubuntu ·...
Read more >
Exiting with failure status due to previous errors - Stack Overflow
When there is an error compress process tar : Exiting with failure status due to previous errors. I've tried the way of the...
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