Re: Unindex bug

Christian Grothoff <[email protected]> Mon, 12 Jun 2023 10:07:19 +0200
Newsgroups gmane.network.gnunet.devel
Message-ID <[email protected]>
Hi Wes,

-c must be followed by the *configuration* file, and usually passing 
"-c" is not necessary as there is a default.  Have you tried running
simply:

$ gnunet-unindex gnutest6

?

-Christian

On 6/12/23 03:55, WalB wrote:
> Hi,
> 
> I published a file from a subdirectory but cannot unindex it. I ran 
> unindex on it and on several other files but unindex doesn't work. I 
> have followed the instructions in the manual. See output below. All I 
> want to do is delete the filenames and keywords of published files no 
> longer wanted. Please tell me the correct command as a clear example or 
> fix the bug.
> 
> Cheers,
> 
> Wes
> 
> 
> user:/usr/share/gnunet$ cd ~/
> 
> user:~$ ls
> 
> certifs.pem  Documents  gnuin   Music     Public  Templates
> 
> Desktop      Downloads  gnuout  Pictures  snap    Videos
> 
> user:~$ cd gnuout/
> 
> user:~/gnuout$ ls
> 
> gnutest6
> 
> user:~/gnuout$ sudo gnunet-arm -s
> 
> [sudo] password for wes7:
> 
> user:~/gnuout$ sudo gnunet-core
> 
> Mon Jun 12 11:04:33 2023: connection established         KW7V (timeout 
> in  299 s)
> 
> Mon Jun 12 11:04:33 2023: connection established         Y924 (timeout 
> in  299 s)
> 
> user:~/gnuout$ sudo gnunet-unindex -c gnutest6
> 
> Jun 12 11:07:22-813088 util-4531 WARNING Syntax error while 
> deserializing in line 1
> 
> Jun 12 11:07:22-813181 gnunet-unindex-4531 ERROR Failed to parse 
> configuration file `/home/wes7/gnuout/gnutest6'
> 
> Jun 12 11:07:22-813215 util-4531 WARNING Failed to load configuration 
> from file '/home/wes7/gnuout/gnutest6'
> 
> Jun 12 11:07:22-813244 gnunet-unindex-4531 ERROR Unreadable or malformed 
> configuration file `/home/wes7/gnuout/gnutest6', exit ...
> 
> user:~/gnuout$ sudo gnunet-unindex -c gnutest6 
> --config=~/.gnunet/gnunet.conf
> 
> Jun 12 11:09:03-824146 gnunet-unindex-4573 ERROR Unreadable or malformed 
> configuration file `/root/.gnunet/gnunet.conf', exit ...
> 
> user:~/gnuout$ sudo gnunet-unindex gnutest6 --config=~/.gnunet/gnunet.conf
> 
> Jun 12 11:11:30-367995 gnunet-unindex-4577 ERROR Unreadable or malformed 
> configuration file `/root/.gnunet/gnunet.conf', exit ...
> 
> user:~/gnuout$ sudo gnunet-unindex --config=~/.gnunet/gnunet.conf gnutest6
> 
> Jun 12 11:13:30-529263 gnunet-unindex-4583 ERROR Unreadable or malformed 
> configuration file `/root/.gnunet/gnunet.conf', exit ...
> 
> user:~/gnuout$ sudo gnunet-unindex -config=~/.gnunet/gnunet.conf gnutest6
> 
> Jun 12 11:13:53-065694 gnunet-unindex-4586 ERROR Unreadable or malformed 
> configuration file `/home/wes7/gnuout/onfig=~/.gnunet/gnunet.conf', exit ...
> 
> user:~/gnuout$ gnunet-search gnutest6
> 
> ^Cuser:~/gnuout$ sudo gnunet-search gnutest6
> 
> #1:
> 
> gnunet-download -o "gnutest6" 
> gnunet://fs/chk/ZX8JQ7BYVFFANSNV1BENWPG5Z4YHAFSQJ6XREX444KTNJVAS8N5XNXNFA9JZMXTTBG38204B9STF7CNQBGDVGR16HGD5ME53EHYP0J8.SET3DZN8SGG2XQHKNZY6CW9H0MWWCVT2JWH6Q3A9X0GDPSN5FX4ZJ66YNC9Q1NCA3KRWAV1KZ8SNSWCDYSFZS7RR7F3EZESSNPK2X70.31
> 
> ^Cuser:~/gnuout$
> 
> user:~/gnuout$ sudo gnunet-search donkey
> 
> #1:
> 
> gnunet-download -o "gnutest6" 
> gnunet://fs/chk/ZX8JQ7BYVFFANSNV1BENWPG5Z4YHAFSQJ6XREX444KTNJVAS8N5XNXNFA9JZMXTTBG38204B9STF7CNQBGDVGR16HGD5ME53EHYP0J8.SET3DZN8SGG2XQHKNZY6CW9H0MWWCVT2JWH6Q3A9X0GDPSN5FX4ZJ66YNC9Q1NCA3KRWAV1KZ8SNSWCDYSFZS7RR7F3EZESSNPK2X70.31
> 
> ^Cuser:~/gnuout$
>