Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error parsing meta.conf #7

Closed
edahlseng opened this issue Aug 6, 2015 · 2 comments
Closed

Unexpected error parsing meta.conf #7

edahlseng opened this issue Aug 6, 2015 · 2 comments

Comments

@edahlseng
Copy link
Contributor

When running fwup with an upgrade task on an embedded device, an error is produced (almost immediately):

[buf]:66: no such option 'include-osip'
fwup: Unexpected error parsing meta.conf

Interestingly enough, when I run the command on my local machine with the sd card simply inserted as an external device, I don't encounter this command.

@fhunleth
Copy link
Collaborator

fhunleth commented Aug 7, 2015

The computers are running different versions of fwup. The embedded device is running an older version. If you match them up, it will work. I view this as a bug. In my own work, I tend to stick to a firmware update version and not change it (or only minorly change it) to avoid forward and backward compatibility problems, but I don't like that as a solution. The real solution is to remove libconfuse from fwup, since it adds unspecified parameters when it normalizes configurations but then rejects configurations when it sees something unknown. This can't be changed without modifying libconfuse, and this is only one of libconfuse's shortcomings (how I wish I figured this out earlier). I have an incomplete branch to fix this, but it might be a while that it can be in a form to integrate. For now, I'd suggest sticking with the same version both places.

@fhunleth
Copy link
Collaborator

fhunleth commented Dec 2, 2015

I'm going to replace this issue with #12. I can make fwup more robust to this backwards incompatibility problem with an upgrade to libconfuse. Unfortunately, they still haven't released the new version, but I hope they will soon.

@fhunleth fhunleth closed this as completed Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants