zatosource / zato

ESB, SOA, REST, APIs and Cloud Integrations in Python
https://zato.io
GNU Affero General Public License v3.0
1.1k stars 239 forks source link

zato quickinstall traceback at step #7 #74

Closed seletz closed 11 years ago

seletz commented 11 years ago

I get this tb at step number 7


zato quickstart create ./qs-1 postgresql localhost 5432 zato1 zato1 localhost 6379 --verbose

ODB database password (will not be echoed):
Enter the odb_password again (will not be echoed):

Key/value database password (will not be echoed):
Enter the kvdb_password again (will not be echoed):
[1/8] Certificate authority created
[2/8] ODB schema already exists
[3/8] ODB initial data created
[4/8] server1 created
[5/8] server2 created
[6/8] Load-balancer created
Traceback (most recent call last):
  File "/Users/seletz/develop/python/zato/zato-1.1/bin/zato", line 89, in <module>
    sys.exit(zato.cli.zato_command.main())
  File "/Users/seletz/develop/python/zato/zato-1.1/zato-cli/src/zato/cli/zato_command.py", line 227, in main
    return run_command(get_parser().parse_args())
  File "/Users/seletz/develop/python/zato/zato-1.1/zato-cli/src/zato/cli/__init__.py", line 164, in run_command
    command_class[args.command](args).run(args)
  File "/Users/seletz/develop/python/zato/zato-1.1/zato-cli/src/zato/cli/__init__.py", line 358, in run
    sys.exit(self.execute(args))
  File "/Users/seletz/develop/python/zato/zato-1.1/zato-cli/src/zato/cli/quickstart.py", line 312, in execute
    admin_created = create_web_admin.Create(create_web_admin_args).execute(create_web_admin_args, False, password)
  File "/Users/seletz/develop/python/zato/zato-1.1/zato-cli/src/zato/cli/create_web_admin.py", line 99, in execute
    self.copy_web_admin_crypto(repo_dir, args)
  File "/Users/seletz/develop/python/zato/zato-1.1/zato-cli/src/zato/cli/__init__.py", line 375, in copy_web_admin_crypto
    shutil.copyfile(os.path.abspath(getattr(args, attr)), file_name)
  File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/Users/seletz/develop/python/zato/qs-1/web-admin/qs-1/ca/out-pub/web-admin-pub-2013-06-18_21-50-28.pem'

this is on OSX 10.8. Tried with both zato 1.1 and 1.0.

dsuch commented 11 years ago

Thanks Stefan, I'm having a look at it right now..

dsuch commented 11 years ago

OK, this was fixed in 3197817 - relative paths were not allowed but they are now.

Please pull the latest hotfixes https://zato.io/docs/admin/guide/hotfixes.html and everything will be good :-)

Again, many thanks for spotting it and opening a ticket!

seletz commented 11 years ago

OK, this TB is fixed.