discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] File sink permission error on Windows


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] File sink permission error on Windows
Date: Mon, 7 Aug 2017 10:16:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

Hi Kim,


can you try to select an absolute file name rather then just "new.bin", in a directory that you definitely can generate new files in?

To me, this looks like the reason really is that you're not allowed to create or write to new.bin.


Best regards,

Marcus


On 08/07/2017 09:31 AM, 김태영 wrote:

Hi all

 

When I test file sink block on Windows 10 platform, I got permission error. GRC version is 3.7.9.2

This flowgraph works well on Ubuntu environment.

How can I overcome this issue.

 

One more issue is the deference before "Stream to tagged stream" and after.

I want to know what this block meaning.

 

 

Regards

Kim taeyeong

 

 

==== Error message ====


Executing: C:\Program Files\GNURadio-3.7\gr-python27\python.exe -u C:\Work\GRC_Work\file_sink.py

Using Volk machine: avx2
new.bin: Permission denied
Traceback (most recent call last):
  File "C:\Work\GRC_Work\file_sink.py", line 82, in <module>
    main()
  File "C:\Work\GRC_Work\file_sink.py", line 76, in main
    tb = top_block_cls()
  File "C:\Work\GRC_Work\file_sink.py", line 37, in __init__
    self.blocks_file_sink_0_1 = blocks.file_sink(gr.sizeof_int*1, "new.bin", False)
  File "C:\Program Files\GNURadio-3.7\lib\site-packages\gnuradio\blocks\blocks_swig0.py", line 1016, in make
    return _blocks_swig0.file_sink_make(itemsize, filename, append)
RuntimeError: can't open file



_______________________________________________
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]