Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ufed error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Mon Oct 27, 2014 4:35 am    Post subject: ufed error Reply with quote

For some strange reason I get this error when I run ufed.

Code:
ufed
ERROR: insufficient parameters!


It starts, but I think this might be a bug in the program or something of that nature.

Thanks for the help.
Back to top
View user's profile Send private message
gseba
n00b
n00b


Joined: 02 Aug 2003
Posts: 59
Location: Romania

PostPosted: Mon Oct 27, 2014 11:48 am    Post subject: Re: ufed error Reply with quote

jonfr wrote:
For some strange reason I get this error when I run ufed.

Code:
ufed
ERROR: insufficient parameters!


What version is ufed?
You should run /usr/sbin/ufed as normal user and get the:
Code:
WARNING: ufed will run in read-only-mode!

or you risk overwriting USE flags by chance.

edited: /usr/sbin/ufed


Last edited by gseba on Wed Oct 29, 2014 2:47 pm; edited 2 times in total
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Mon Oct 27, 2014 12:10 pm    Post subject: Reply with quote

I got the latest version installed.

Code:
app-portage/ufed
      Latest version available: 0.91
      Latest version installed: 0.91
      Size of files: 60 kB
      Homepage:      http://www.gentoo.org/
      Description:   Gentoo Linux USE flags editor
      License:       GPL-2


re-installing this version does not change anything.
Back to top
View user's profile Send private message
gseba
n00b
n00b


Joined: 02 Aug 2003
Posts: 59
Location: Romania

PostPosted: Mon Oct 27, 2014 12:23 pm    Post subject: Reply with quote

jonfr wrote:
re-installing this version does not change anything.

Is it all ok with dev-lang/perl-5.20, do you have app-admin/perl-cleaner?
At line #22 in /usr/share/ufed/Portage.pm try set DEBUG => 1 and run
Code:
ufed 2> debug.txt

Can you look there, where/how does it stop?
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Mon Oct 27, 2014 2:44 pm    Post subject: Reply with quote

Why would this be a perl problem?

I got this version installed.

Code:
[ebuild   R    ] dev-lang/perl-5.18.2-r2:0/5.18  USE="berkdb gdbm -debug -doc -ithreads" 0 kB
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Tue Oct 28, 2014 11:34 am    Post subject: Reply with quote

That is really strange. I currently try to reproduce it.

As a user, I get:
Code:
 ~ $ /usr/sbin/ufed
WARNING: /etc/portage/make.conf not writable by uid/gid 1000/1000
WARNING: ufed will run in read-only-mode!
And as root I get:
Code:
 ~ $ sudo ufed
Passwort:
Cancelled, not saving changes.

This is how it should be on your system, too...

Please note: It must be /usr/sbin/ufed! If you have an "ufed" in /usr/bin/, you could try to find out where it comes from using "equery b /usr/bin/ufed".
Edit: My perl version installed:
Code:
Installed versions:  5.18.2-r2(12:04:23 27.10.2014)(berkdb doc gdbm ithreads -debug)

_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue Oct 28, 2014 2:01 pm    Post subject: Reply with quote

It is in the correct location. I don't change paths in ebuilds.
This is a bug in version 0.91, since I downgraded back to version 0.40.2 and this error does not happen when I run it. Then it behaves normally.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Tue Oct 28, 2014 2:40 pm    Post subject: Reply with quote

jonfr wrote:
It is in the correct location. I don't change paths in ebuilds.
This is a bug in version 0.91, since I downgraded back to version 0.40.2 and this error does not happen when I run it. Then it behaves normally.
I can not find any reference to "ERROR: insufficient parameters!". Both the 0.91 and the live version work fine here and we have the same perl version.

So I would really like to find out what is causing that.

Just a question, do you have "app-portage/eix" installed? Because if that is missing, there might be a problem with my detection code.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue Oct 28, 2014 3:21 pm    Post subject: Reply with quote

No. I don't have it installed.

Code:
emerge eix -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-shells/push-1.6  2 kB
[ebuild  N     ] app-portage/eix-0.29.3  USE="dep nls sqlite (-clang) -debug -doc -optimization -security -strong-optimization -strong-security -swap-remote -tools -zsh-completion" LINGUAS="-de -ru" 537 kB
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Tue Oct 28, 2014 4:29 pm    Post subject: Reply with quote

Ok, my detection code is broken.

I have added a new bug #527252 as a reminder to myself.

As there is an additional issue with the current eix-0.91, I hope to get a fixed version 0.92 out next week.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Tue Oct 28, 2014 5:15 pm    Post subject: Reply with quote

Good to know. I will update to the new version when it is ready. :)

Note on the bug report. Ufed did run, it just took a while to do so (up to 10 - 20 seconds), but the error appeared when I started the program.

Thanks for the help.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Wed Oct 29, 2014 8:04 am    Post subject: Reply with quote

Yamakuzure wrote:
Ok, my detection code is broken.

I have added a new bug #527252 as a reminder to myself.

Damn, I never knew you were the ufed guy; kudos.

Though it does explain why I've found your writing so sane.
Back to top
View user's profile Send private message
bloedie
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2006
Posts: 88
Location: Germany

PostPosted: Tue Nov 04, 2014 8:10 am    Post subject: Reply with quote

I have the same problem.

Code:
# ufed
ERROR: insufficient parameters!
Use of uninitialized value in sprintf at /usr/share/ufed/Portage.pm line 565.
Use of uninitialized value in sprintf at /usr/share/ufed/Portage.pm line 565.
Use of uninitialized value in sprintf at /usr/share/ufed/Portage.pm line 565.
Use of uninitialized value in sprintf at /usr/share/ufed/Portage.pm line 565.
Use of uninitialized value in sprintf at /usr/share/ufed/Portage.pm line 565.
Use of uninitialized value in sprintf at /usr/share/ufed/Portage.pm line 565.

ERROR in ufed-curses-checklist.c:112 (read_flags):
 -> Flag read failed on line 1:
" [  ] 1"


Cu.
Bloedie
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Mon Nov 10, 2014 10:10 am    Post subject: Reply with quote

I have updated the live version. Could you please test it whether the error persists?
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
h0mer`-
Apprentice
Apprentice


Joined: 02 Aug 2004
Posts: 215

PostPosted: Wed Dec 10, 2014 2:32 pm    Post subject: Reply with quote

For me the error is gone. Thanks.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Thu Dec 11, 2014 10:26 am    Post subject: Reply with quote

h0mer`- wrote:
For me the error is gone. Thanks.
Thank you for your feedback!

One other issue has to be resolved, than I will tag a new version.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
overshoot
n00b
n00b


Joined: 19 May 2002
Posts: 62
Location: Socorro, NM

PostPosted: Sat Jul 09, 2016 11:26 am    Post subject: Reply with quote

FWIW, it's still there in 0.92
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Tue Apr 11, 2017 7:27 am    Post subject: Reply with quote

Sorry that I did not see this. I was just pinged via Bug 527252.

I just uninstalled eix, and ufed-0.92 works like a charm with latest portage.
I need more information to be able to reproduce the issue.

If eix isn't present, ufed uses /usr/bin/portageq, which is part of portage and should always be present.[/bug]
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
overshoot
n00b
n00b


Joined: 19 May 2002
Posts: 62
Location: Socorro, NM

PostPosted: Tue Apr 11, 2017 4:07 pm    Post subject: Reply with quote

Yamakuzure wrote:
Sorry that I did not see this. I was just pinged via Bug 527252.
I just uninstalled eix, and ufed-0.92 works like a charm with latest portage.


sys-apps/portage-2.3.3
app-portage/ufed-0.92

with eix, no prob.
w/o eix, bug.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2284
Location: Adendorf, Germany

PostPosted: Wed Apr 12, 2017 12:34 pm    Post subject: Reply with quote

overshoot wrote:
Yamakuzure wrote:
Sorry that I did not see this. I was just pinged via Bug 527252.
I just uninstalled eix, and ufed-0.92 works like a charm with latest portage.


sys-apps/portage-2.3.3
app-portage/ufed-0.92

with eix, no prob.
w/o eix, bug.
The question is: What bug? What exactly do you see?
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
overshoot
n00b
n00b


Joined: 19 May 2002
Posts: 62
Location: Socorro, NM

PostPosted: Thu Apr 13, 2017 7:11 pm    Post subject: Reply with quote

Yamakuzure wrote:
overshoot wrote:
Yamakuzure wrote:
Sorry that I did not see this. I was just pinged via Bug 527252.
I just uninstalled eix, and ufed-0.92 works like a charm with latest portage.


sys-apps/portage-2.3.3
app-portage/ufed-0.92

with eix, no prob.
w/o eix, bug.
The question is: What bug? What exactly do you see?


Same as before:

Code:
ERROR: insufficient parameters!
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 475

PostPosted: Mon Mar 26, 2018 4:19 pm    Post subject: Reply with quote

i was getting this same problem until i installed eix. ufed is 0.92
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum