List Info

Thread: Sabayon 2.19.1 - Problems compressing and applying - and - some confs not saved




Sabayon 2.19.1 - Problems compressing and applying - and - some confs not saved
user name
2007-08-09 19:08:32
Hi there.

Its me again (I hate bother)

1. I have installed new 2.19.1 sabayon  on feisty (I have backported from gutsy to feisty)

2. I have recreated my profile with the new tool. Ok. But I could find some problems in creation:
  • It won't monitor the creation of any file inside .config , I tried to create a AUTOSTART program (in ~/.config/autostart) without any sucess. All modifications inside .config are completly ignored by sabayon.
  • Changing menus Application or System from alacarte menu editor tool simply doesn't work. Sabayon just ignores.
3. Skipping these problems (problem 1 avoided adding the file inside .zip, problem 2 without any solution right now). I have started a new session to teste new sabayon-apply. It works fine with the HUGE created file (2MB).
  • I have tried to reduce the size with the following procedure:
mkdir tmp
wget http://server/profile.zip
cd tmp
unzip -o ../profile.zip  (-o choose overrides all repeated files, this is a weird bug in sabayon profile creation)
zip -r newprofile.zip * .??*  (all files and all dot files)
scp newprofile.zip rootserver:/var/www/profile.zip (to override the OLD profile)

The file size difference are amazing:

Sabayon Default: 2126744 bytes (2MB)
My file: 127317 bytes (126KB)

16:1 ratio (!)

But my reduced profile didn't apply with succes.

Here is the logs:

***** ORIGINAL HUGE FILE ****

  warnings.warn(str(e), _gtk.Warning)
===== BEGIN MILESTONES (/usr/sbin/sabayon-apply) =====
MainThread 2007/08/09 20:47:01.4750 (sabayon-apply): Applying profile 'http://isengard.ibeu.org.br/profiles/salas2.zip '; for user 'teacher'
MainThread 2007/08/09 20:47:01.8268 (sabayon-apply): Finished applying profile 'http://isengard.ibeu.org.br/profiles/salas2.zip '; for user 'teacher'
===== END MILESTONES (/usr/sbin/sabayon-apply) =====
===== BEGIN RING BUFFER (/usr/sbin/sabayon-apply) =====
MainThread 2007/08/09 20:47:01.4750 (sabayon-apply): Applying profile ' http://isengard.ibeu.org.br/profiles/salas2.zip' for user 'teacher'
MainThread 2007/08/09 20:47:01.8268 (sabayon-apply): Finished applying profile ' http://isengard.ibeu.org.br/profiles/salas2.zip' for user 'teacher'
===== END RING BUFFER (/usr/sbin/sabayon-apply) =====


This configuration for the debug log can be re-created
by putting the following in ~/sabayon-debug-log.conf
(use ';'; to separate domain names):

[debug log]
max lines = 1000

**** AFAIK, worked perfectly, besides problem 1 and 2 noticed in beginning of this mail.




******* MY COMPRESSED FILE  LOG*****

/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py:69: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
===== BEGIN MILESTONES (/usr/sbin/sabayon-apply) =====
MainThread 2007/08/09 21:07:10.4491 (sabayon-apply): Applying profile 'http://isengard.ibeu.org.br/profiles/salas2.zip' for user 'teacher'
MainThread 2007/08/09 21:07:10.5689 (sabayon-apply): Fatal exception!  Exiting abnormally.
MainThread 2007/08/09 21:07:10.5704 (sabayon-apply): Traceback (most recent call last):
&nbsp; File "/usr/sbin/sabayon-apply&quot;, line 112, in <module>
&nbsp; &nbsp; profile.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/userprofile.py&quot;, line 390, in apply
&nbsp; &nbsp; s.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/sources/filessource.py", line 150, in apply
&nbsp; &nbsp; self.storage.foreach (self.__apply_foreach, source = self.name)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 558, in foreach
&nbsp; &nbsp; self.__foreach_node (node, callback, user_data, source)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 541, in __foreach_node
   ; callback (item_source, item_path)
  File "/var/lib/python-support/python2.5/sabayon/sources/filessource.py", line 147, in __apply_foreach
&nbsp; &nbsp; self.storage.extract (path, self.home_dir, mandatory)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 495, in extract
&nbsp; &nbsp; self.__unpack ()
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 307, in __unpack
 &nbsp;  self.__foreach_all (unzip_foreach, (self.zip, self.temp_path))
&nbsp; File "/var/lib/python-support/python2.5/sabayon/storage.py", line 316, in __foreach_all
 &nbsp;  callback (path, True, user_data)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 298, in unzip_foreach
 ; &nbsp; unzip_directory (zip, temp_path, path)
&nbsp; File "/var/lib/python-support/python2.5/sabayon/storage.py", line 287, in unzip_directory
 ; &nbsp; file (dest_path, "w&quot;).write (zip.read (f))
IOError: [Errno 21] Is a directory: '/tmp/sabayon-profile-storage-Q5AGpo/.gnome2/'

===== END MILESTONES (/usr/sbin/sabayon-apply) =====
===== BEGIN RING BUFFER (/usr/sbin/sabayon-apply) =====
MainThread 2007/08/09 21:07:10.4491 (sabayon-apply): Applying profile ' http://isengard.ibeu.org.br/profiles/salas2.zip'; for user 'teacher'
MainThread 2007/08/09 21:07:10.5689 (sabayon-apply): Fatal exception!  Exiting abnormally.
MainThread 2007/08/09 21:07:10.5704 (sabayon-apply): Traceback (most recent call last):
&nbsp; File "/usr/sbin/sabayon-apply&quot;, line 112, in <module>
   ; profile.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/userprofile.py&quot;, line 390, in apply
&nbsp; &nbsp; s.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/sources/filessource.py", line 150, in apply
&nbsp; &nbsp; self.storage.foreach (self.__apply_foreach, source = self.name)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 558, in foreach
&nbsp; &nbsp; self.__foreach_node (node, callback, user_data, source)
&nbsp; File "/var/lib/python-support/python2.5/sabayon/storage.py", line 541, in __foreach_node
&nbsp; &nbsp; callback (item_source, item_path)
  File "/var/lib/python-support/python2.5/sabayon/sources/filessource.py", line 147, in __apply_foreach
 ; &nbsp; self.storage.extract (path, self.home_dir, mandatory)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 495, in extract
&nbsp; &nbsp; self.__unpack ()
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 307, in __unpack
&nbsp;   self.__foreach_all (unzip_foreach, ( self.zip, self.temp_path))
&nbsp; File "/var/lib/python-support/python2.5/sabayon/storage.py", line 316, in __foreach_all
 &nbsp;  callback (path, True, user_data)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 298, in unzip_foreach
 ; &nbsp; unzip_directory (zip, temp_path, path)
&nbsp; File "/var/lib/python-support/python2.5/sabayon/storage.py", line 287, in unzip_directory
 ; &nbsp; file (dest_path, "w&quot;).write (zip.read (f))
IOError: [Errno 21] Is a directory: '/tmp/sabayon-profile-storage-Q5AGpo/.gnome2/'

===== END RING BUFFER (/usr/sbin/sabayon-apply) =====


This configuration for the debug log can be re-created
by putting the following in ~/sabayon-debug-log.conf
(use ';'; to separate domain names):

[debug log]
max lines = 1000

*** Didn't apply *****


Any help?

Re: Sabayon 2.19.1 - Problems compressing and applying - and - some confs not saved
country flaguser name
United States
2007-09-13 15:08:00
On Thu, 2007-08-09 at 21:08 -0300, Igor Morgado wrote:

> 3. Skipping these problems (problem 1 avoided adding
the file
> inside .zip, problem 2 without any solution right now).
I have started
> a new session to teste new sabayon-apply. It works fine
with the HUGE
> created file (2MB). 

How embarrassing... I think I found the problem.
sabayon/lib/config.py.in was missing a stupid comma. This
is
why .fontconfig and .beagle were not getting ignored ---
part of the
"huge profiles" problem is due to .fontconfig's
caches getting included
in the profile.

Could you please update your copy of Sabayon from SVN and
see if it
fixes the problem?

Alternatively, you can use the attached patch.

[I haven't found the problem with duplicated files yet;
that's next on
my list.]

  Federico

_______________________________________________
sabayon-list mailing list
sabayon-listgnome.org
h
ttp://mail.gnome.org/mailman/listinfo/sabayon-list

  
Re: Sabayon 2.19.1 - Problems compressing and applying - and - some confs not saved
country flaguser name
United States
2007-09-13 20:23:51
On Thu, 2007-09-13 at 15:08 -0500, Federico Mena Quintero
wrote:

> [I haven't found the problem with duplicated files yet;
that's next on
> my list.]

Found!

http
://bugzilla.gnome.org/show_bug.cgi?id=476761

This will have to be fixed within the 2.20.x series; it's
too late to
put it into 2.19.

  Federico

_______________________________________________
sabayon-list mailing list
sabayon-listgnome.org
h
ttp://mail.gnome.org/mailman/listinfo/sabayon-list

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )