Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在windows下打包后,使用Gnuradio 3.9,替换了TCP source报以下错误 #11

Open
suluoniu opened this issue Jun 26, 2022 · 7 comments

Comments

@suluoniu
Copy link

master\top_block.py", line 234, in
main()
File "op_block.py", line 212, in main
tb = top_block_cls()
File "top_block.py", line 172, in init
self.network_tcp_source_0 = network.tcp_source.tcp_source(itemsize=gr.sizeof_gr_complex*1,addr='127.0.0.1',port=1234,server=True)
File "C:\Program Files\PothosSDR\lib\python3.9\site-packages\gnuradio\network\tcp_source.py", line 86, in init
self.connect(blocks.file_descriptor_source(itemsize, fd), self)
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. gnuradio.blocks.blocks_python.file_descriptor_source(itemsize: int, fd: int, repeat: bool = False)

Invoked with: 8, None

@gym487
Copy link
Owner

gym487 commented Jul 1, 2022

在grc中更新流图试试

@suluoniu
Copy link
Author

suluoniu commented Jul 1, 2022

ubuntu下,gps sim和Tcp.grc连接没问题,但一加 -w 和地图服务器就报错 segmentation fault(core dumped
QQ拼音截图20220701153204

windows下, gps sim 和tcp.grc连不上,就是上面那个问题,都是同一个tcp.grc

@gym487
Copy link
Owner

gym487 commented Jul 12, 2022

这似乎是一个Bug,已在#482d511中修复。

@jiuzhaozhao
Copy link

请问你有遇到这个问题吗
3c1fc5cd853e6c13cb66294fb7cf6a7

我的gps sim连不上tcp.grc 困扰好几天了
补充一点:我打开tcp.grc出现tcp source出现missing block 于是我换了一个可用的tcp source调成一样 我不清楚refused connect问题出现在哪
<img width="336" alt="fc12ee7d7f070804b16dd23083cfc05" src="https://user
13f22520008d545f23be6daec0d09ae
-images.githubusercontent.com/95036174/234256420-013701d9-10c7-4832-b589-bb09b555a499.png">

@jiuzhaozhao
Copy link

fc12ee7d7f070804b16dd23083cfc05

@jiuzhaozhao
Copy link

我试过把端口换成8080会连接上然后运行一小会
08d7243fc5caaf350adcd0c23b4d4b6

我猜测是gnuradio tcp source出现问题 不过我并不了解gnuradio
困扰许久了 如果你能答复我感激不尽

@wangyezdh1234
Copy link

我的直接
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants