[Top][All Lists]

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

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute

From: Marcus Müller
Subject: Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute
Date: Sun, 27 Jul 2014 18:29:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Hi Mike,
my first guess if making from scratch didn't help: maybe your module's
name is conflicting with an existing module, or there are remnants of a
former installation lying around for some reasons.
You could try uninstalling your module via "make uninstall", and then
running a python trying to "import yourmodule"; if that doesn't fail, we
know there's a conflict.

Another popular source for errors are spaces and special characters in
paths; but since you didn't move your module, this is not very likely
the cause.
Btw: what's your GNU Radio version (gnuradio-config-info -v)?

On 27.07.2014 18:17, Mike wrote:
> I followed the tutorial to generate a module and all was well. My
> square module worked. I then created a new module invert_bb. This also
> worked. So far so good. Now a few days later on I get AttributeError:
> 'module' object has no attribute 'invert_bb' and I have no clue as to
> why. The previous QA tests that passed before now fail. I have not
> been able to find much documentation and Google does not seem to help,
> lots of people with this error, no solutions. Any idea why something
> would work one day and not the next?
> I have spent 6 or so hours trying to solve this one by myself. I have
> made, remade, cleaned, installed, uninstalled, reinstalled and even
> gone back to re-installing gnuradio via pybombs but the error
> persists. I assume something somewhere has become corrupted but the
> way blocks are implmented is extremely complex and beyond my ability
> to understand.
> Mike
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

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