discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Tunnel.py exception


From: Feng Andrew Ge
Subject: Re: [Discuss-gnuradio] Tunnel.py exception
Date: Mon, 25 Apr 2011 12:45:22 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

Sorry that I skipped one line when I made the copy


msg = self.rcvd_pktq.delete_head()
string_len = len(msg.to_string())



On 04/25/2011 12:00 PM, address@hidden wrote:
Date: Mon, 25 Apr 2011 06:56:53 -0700 (PDT)
From: David Barton<address@hidden>
To:address@hidden
Subject: Re: [Discuss-gnuradio] Tunnel.py exception
Message-ID:<address@hidden>
Content-Type: text/plain; charset="us-ascii"

Andrew,

I tried making the change you suggested but it results in "NameError: global
name 'string_len' is not defined".

  Any idea?

Thanks,
Dave


Message: 11
Date: Thu, 21 Apr 2011 16:26:56 -0400
From: Feng Andrew Ge<address@hidden>
To:address@hidden
Subject: Re: [Discuss-gnuradio] Tunnel.py exception
Message-ID:<address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dave,

To bypass this problem, change the pkt.py file. In the end, after

msg = self.rcvd_pktq.delete_head()

add

if (string_len>  18)&  (string_len<  4096) :
       ok, payload = packet_utils.unmake_packet(msg.to_string(),
int(msg.arg1()))

Andrew






reply via email to

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