discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OOT - ValueError: invalid literal for int() with base 10: '...'


From: Jeff Long
Subject: Re: OOT - ValueError: invalid literal for int() with base 10: '...'
Date: Wed, 8 Jul 2020 18:35:55 -0400

Right, __set__() is trying to convert '...' to an int. Do you have any info on what block you were using? You haven't given much info, but my best guess would be that the block you dragged in had a variable name as a default for a param, and you have that variable defined somehow as '...'.

On Wed, Jul 8, 2020 at 6:12 PM Alex Batts <battsalex99@gmail.com> wrote:
Hello,

Sorry if this seems a little spam-ish. However, I wanted to make this a new thread since this appears to be an unrelated problem from the previous thread I had posted.

I successfully created an OOT module with a block, I successfully ran cmake, make, make test, and make install (and ldconfig) following the OOT tutorial. When I open up GRC and attempt to place the block, nothing happens, and in the terminal window it says:

File "/usr/lib/python3/dist-packages/gnuradio/grc/core/utils/descriptors/evaluated.py", line 73, in __set__
attributes[self.name] = type(self.default)(value)
ValueError: invalidĀ literal for int() with base 10: '...'

(Note: There is a lot of text prior to this, but they appear to all be file locations and function calls).

If I am understanding correctly, gnu thinks I am passing '...' as an int. However, I don't understand where this would have come from.

If necessary, I can paste my .cc .h and .py files (the ones that are referenced in the OOT tutorial) for reference.

Any help would be much appreciated,

Alex

reply via email to

[Prev in Thread] Current Thread [Next in Thread]