AttributeError: 'Namespace' object has no attribute 'attachments' #286

Closed
zopyx opened this Issue Dec 27, 2015 · 5 comments

Comments

Projects
None yet
3 participants
@zopyx

zopyx commented Dec 27, 2015

bin/weasyprint -a test.svg index.html index.pdf
Traceback (most recent call last):
File "bin/weasyprint", line 9, in
load_entry_point('WeasyPrint==0.25', 'console_scripts', 'weasyprint')()
File "/Users/ajung/src/enbit/lib/python3.4/site-packages/weasyprint/main.py", line 150, in main
kwargs['attachments'] = args.attachments
AttributeError: 'Namespace' object has no attribute 'attachments'

How about quality control and unit tests?

@SimonSapin

This comment has been minimized.

Show comment
Hide comment
@SimonSapin

SimonSapin Dec 27, 2015

Member

How about quality control and unit tests?

So entitlement. Many helpful. Wow.

Member

SimonSapin commented Dec 27, 2015

How about quality control and unit tests?

So entitlement. Many helpful. Wow.

@zopyx

This comment has been minimized.

Show comment
Hide comment
@zopyx

zopyx Dec 27, 2015

Some more blather?

zopyx commented Dec 27, 2015

Some more blather?

@SimonSapin

This comment has been minimized.

Show comment
Hide comment
@SimonSapin

SimonSapin Dec 27, 2015

Member

In other language: you’re using for free the fruit of a couple years of work, and you think that a hostile comment like this is gonna improve your chances of getting help from strangers?

This honestly doesn’t look hard to fix, but now I’m going to do something else instead and won’t comment further on this issue.

By the way, unit tests for __main__.py are in test_command_line_render() in weasyprint/tests/test_api.py.

Member

SimonSapin commented Dec 27, 2015

In other language: you’re using for free the fruit of a couple years of work, and you think that a hostile comment like this is gonna improve your chances of getting help from strangers?

This honestly doesn’t look hard to fix, but now I’m going to do something else instead and won’t comment further on this issue.

By the way, unit tests for __main__.py are in test_command_line_render() in weasyprint/tests/test_api.py.

@zopyx

This comment has been minimized.

Show comment
Hide comment
@zopyx

zopyx Dec 27, 2015

Software breaking after a few tries...and then couple of years work....poor software..yes, hostile...too much broken software out in the wild that would be better kept in a private repo.

zopyx commented Dec 27, 2015

Software breaking after a few tries...and then couple of years work....poor software..yes, hostile...too much broken software out in the wild that would be better kept in a private repo.

@SimonSapin SimonSapin closed this Dec 27, 2015

@Kozea Kozea locked and limited conversation to collaborators Dec 27, 2015

@liZe

This comment has been minimized.

Show comment
Hide comment
@liZe

liZe Dec 31, 2015

Member

See d09ba47.

Member

liZe commented Dec 31, 2015

See d09ba47.

@liZe liZe added crash bug labels Dec 31, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.