[sabayon] Sabayon 2.19.1 - Problems compressing and applying - and - some confs not saved



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:
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).
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 root server:/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):
  File "/usr/sbin/sabayon-apply", line 112, in <module>
    profile.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/userprofile.py", line 390, in apply
    s.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/sources/filessource.py", line 150, in apply
    self.storage.foreach (self.__apply_foreach, source = self.name)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 558, in foreach
    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
    self.storage.extract (path, self.home_dir, mandatory)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 495, in extract
    self.__unpack ()
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 307, in __unpack
    self.__foreach_all (unzip_foreach, (self.zip, self.temp_path))
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 316, in __foreach_all
    callback (path, True, user_data)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 298, in unzip_foreach
    unzip_directory (zip, temp_path, path)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 287, in unzip_directory
    file (dest_path, "w").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):
  File "/usr/sbin/sabayon-apply", line 112, in <module>
    profile.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/userprofile.py", line 390, in apply
    s.apply (is_sabayon_session)
  File "/var/lib/python-support/python2.5/sabayon/sources/filessource.py", line 150, in apply
    self.storage.foreach (self.__apply_foreach, source = self.name)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 558, in foreach
    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
    self.storage.extract (path, self.home_dir, mandatory)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 495, in extract
    self.__unpack ()
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 307, in __unpack
    self.__foreach_all (unzip_foreach, ( self.zip, self.temp_path))
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 316, in __foreach_all
    callback (path, True, user_data)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 298, in unzip_foreach
    unzip_directory (zip, temp_path, path)
  File "/var/lib/python-support/python2.5/sabayon/storage.py", line 287, in unzip_directory
    file (dest_path, "w").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?



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