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

"Failed to start capture due to errors:" #4

Closed
miek opened this issue Aug 17, 2019 · 6 comments
Closed

"Failed to start capture due to errors:" #4

miek opened this issue Aug 17, 2019 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@miek
Copy link

miek commented Aug 17, 2019

When I start a capture, I get a popup with just the text "Failed to start capture due to errors:". I've tried with both a HackRF source and a file source (complex f32 samples) and get the same result.

I'm running Ubuntu 18.04 and I am running a slightly older Qt version than suggested (5.9.5) but I think it's unrelated?

I'm happy to dig in and do some more debugging but I don't really know where to start, so I'd need some advice on things to try.

@BatchDrake BatchDrake self-assigned this Aug 17, 2019
@BatchDrake
Copy link
Owner

Hi miek,

Is there any additional information in that popup message? Also, a file named ~/.suscan/config/uiconfig.xml should have been created in your system, containing SigDigger's config (including the signal source config). Could you attach this file here?

Thank you,

@miek
Copy link
Author

miek commented Aug 17, 2019

There's no other information in the popup.

I've attached uiconfig.xml for each configuration (renamed 'cause github is scared of xml files apparently...).

uiconfig-filesource.txt
uiconfig-hackrf.txt

Thanks

@BatchDrake BatchDrake added the bug Something isn't working label Aug 17, 2019
@BatchDrake
Copy link
Owner

BatchDrake commented Aug 17, 2019

I've just installed Ubuntu 18.04 and reproduced this behavior, I'm already looking into it.

Edit: whatever the problem is, it is not in suscan. It has to bee somewhere in Application.cpp, method startCapture.

@BatchDrake
Copy link
Owner

Well, it ended up being in suscan 😄

File analyzer/analyzer.c, function 1232:

SUBOOL
suscan_analyzer_set_iq_reverse(suscan_analyzer_t *analyzer, SUBOOL rev)
{
  analyzer->iq_rev = rev;
}

Must be modified to:

SUBOOL
suscan_analyzer_set_iq_reverse(suscan_analyzer_t *analyzer, SUBOOL rev)
{
  analyzer->iq_rev = rev;
  return SU_TRUE;
}

I'm adding a hotfix right now, could you try to change this file and verify whether it works?

@miek
Copy link
Author

miek commented Aug 17, 2019

Yep, that works. Thanks very much for solving that!

@miek miek closed this as completed Aug 17, 2019
@BatchDrake
Copy link
Owner

Changes added to ffdcc8cfb4ca73524859733b6498ab0870ea8fd8, I'm merging back to master. Thank you for your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants