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: Alex Batts
Subject: Re: OOT - ValueError: invalid literal for int() with base 10: '...'
Date: Wed, 8 Jul 2020 18:33:12 -0400

UPDATE:

The previous error was because I had neglected to omit some parts of my .yml file.

That error has been solved, and I can place the block into the flow graph. However, when I generate and execute I get a new error:

Traceback (most recent call last):
File "home/ubuntu/GRC/top_block.py", line 35, in <module>
 import trial
ModuleNotFoundError: No module named 'trial'

>>>Done (return code 1)

My module I created was named 'trial'. I noticed in top_block.py, instead of saying import trial_swig as trial it just says import trial. I don't know if this is correct or not, but that is what is auto generated when I execute my flow graph.

Again, any insight would be much appreciated,

Alex

On Wed, Jul 8, 2020 at 5:39 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]