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 <b...@ettus.com> 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.
>
> http://docs.python.org/tutorial/classes.html
>
> Cheers,
> Ben
>
>
>
> On Tue, Mar 13, 2012 at 9:37 AM, Loic Danceg <loicdan...@gmail.com> 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
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to