Skip to content

Instantly share code, notes, and snippets.

@Kagee
Created September 28, 2011 20:54
Show Gist options
  • Save Kagee/1249231 to your computer and use it in GitHub Desktop.
Save Kagee/1249231 to your computer and use it in GitHub Desktop.
hildenae@sektober:~/Dokumenter/Kildekode$ play
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.2.3, http://www.playframework.org
~ framework ID is dev
~
~ Usage: play cmd [app_path] [--options]
~
~ with, new Create a new application
~ run Run the application in the current shell
~ help Show play help
~
hildenae@sektober:~/Dokumenter/Kildekode$ play new people
~ _ _
~ _ __ | | __ _ _ _| |
~ | '_ \| |/ _' | || |_|
~ | __/|_|\____|\__ (_)
~ |_| |__/
~
~ play! 1.2.3, http://www.playframework.org
~ framework ID is dev
~
~ The new application will be created in /home/hildenae/Dokumenter/Kildekode/people
~ What is the application name? [people] PeopleApp
Traceback (most recent call last):
File "/home/hildenae/.bin/play/play", line 153, in <module>
status = cmdloader.commands[play_command].execute(command=play_command, app=play_app, args=remaining_args, env=play_env, cmdloader=cmdloader)
File "/home/hildenae/.bin/play/framework/pym/play/commands/base.py", line 37, in execute
new(app, args, env, cmdloader)
File "/home/hildenae/.bin/play/framework/pym/play/commands/base.py", line 94, in new
os.mkdir(os.path.join(app.path, 'app/models'))
OSError: [Errno 2] No such file or directory: '/home/hildenae/Dokumenter/Kildekode/people/app/models'
hildenae@sektober:~/Dokumenter/Kildekode$ ls people/
hildenae@sektober:~/Dokumenter/Kildekode$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment