[Bug 1542438] Re: Python LXC api needs to be much better at error reporting

2020-03-25 Thread Stéphane Graber via ubuntu-bugs
** Changed in: lxc (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1542438 Title: Python LXC api needs to be much better at error reporting To manage

[Bug 1542438] Re: Python LXC api needs to be much better at error reporting

2016-02-10 Thread Serge Hallyn
Thanks, if it turns out there is more that lxc could do please do reply here or open a github issue. Doing more in the C api woudl be tough, as we'd presumably need to allocate memory for the error msg which the caller would need to free. Returning more in the python API could be doable if it

[Bug 1542438] Re: Python LXC api needs to be much better at error reporting

2016-02-10 Thread Serge Hallyn
Thanks, if it turns out there is more that lxc could do please do reply here or open a github issue. Doing more in the C api woudl be tough, as we'd presumably need to allocate memory for the error msg which the caller would need to free. Returning more in the python API could be doable if it

[Bug 1542438] Re: Python LXC api needs to be much better at error reporting

2016-02-08 Thread Christopher Townsend
Ok, thanks, that might work. I will have to think on how best to parse the log file for any error messages that are only applicable to the actual LXC Python API call the application is executing and pass these error messages back to the user and present them in a meaningful manner. -- You

[Bug 1542438] Re: Python LXC api needs to be much better at error reporting

2016-02-08 Thread Christopher Townsend
Ok, thanks, that might work. I will have to think on how best to parse the log file for any error messages that are only applicable to the actual LXC Python API call the application is executing and pass these error messages back to the user and present them in a meaningful manner. -- You