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

Applet failing with "Parse error - 1 is not a number" #56

Closed
dkopecek opened this issue Feb 13, 2016 · 7 comments
Closed

Applet failing with "Parse error - 1 is not a number" #56

dkopecek opened this issue Feb 13, 2016 · 7 comments
Assignees
Milestone

Comments

@dkopecek
Copy link
Member

From @rexcze on May 27, 2015 8:41

I installed usbguard with applet from copr repozitory on Fedora 22 x86_64 system, than created rule wich allows only Mass storage devices, opened applet and inserted USB Flash disk. Than applet fails with this message:

usbguard-applet-qt

terminate called after throwing an instance of 'std::invalid_argument'
what(): parse error - 1 is not a number
Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])

I can provide core dump if needed (as far as I can not upload it to Fedora bugzilla with automated abrt)

Copied from original issue: dkopecek/usbguard-applet-qt#8

@dkopecek dkopecek self-assigned this Feb 13, 2016
@dkopecek dkopecek added the bug label Feb 13, 2016
@dkopecek
Copy link
Member Author

Thanks for the report! Yeah, the applet didn't passed the review process yet in Fedora, so there's no bugzilla component for it. Anyway, if you can provide the core dump or a backtrace, then put it somewhere where I can access it...

@dkopecek
Copy link
Member Author

From @rexcze on May 27, 2015 12:20

http://leteckaposta.cz/333845983

@dkopecek
Copy link
Member Author

Looks like this is a locale and nlohmann/json related problem. See nlohmann/json#82. I'll try to workaround this somehow, until this is resolved in the json library.

@dkopecek
Copy link
Member Author

Hmm, looks like the commit doesn't help. However, you can workaround this from the command line:

 $ LC_NUMERIC=C ./usbguard-applet-qt

@dkopecek
Copy link
Member Author

From @rexcze on June 22, 2015 8:23

This workaround works. Thanks

@genodeftest
Copy link
Contributor

I think this issue is fixed with 0.5.10.

@dkopecek dkopecek added this to the 0.5.x milestone Jul 12, 2016
@dkopecek
Copy link
Member Author

Thanks, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants