New Portato 12 not works. [Solved]

Anything that pertains to Portage

Moderator: Moderators

New Portato 12 not works. [Solved]

Postby albfneto » Mon Mar 16, 2009 17:13

in one of my installations of Sabayon, new Portato 12, not works, even after etc-update. this is the message errors when i try to open portato.

Code: Select all
portato
QMultiInputContext::changeInputMethod(): index=0, slave=xim
* Setting Portage System (__init__.py:56)
* Using portage-2.2 (__init__.py:21)
* Starting Portato v. 0.12.1 (portato:50)
* All prereqs matched. Fine :) (main.py:1921)
* Listener received: ['close'] (plistener.py:51)
* Exception:
Traceback (most recent call last):
  File "/usr/bin/portato", line 94, in <module>
    main()
  File "/usr/bin/portato", line 58, in main
    run()
  File "/usr/lib64/python2.5/site-packages/portato/gui/__init__.py", line 29, in run
    m = MainWindow(s)
  File "/usr/lib64/python2.5/site-packages/portato/gui/windows/main.py", line 474, in __init__
    self.db = Database(self.cfg.get("type", section = "DATABASE"))
  File "/usr/lib64/python2.5/site-packages/portato/config_parser.py", line 324, in get
    return self._access(key, section).value
  File "/usr/lib64/python2.5/site-packages/portato/config_parser.py", line 295, in _access
    raise SectionNotFoundException("Section '%s' not found in file '%s'." % (section, self.file))
SectionNotFoundException: "Section 'DATABASE' not found in file '/etc/portato/portato.cfg'."

Portato version: 0.12.1
System: Sabayon Sabayon Linux x86-64 4
Python version: 2.5.4 (r254:67916, Mar  6 2009, 12:20:04)
[GCC 4.3.2]
Used backend: Portage 2.2_rc25
pygtk: 2.14.1 (using GTK+: 2.14.7)
pygobject: 2.16.1 (using GLib: 2.18.4) (exception_handling.py:128)
Exception <unknown>error: "can't access shared memory segment" in <bound method SharedMemoryHandle.__del__ of <shm_wrapper.SharedMemoryHandle object at 0x47d0850>> ignored
* Subprocess finished (portato:85)

Last edited by albfneto on Tue Mar 17, 2009 2:20, edited 1 time in total.
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: New Portato 12 not works.

Postby Thev00d00 » Mon Mar 16, 2009 17:21

Maybe this should go in the portato thread?
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
Thev00d00
Generally Awesome (tm)
 
Posts: 1472
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: New Portato 12 not works.

Postby albfneto » Mon Mar 16, 2009 17:55

in one of my installations.
i fact, i have sabayon in 4 comps.
in two, i use only only entropy, in the other two the two installers are mixed.
in these i use Portato.
this is the last version of portato, taken from Portage 2.2-25.
in one of the comps,portato works, in other not.
all are fully updated.
also,i have another installation of gentoo. in this, portato works
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: New Portato 12 not works.

Postby Necoro » Mon Mar 16, 2009 19:13

Just running etc-update is not enough, if you update it the wrong way :) - you are missing the DATABASE section

it should look like the following:
Code: Select all
#
# Section for the internal database
#
[DATABASE]

; the type of the database to use - string value
; allowed values:
;            - sql      : SQLite Database
;            - dict   : Hashmap in Memory
type = sql


If this is not in your /etc/portato/portato.cfg, you've done something wrong :)
User avatar
Necoro
Advanced Hen
 
Posts: 242
Joined: Mon Apr 23, 2007 22:47
Location: Munich (Germany)

Re: New Portato 12 not works.

Postby albfneto » Tue Mar 17, 2009 2:19

Solved.
Copying the antique portato.cfg (making backup) and copying the lines in it, solved.
Thanks
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: New Portato 12 not works. [Solved]

Postby albfneto » Wed Mar 25, 2009 22:20

Another mean to solve the defective installation...

update Portage:

Code: Select all
# emerge --sync
# emerge portage


Remove Portato:

Code: Select all
# emerge -C portato


Remove the dir with the portato config file:

Code: Select all
# rm -rf /etc/portato


Reinstall Portato:

Code: Select all
# emerge -av portato
ALBERTO FEDERMAN NETO
albfneto
albfneto@fcfrp.usp.br
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1689
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests

cron