Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some errors do not show the line where they happened #1535

Closed
manast opened this issue Jun 10, 2015 · 2 comments
Closed

Some errors do not show the line where they happened #1535

manast opened this issue Jun 10, 2015 · 2 comments

Comments

@manast
Copy link

manast commented Jun 10, 2015

Which makes quite difficult to correct them. Also, why displaying an ugly stack trace which provides no useful info to the end user?

Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.main", line 31, in main
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 21, in sys_dispatch
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.command", line 27, in dispatch
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 24, in dispatch
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.command", line 57, in perform_command
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.command", line 77, in get_project
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.project", line 69, in from_dicts
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.project", line 49, in sort_service_dicts
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.project", line 42, in visit
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.project", line 27, in get_service_dependents
  File "/compose/build/docker-compose/out00-PYZ.pyz/compose.project", line 21, in get_service_names
AttributeError: 'dict' object has no attribute 'split'
@dnephin
Copy link

dnephin commented Jun 10, 2015

I think this is #129 , there's an error in your config related to links:

@dnephin
Copy link

dnephin commented Oct 16, 2015

Now that #129 is in, this should be fixed. You can try it out in the 1.5.0rc1 release

@dnephin dnephin closed this as completed Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants