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.

Running shutit skeleton throws an error trying to create directory

See original GitHub issue

Hi There,

I am trying to run shutit skeleton and am faced with the following error when pressing enter to confirm the project directory:

>> /home/unitelabs/projects/shutitskel_feeder
Traceback (most recent call last):
  File "/home/unitelabs/.virtualenvs/idorsia/bin/shutit", line 11, in <module>
    sys.exit(main())
  File "/home/unitelabs/.virtualenvs/idorsia/local/lib/python2.7/site-packages/shutit.py", line 72, in main
    shutit.setup_shutit_obj()
  File "/home/unitelabs/.virtualenvs/idorsia/local/lib/python2.7/site-packages/shutit_class.py", line 4126, in setup_shutit_obj
    self.parse_args()
  File "/home/unitelabs/.virtualenvs/idorsia/local/lib/python2.7/site-packages/shutit_class.py", line 3757, in parse_args
    vagrant_image_name=args.vagrant_image_name))
  File "/home/unitelabs/.virtualenvs/idorsia/local/lib/python2.7/site-packages/shutit_class.py", line 3260, in process_args
    self.handle_skeleton(args)
  File "/home/unitelabs/.virtualenvs/idorsia/local/lib/python2.7/site-packages/shutit_class.py", line 3370, in handle_skeleton
    module_directory = shutit_util.util_raw_input(prompt='\n>> ', default=default_dir)
  File "/home/unitelabs/.virtualenvs/idorsia/local/lib/python2.7/site-packages/shutit_util.py", line 258, in util_raw_input
    return input(prompt).strip() or default
  File "<string>", line 1
    /home/unitelabs/projects/shutitskel_feeder
    ^
SyntaxError: invalid syntax

OS: Ubuntu 16.04 LTS Python: 2.7.12 shutit: 1.0.118

The funny thing is that if I put apostrophe’s (") before and after the values in the prompt then no error is thrown. Are you familiar with this issue?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ianmiellcommented, Jun 12, 2018

OK, am closing this one - if you have any suggestions for improvements or problems at all, please do raise more tickets.

0reactions
gaviriarcommented, Jun 12, 2018

Awesome! thanks @ianmiell for the swift response, I appreciate it!

I can understand you think you might be biased, but I have to say I agree with you, shutit is likely the tool for me. I will take a look at the link you shared which is exactly what I was looking for. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get "Directory not empty" when I try to remove an ...
The file can only be seen, and thus can only be deleted, by a command running on the fileserver hosting that filesystem. Share....
Read more >
unknown error: Chrome failed to start: exited abnormally ...
I was trying to run selenium on Jenkins with Mocha framework using ... I had selected the 'Start Xvfb before the build, and...
Read more >
Using JSON Schema
JSON and JSON Schema content can be created and edited with any text editor. ... To run this program, use the following command...
Read more >
abhinavsingh/proxy.py - GitHub
If you are trying to run proxy.py from source code, there is no binary file named proxy in the source code. To start...
Read more >
Building and configuring environments - Full stack open
First, let's run the application to get an idea of what we just created. Note that the command to run the application may...
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