[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server

2011-09-19 Thread Cédric Dufour
Forget my previously-posted patch. It was a bit too aggressive on the character substitution and led to other errors in similar situations. The newly attached patch should solve this. Sorry for the trouble and cheers ** Patch added: "non-utf-8.patch" https://bugs.launchpad.net/ubuntu/+source

[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server

2011-09-15 Thread Ubuntu QA's Bug Bot
The attachment "non-utf-8.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' fro

[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server

2011-09-15 Thread Cédric Dufour
Personally, I have circumvented this bug by a just-a-little-less-dirty workaround (see attached patch). It will only affect fields/data that contain non-UTF-8 character(s) and just strip those from the field rather than suppressing the entire field. Hope this helps. Cédric ** Patch added: "non-u

[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server

2011-08-21 Thread Eric Seigne
Hello all, here is a dirty workaround (in my case): edit /usr/share/perl5/Ocsinventory/Agent/Backend/OS/Generic/Packaging/Deb.pm replace 'COMMENTS' => $4, with 'COMMENTS' => '', and it could work ... but there is no "comments" in software inventory ... in my case tha

[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server

2011-08-21 Thread Launchpad Bug Tracker
** Changed in: ocsinventory-agent (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/767012 Title: ocsinventory-agent sends a invalid report to the server To man