[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server
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/ocsinventory-agent/+bug/767012/+attachment/2426102/+files/non-utf-8.patch -- 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 manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/767012/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server
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-utf-8.patch https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/767012/+attachment/2407594/+files/non-utf-8.patch -- 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 manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/767012/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server
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' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu- sponsors please also unsubscribe the team from this bug report. [This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.] ** Tags added: patch -- 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 manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/767012/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server
** 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 manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/767012/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 767012] Re: ocsinventory-agent sends a invalid report to the server
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 that's less important than no inventory at all Éric -- 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 manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocsinventory-agent/+bug/767012/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs