discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Help


From: Jason
Subject: Re: [Discuss-gnuradio] Help
Date: Thu, 21 Sep 2006 14:18:36 -0400
User-agent: Mutt/1.5.11

Eric Blossom (address@hidden) wrote:
> On Thu, Sep 21, 2006 at 06:57:25PM -0400, julien wrote:
> > Hi,
> > Im trying to use an exemple of python script and got the following error
> > please, i need some help:
> > 
> 
>   $ rm /usr/local/etc/gnuradio/conf.d/.gr-audio-.swp
> 
> Should fix it.  I have no idea what the file is, or where it may have
> come from.  It's not something that we install.
> 

looks like a vim swap file...   Either a session of vim editing
gr-audio- crashed, or was open at the time of the error.

> 
> > 
> > address@hidden Documents]# python exemple1.py
> > Traceback (most recent call last):
> >   File "exemple1.py", line 1, in ?
> >     from gnuradio import gr
> >   File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/__init__.py",
> > line 39, in ?
> >     from prefs import prefs
> >   File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/prefs.py",
> > line 120, in ?
> >     _prefs_db._read_files()
> >   File "/usr/local/lib/python2.4/site-packages/gnuradio/gr/prefs.py",
> > line 73, in _read_files
> >     self.cp.read(filenames)
> >   File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
> >     self._read(fp, filename)
> >   File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
> >     raise MissingSectionHeaderError(fpname, lineno, line)
> > ConfigParser.MissingSectionHeaderError: File contains no section headers.
> > file: /usr/local/etc/gnuradio/conf.d/.gr-audio-.swp, line: 1
> > 'b0VIM
> > 6.3\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00R)\x00\x00root\x00\x00

Probably Vim 6.3.  :)

> > \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
> > \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00titanium\x00\x00\x00\x00\x00\x00\x00\x00
> > \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
> > \x00\x00/usr/local/etc/gnuradio/conf.d/gr-audio-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
> > \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
> > \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00

hth,

Jason.




reply via email to

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