|
From: | Ben Hilburn |
Subject: | Re: [Discuss-gnuradio] Problem with new blocks |
Date: | Fri, 16 Mar 2012 10:18:49 -0700 |
Aha - you suspect a SWIG error? That may indeed be the issue.Check out Martin's advice, and let us know how it goes. Have you generally tested the SWIG for your class?Cheers,BenOn Fri, Mar 16, 2012 at 6:37 AM, Loic Danceg <address@hidden> wrote:
Hi Ben
Thank you for your help.
I am really familiar with Python, i think is more an error with the file .i or another error but i don't find my error :-(Le 14 mars 2012 21:34, Ben Hilburn <address@hidden> a écrit :
Loic -That is a Python error, telling you that your class 'rfid' doesn't have the member 'test'. This is an error in your code.How familiar are you with Python? You may want to read up on some Python documentation to help you understand how that all works.Cheers,Ben
On Tue, Mar 13, 2012 at 9:37 AM, Loic Danceg <address@hidden> wrote:_______________________________________________Hi everybody!
I try to create my own block in a current project (rfid). So there are currently other blocks which works correctly.
I had create my file.cc, my file.h and add the part that i need to add in the file rfid.i
After that, I enter the following command line:
./configure
make
make configure
But when i use my application.py i have this error:
Traceback (most recent call last):
File "./test.py", line 215, in <module>
main ()
File "./test.py", line 65, in main
tb = my_top_block()
File "./test.py", line 43, in __init__
d1 = rfid.test()
AttributeError: 'module' object has no attribute 'test'
Someone know why?
Thank you a lot for your time!
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |