compose-x / ecs_composex

Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definitions
https://docs.compose-x.io
Mozilla Public License 2.0
158 stars 16 forks source link

[BUG] Fresh install crash on creating default output dir #692

Closed parktheredcar closed 8 months ago

parktheredcar commented 8 months ago

Describe the bug On first run with no arguments, ecs-compose-x crashes with the following error message

...AppData\Roaming\Python\Python312\site-packages\ecs_composex\common\settings.py", line 93, in ComposeXSettings
    default_output_dir = f"/tmp/{dt.utcnow().strftime('%s')}"
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Invalid format string

To Reproduce Steps to reproduce the behavior:

  1. Install with pip install ecs-composex --user
  2. run ecs-compose-x
  3. Error due to invalid strftime format string

Expected behavior Should display help message.

Logs If applicable, add logs of errors using from ECS ComposeX

Desktop (please complete the following information):

pip show ecs-composex
Name: ecs_composex
Version: 0.23.26
JohnPreston commented 8 months ago

Thanks @parktheredcar for the report. I haven't tested with Windows, that might be the reason. I don't even have a windows machine anymore :sweat_smile: Let me figure what might be going on there.

JohnPreston commented 8 months ago

@parktheredcar I published 0.23.27-rc0 for you to try and if this is working well for you, give me a :+1: and I will do the release :)