#326 closed defect (fixed)
error in `compile' in setup-api shouldn't call `reset'
| Reported by: | felix winkelmann | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | core tools | Version: | 4.5.x |
| Keywords: | setup-api reset | Cc: | Jim Ursetto |
| Estimated difficulty: |
Description
(reported by zbigniew)
Throwing a real error is preferable, since it can be caught by normal exception handling.
Attachments (1)
Change History (6)
comment:1 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 Changed 15 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Thank you very much Felix. I would ask that you also apply the attached patch to fix the error message.
Changed 15 years ago by
| Attachment: | 0001-setup-api-system-error-message-should-not-use-format.patch added |
|---|
comment:3 Changed 15 years ago by
Don't forget you can save some time by applying this patch directly.
git am 0001-setup-api-system-error-message-should-not-use-format.patch
comment:4 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.

I have done that, but to avoid getting call-traces (which are only interesting if you are developing a setup script and which I find quite annoying in normal use), you must pass
-debugnow tochicken-installto enable them.See "experimental" branch.