discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: File Meta Sink question


From: Volker Schroer
Subject: Re: File Meta Sink question
Date: Mon, 13 Mar 2023 11:26:30 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

You have to enter
import pmt

not only pmt


I'm still having some trouble with this issue.    If I try to add a File
Meta Sink block, I get an error involving pmt.make_dict() that indicates
that pmt is not defined:
image.png
image.png


If I try to add an import block, I can't change the case of "Import",
and get an error message as shown
image.png


image.png

I'm having trouble finding any documentation to help with this.

Thanks!
-George


On Thu, Mar 9, 2023 at 11:06 AM Hassel, George <ghassel@siena.edu
<mailto:ghassel@siena.edu>> wrote:

    Hello,

    I'm having some difficulty with saving metadata.   I'm trying to use
    File Meta Sink as a block in gnuradio companion, and I get an error
    message in the Extra Dict. filed that "Value "pmt.make_dict()"
    cannot be evaluated: name 'pmt' is not defined.    I try to add in
    an Import block that says Import pmt, and get an error that says
    "Param - Import(imports): Bad import syntax: "pmt".

    If I instead just use a python script with import pmt, I still get
    errors involving the File Meta Sink blocks.

    I tried to make sure that pmt was installed with pip3 install pmt,
    but that causes an error with finding the paths for gnuradio.   I
    resolved that by following the instructions at
    https://wiki.gnuradio.org/index.php/ModuleNotFoundError
    <https://wiki.gnuradio.org/index.php/ModuleNotFoundError>, but again
    come back to the same errors involving pmt.

    My Ubuntu version is 22.10
    My gnuradio version is 3.10.3.0
    My python3 version is 3.10.7

    Thanks for any assistance you can provide!

    -George Hassel





reply via email to

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