← Back to team overview

opensand team mailing list archive

Python issue during Open Sand platform installation

 

Hello everyone,

In the beginning I would like say "Thank you" for latest update for
installation manual. They are some new information which I was counting on.
However I still have an issue which in my opinion is connected to Python
itself. For last few days I was looking an answer for a question what is
wrong with my virtaula machine with ubuntu 10.04 i386. I have 3 of them for
a basic setting of OpenSAND infrastructure. Whenever I try to install
components of the system (at the moment demon and manager) I hit the wall
either with the packages or the source code.

1. Installation of a daemon from packages

According to the OpenSAND manual user has to install daemon first. As a
result (for previous and present version of manual guide) there is a small
issue with network I presume.

 * Shutting down the OpenSAND Daemon
sand-daemon
 * /var/run/sand-daemon/pid does not exist
[fail]

During first installation of a daemon it partly fails - I haven't seen
configuration panel (maybe daemon use default settings which sounds quite
reasonable) but as a user I can use command for reconfiguration (full
example in attached log file - log.txt)

andyg@andyg-laptop:~/opensand/packages$ sudo dpkg-reconfigure
opensand-daemon
* Shutting down the OpenSAND Daemon
sand-daemon
* /var/run/sand-daemon/pid does not exist
[fail]

invoke-rc.d: initscript opensand-daemon, action "stop" failed.
 * Removing configuration for the OpenSAND
network
# Configure OpenSAND network for satellite                           [ OK ]

rsyslog start/running, process 3268
 * Configuring the OpenSAND network                                    [ OK
]
 * Starting the OpenSAND Daemon sand-daemon                    [ OK ]

Similar problem appears with new version of manual (section 2 in a log file
for a daemon installation from packages) but I think that whenever user
reach an access to configuration panel of a daemon and enter proper network
settings, then there will be no problem with network configuration in
future attempts for demon installation.

Problem with * /var/run/sand-daemon/pid does not exist     [fail]  appears
all the time (full example in attached log file - log.txt) even when I try
to install some plug-ins for the manager (check section 3 of this report).

2. Installation of a manager from packages

After successful installation of a daemon it's time for manager.
Installation goes smooth till I want to use command $ sand-manager

andyg@andyg-laptop:~/opensand-0.9.0-deb$ sand-manager
Traceback (most recent call last):
  File "/usr/bin/sand-manager", line 39, in <module>
    import gtk
ImportError: No module named gtk

So i tried to import that gtk module but without success which represents
start of the manager. I even updated my python to version 2.7 and install
some additional gtk modules from packages but without positive result.
Results of my update are listed in section 4 of created log file.

Here is another example of an issue with a Python which also haven't bring
me any clue what I can do more in order to fix it. Sorry for Polish in the
log text. I'm working on converting my terminal to English shell version.
It looks good till Traceback line shows up.

andyg@andyg-laptop:~/opensand-0.9.0-deb$ sudo dpkg -i
libopensand-atm-aal5-plugin_0.9.0_i386.deb
Zaznaczenie poprzednio niezaznaczonego pakietu libopensand-atm-aal5-plugin.
(Odczytywanie bazy danych ... 230772 plików i katalogów obecnie
zainstalowanych.)
Rozpakowanie libopensand-atm-aal5-plugin (z
libopensand-atm-aal5-plugin_0.9.0_i386.deb) ...
Konfigurowanie libopensand-atm-aal5-plugin (0.9.0) ...
Traceback (most recent call last):
  File "/usr/libexec/opensand/atm_support.py", line 39, in <module>
    import debconf
ImportError: No module named debconf
 * Shutting down the OpenSAND Daemon
sand-daemon
 * /var/run/sand-daemon/pid does not exist
            [fail]

* Starting the OpenSAND Daemon sand-daemon                              [
OK ]

Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place


3. Installation of a daemon from sources

When my attempts for SAND installation based on packages failed last week
(short report delivered on 15th of August) I decide to give another shot
with source packages downloaded through Bazaar. It's definitely longer
approach but very educational. Unfortunately I hit a wall when I had to
build daemon with following result:

andyg@andyg-laptop:~/opensand/opensand-daemon$ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

It was a first time that I had an impression that there is something wrong
with my Python installation. So i decide to update it but as you can see
also in section above that move haven't solve this issue.

Summary:

With new addition to manual installation I can understand better the way
how it works and how it should be build and install. However I think I
reach a point were I need assistance in order to overcome problems with my
Python and gtk components. I'll be grateful for quick response in this
matter. Some additional questions regarding source code installation are in
place, but this is most important set of issues which I have meet so far.

With kind regards,

Jedrzej
andyg@andyg-laptop:~/opensand/packages$ sudo dpkg -i libgse_1.0.0_i386.deb \
>                libopensand-env-plane_0.9.0_i386.deb \
>                libopensand-conf_0.9.0_i386.deb \
>                opensand-core-bin_0.9.0_i386.deb \
>                libopensand-margouilla_0.9.0_i386.deb \
>                opensand-daemon_0.9.0_i386.deb
(Odczytywanie bazy danych ... 218833 plików i katalogów obecnie zainstalowanych.)
Przygotowanie do zastąpienia libgse 1.0.1 (wykorzystując libgse_1.0.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libgse ...
Przygotowanie do zastąpienia libopensand-env-plane 0.9.0 (wykorzystując libopensand-env-plane_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-env-plane ...
Przygotowanie do zastąpienia libopensand-conf 0.9.0 (wykorzystując libopensand-conf_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-conf ...
Przygotowanie do zastąpienia opensand-core-bin 0.9.0 (wykorzystując opensand-core-bin_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego opensand-core-bin ...
Przygotowanie do zastąpienia libopensand-margouilla 0.9.0 (wykorzystując libopensand-margouilla_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-margouilla ...
Przygotowanie do zastąpienia opensand-daemon 0.9.0 (wykorzystując opensand-daemon_0.9.0_i386.deb) ...
 * Shutting down the OpenSAND Daemon sand-daemon                                                  * /var/run/sand-daemon/pid does not exist
                                                                                          [fail]
invoke-rc.d: initscript opensand-daemon, action "stop" failed.
 * Removing configuration for the OpenSAND network                                               # Configure OpenSAND network for satellite
                                                                                          [ OK ]
Rozpakowanie pakietu zastępującego opensand-daemon ...
Konfigurowanie libgse (1.0.1) ...

Konfigurowanie libopensand-env-plane (0.9.0) ...

Konfigurowanie libopensand-conf (0.9.0) ...

Konfigurowanie libopensand-margouilla (0.9.0) ...

Konfigurowanie opensand-core-bin (0.9.0) ...
rsyslog start/running, process 2976

Konfigurowanie opensand-daemon (0.9.0) ...
rsyslog start/running, process 3000
 * Configuring the OpenSAND network                                                       [ OK ] 
 * Starting the OpenSAND Daemon sand-daemon                                               [ OK ] 

Przetwarzanie wyzwalaczy dla ureadahead...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place

andyg@andyg-laptop:~/opensand/packages$ sudo service opensand-daemon restart * Shutting down the OpenSAND Daemon sand-daemon                                                  * /var/run/sand-daemon/pid does not exist
                                                                                          [fail]
andyg@andyg-laptop:~/opensand/packages$ sudo service opensand-daemon restart * Shutting down the OpenSAND Daemon sand-daemon                                                  * /var/run/sand-daemon/pid does not exist
                                                                                          [fail]
andyg@andyg-laptop:~/opensand/packages$ sudo dpkg-reconfigure opensand-daemon * Shutting down the OpenSAND Daemon sand-daemon                                                  * /var/run/sand-daemon/pid does not exist
                                                                                          [fail]
invoke-rc.d: initscript opensand-daemon, action "stop" failed.
 * Removing configuration for the OpenSAND network                                               # Configure OpenSAND network for satellite
                                                                                          [ OK ]
rsyslog start/running, process 3268
 * Configuring the OpenSAND network                                                       [ OK ] 
 * Starting the OpenSAND Daemon sand-daemon                                               [ OK ] 
andyg@andyg-laptop:~/opensand/packages$ 

-------------------------------------------------------------------------
andyg@andyg-laptop:~$ python
Python 2.7 (r27:82500, Aug 20 2012, 15:02:32) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtk
>>> 
--------------------------------------------------------------------------
andyg@andyg-laptop:~$ python
Python 2.7 (r27:82500, Aug 20 2012, 15:02:32) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gobject
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gobject
>>> 
andyg@andyg-laptop:~$ sudo update-python-modules -f
andyg@andyg-laptop:~$ python
Python 2.7 (r27:82500, Aug 20 2012, 15:02:32) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtk
>>> 
andyg@andyg-laptop:~$ dpkg -l | grep python
ii  libpython2.6                          2.6.5-1ubuntu6                                  Shared Python runtime library (version 2.6)
ii  libpython3.1                          3.1.2-0ubuntu3.1                                Shared Python runtime library (version 3.1)
ii  python                                2.6.5-0ubuntu1                                  An interactive high-level object-oriented la
ii  python-all                            2.6.5-0ubuntu1                                  Package depending on all supported Python ru
ii  python-all-dbg                        2.6.5-0ubuntu1                                  Package depending on all supported Python de
ii  python-all-dev                        2.6.5-0ubuntu1                                  Package depending on all supported Python de
ii  python-appindicator                   0.0.19-0ubuntu4                                 Python bindings for libappindicator
rc  python-apport                         1.13.3-0ubuntu2.1                               apport crash report handling library
ii  python-apt                            0.7.94.2ubuntu6.4                               Python interface to libapt-pkg
ii  python-aptdaemon                      0.11+bzr345-0ubuntu4.1                          Python module for the server and client of a
ii  python-aptdaemon-gtk                  0.11+bzr345-0ubuntu4.1                          Python GTK+ widgets to run an aptdaemon clie
ii  python-avahi                          0.6.25-1ubuntu6.2                               Python utility package for Avahi
ii  python-boto                           1.9b-1ubuntu3                                   Python interface to Amazon's Web Services
ii  python-brlapi                         4.1-2ubuntu6                                    Python bindings for BrlAPI
ii  python-cairo                          1.8.8-1                                         Python bindings for the Cairo vector graphic
ii  python-central                        0.6.15ubuntu1                                   register and build utility for Python packag
ii  python-compizconfig                   0.8.2-0ubuntu1                                  Compiz configuration system bindings
ii  python-configglue                     0.2dev-0ubuntu2                                 Glues together optparse.OptionParser and Con
ii  python-configobj                      4.7.1-1                                         simple but powerful config file reader and w
ii  python-couchdb                        0.6-1                                           library for working with Apache CouchDB
ii  python-crypto                         2.0.1+dfsg1-4ubuntu2.2                          cryptographic algorithms and protocols for P
ii  python-cups                           1.9.49-0ubuntu1                                 Python bindings for CUPS
ii  python-cupshelpers                    1.2.0+20100408-0ubuntu5.2                       Python modules for printer configuration wit
ii  python-dateutil                       1.4.1-3                                         powerful extensions to the standard datetime
ii  python-dbg                            2.6.5-0ubuntu1                                  Debug Build of the Python Interpreter (versi
ii  python-dbus                           0.83.0-1ubuntu3                                 simple interprocess messaging system (Python
ii  python-debian                         0.1.14ubuntu2                                   Python modules to work with Debian-related d
ii  python-dev                            2.6.5-0ubuntu1                                  Header files and a static library for Python
ii  python-docutils                       0.6-3                                           utilities for the documentation of Python mo
ii  python-egenix-mxdatetime              3.1.3-2ubuntu1                                  date and time handling routines for Python
ii  python-egenix-mxtools                 3.1.3-2ubuntu1                                  collection of additional builtins for Python
ii  python-epydoc                         3.0.1-4                                         tool for generating Python API documentation
ii  python-farsight                       0.0.17-2ubuntu2                                 Audio/Video communications framework: Python
ii  python-fstab                          1.4-1                                           read, manipulate, and write /etc/fstab files
ii  python-gconf                          2.28.0-1ubuntu1                                 Python bindings for the GConf configuration 
ii  python-gdbm                           2.6.5-0ubuntu2                                  GNU dbm database support for Python
ii  python-glade2                         2.17.0-0ubuntu2                                 GTK+ bindings: Glade support
ii  python-gmenu                          2.30.0-0ubuntu4                                 an implementation of the freedesktop menu sp
ii  python-gnome2                         2.28.0-1ubuntu1                                 Python bindings for the GNOME desktop enviro
ii  python-gnomeapplet                    2.30.0-0ubuntu1.1                               Python bindings for the GNOME panel applet l
ii  python-gnomecanvas                    2.28.0-1ubuntu1                                 Python bindings for gnomecanvas (debug exten
ii  python-gnomekeyring                   2.30.0-0ubuntu1.1                               Python bindings for the GNOME keyring librar
ii  python-gnupginterface                 0.3.2-9.1                                       Python interface to GnuPG (GPG)
ii  python-gobject                        2.21.1-0ubuntu3                                 Python bindings for the GObject library
ii  python-gobject-dev                    2.21.1-0ubuntu3                                 Development headers for the GObject Python b
ii  python-gst0.10                        0.10.18-1                                       generic media-playing framework (Python bind
ii  python-gtk2                           2.17.0-0ubuntu2                                 Python bindings for the GTK+ widget set
ii  python-gtk2-dev                       2.17.0-0ubuntu2                                 GTK+ bindings: devel files
ii  python-gtk2-doc                       2.17.0-0ubuntu2                                 Python bindings for the GTK+ widget set - do
ii  python-gtksourceview2                 2.10.1-0ubuntu1                                 Python bindings for the GtkSourceView widget
ii  python-gtkspell                       2.25.3-4.1ubuntu4                               Python bindings for the GtkSpell library
ii  python-httplib2                       0.7.2-1ubuntu2~0.10.04.1                        comprehensive HTTP client library written in
ii  python-ibus                           1.2.0.20091215-1ubuntu4                         New input method framework using dbus
ii  python-imaging                        1.1.7-1ubuntu0.1                                Python Imaging Library
ii  python-indicate                       0.3.0-0ubuntu1                                  Python bindings for libindicate
ii  python-ipaddr                         2.1.1-1                                         Python module for working with IP addresses,
ii  python-jinja2                         2.3.1-1                                         small but fast and easy to use stand-alone t
ii  python-launchpad-integration          0.1.35                                          library for launchpad integration
ii  python-libxml2                        2.7.6.dfsg-1ubuntu1.5                           Python bindings for the GNOME XML library
ii  python-louis                          1.7.0-2                                         Python bindings for liblouis
ii  python-lxml                           2.2.4-1                                         pythonic binding for the libxml2 and libxslt
ii  python-mako                           0.2.5-2ubuntu1.3                                fast and lightweight templating for the Pyth
ii  python-matplotlib                     0.99.1.2-3ubuntu1                               Python based plotting system in a style simi
ii  python-matplotlib-data                0.99.1.2-3ubuntu1                               Python based plotting system (data package)
ii  python-minimal                        2.6.5-0ubuntu1                                  A minimal subset of the Python language (def
ii  python-newt                           0.52.10-5ubuntu1                                A NEWT module for Python
ii  python-notify                         0.1.1-2build3                                   Python bindings for libnotify
ii  python-numpy                          1:1.3.0-3build1                                 Numerical Python adds a fast array facility 
ii  python-oauth                          1.0a~svn1124-0ubuntu2                           implementation of the OAuth protocol
ii  python-openssl                        0.10-1                                          Python wrapper around the OpenSSL library
ii  python-pam                            0.4.2-12.1ubuntu1.10.04.1                       A Python interface to the PAM library
ii  python-papyon                         0.4.8-0ubuntu2.1                                MSN client library written in Python
ii  python-paramiko                       1.7.6-2                                         Make ssh v2 connections with Python
ii  python-pexpect                        2.3-1build1                                     Python module for automating interactive app
ii  python-prctl                          1.1.1-1                                         Python interface to the prctl() syscall
ii  python-problem-report                 1.13.3-0ubuntu2.1                               Python library to handle problem reports
ii  python-protobuf                       2.2.0a-0.1ubuntu1                               Python bindings for protocol buffers
ii  python-pyasn1                         0.0.8a-1                                        ASN.1 library for Python
ii  python-pyatspi                        1.30.1-0ubuntu1                                 Assistive Technology Service Provider Interf
ii  python-pycurl                         7.19.0-3                                        Python bindings to libcurl
ii  python-pygments                       1.2.2+dfsg-1ubuntu1                             syntax highlighting package written in Pytho
ii  python-pygoocanvas                    0.14.1-0ubuntu1                                 GooCanvas Python bindings
ii  python-pyinotify                      0.8.9-1ubuntu2                                  simple Linux inotify Python bindings
ii  python-pyorbit                        2.24.0-5ubuntu3                                 A Python language binding for the ORBit2 COR
ii  python-pyparsing                      1.5.2-1ubuntu1                                  Python parsing module
ii  python-pyrex                          0.9.8.5-1ubuntu2                                compile native-code modules for Python from 
ii  python-roman                          0.6-3                                           module for generating/analyzing Roman numera
ii  python-serial                         2.3-1                                           pyserial - module encapsulating access for t
ii  python-simplejson                     2.0.9-1build1                                   Simple, fast, extensible JSON encoder/decode
ii  python-smbc                           1.0.6-0ubuntu3                                  Python bindings for Samba clients (libsmbcli
ii  python-software-properties            0.75.10.2                                       manage the repositories that you install sof
ii  python-speechd                        0.6.8~unofficial~rc2-0ubuntu3                   Python interface to Speech Dispatcher
ii  python-sphinx                         0.6.4-1                                         tool for producing documentation for Python 
ii  python-support                        1.0.4ubuntu1                                    automated rebuilding support for Python modu
ii  python-telepathy                      0.15.17-1                                       Python language bindings for telepathy
ii  python-tk                             2.6.5-0ubuntu2                                  Tkinter - Writing Tk applications with Pytho
rc  python-twisted                        10.0.0-2ubuntu2                                 Event-based framework for internet applicati
ii  python-twisted-bin                    10.0.0-2ubuntu2                                 Event-based framework for internet applicati
rc  python-twisted-conch                  1:10.0.0-2ubuntu1                               The Twisted SSH Implementation
rc  python-twisted-core                   10.0.0-2ubuntu2                                 Event-based framework for internet applicati
ii  python-tz                             2010b-1ubuntu0.10.04.1                          Python version of the Olson timezone databas
rc  python-ubuntuone                      0.3.1-0ubuntu1                                  Ubuntu One widget library
rc  python-ubuntuone-client               1.2.2-0ubuntu2.3                                Ubuntu One client Python libraries
rc  python-ubuntuone-storageprotocol      1.2.0-0ubuntu1.1                                Python library for Ubuntu One file storage a
ii  python-uno                            1:3.2.0-7ubuntu4.3                              Python-UNO bridge
ii  python-virtkey                        0.50ubuntu3                                     Library to emulate keyboard keypresses.
ii  python-vte                            1:0.23.5-0ubuntu1.1                             Python bindings for the VTE widget set
ii  python-webkit                         1.1.7-1                                         WebKit/Gtk Python bindings
ii  python-wnck                           2.30.0-0ubuntu1.1                               Python bindings for the WNCK library
ii  python-xapian                         1.0.17-1ubuntu1                                 Xapian search engine interface for Python
ii  python-xdg                            0.18-1ubuntu2                                   Python library to access freedesktop.org sta
ii  python-xkit                           0.4.2.2                                         library for the manipulation of the xorg.con
ii  python2.6                             2.6.5-1ubuntu6                                  An interactive high-level object-oriented la
ii  python2.6-dbg                         2.6.5-1ubuntu6                                  Debug Build of the Python Interpreter (versi
ii  python2.6-dev                         2.6.5-1ubuntu6                                  Header files and a static library for Python
ii  python2.6-minimal                     2.6.5-1ubuntu6                                  A minimal subset of the Python language (ver
ii  python3                               3.1.2-0ubuntu1                                  An interactive high-level object-oriented la
ii  python3-all                           3.1.2-0ubuntu1                                  Package depending on all supported Python ru
ii  python3-all-dev                       3.1.2-0ubuntu1                                  Package depending on all supported Python de
ii  python3-dev                           3.1.2-0ubuntu1                                  Header files and a static library for Python
ii  python3-minimal                       3.1.2-0ubuntu1                                  A minimal subset of the Python language (def
ii  python3.1                             3.1.2-0ubuntu3.1                                An interactive high-level object-oriented la
ii  python3.1-dev                         3.1.2-0ubuntu3.1                                Header files and a static library for Python
ii  python3.1-minimal                     3.1.2-0ubuntu3.1                                A minimal subset of the Python language (ver

--------------------------------------------------------------------------
andyg@andyg-laptop:~$ dpkg -l | grep gtk
ii  adobe-flash-properties-gtk            11.2.202.236-0lucid1                            GTK+ control panel for Adobe Flash Player pl
ii  checkbox-gtk                          0.9.2                                           Checkbox GTK Interface
ii  computer-janitor-gtk                  1.14.1-0ubuntu2                                 clean up a system so it's more like a freshl
ii  gftp-gtk                              2.0.19-2ubuntu1                                 X/GTK+ FTP client
ii  gtk2-engines                          1:2.20.0-0ubuntu1                               theme engines for GTK+ 2.x
ii  gtk2-engines-murrine                  0.90.3+git20100323-0ubuntu3                     cairo-based gtk+-2.0 theme engine
ii  gtk2-engines-pixbuf                   2.20.1-0ubuntu2.1                               Pixbuf-based theme for GTK+ 2.x
ii  ibus-gtk                              1.2.0.20091215-1ubuntu4                         New input method framework using dbus
ii  jockey-gtk                            0.5.8-0ubuntu8.1                                GNOME user interface and desktop integration
ii  libcanberra-gtk-module                0.22-1ubuntu2                                   translates Gtk+ widgets signals to event sou
ii  libcanberra-gtk0                      0.22-1ubuntu2                                   Gtk+ helper for playing widget event sounds 
ii  libcheese-gtk18                       2.30.1-0ubuntu2                                 A tool to take pictures and videos from your
ii  libclutter-gtk-0.10-0                 0.10.4-0ubuntu1                                 Open GL based interactive canvas library GTK
ii  libdbusmenu-gtk1                      0.2.9-0ubuntu3.1                                Menus over DBus shared library for GTK
ii  libgdu-gtk0                           2.30.1-1                                        GTK+ standard dialog library for libgdu
ii  libgtk-vnc-1.0-0                      0.3.10-2ubuntu2.2                               A VNC viewer widget for GTK+ (runtime librar
ii  libgtk2-perl                          1:1.221-4ubuntu2                                Perl interface to the 2.x series of the Gimp
ii  libgtk2.0-0                           2.20.1-0ubuntu2.1                               The GTK+ graphical user interface library
ii  libgtk2.0-bin                         2.20.1-0ubuntu2.1                               The programs for the GTK+ graphical user int
ii  libgtk2.0-common                      2.20.1-0ubuntu2.1                               Common files for the GTK+ graphical user int
ii  libgtk2.0-dev                         2.20.1-0ubuntu2.1                               Development files for the GTK+ library
ii  libgtkhtml-editor-common              1:3.29.6.is.3.28.3-0ubuntu2                     HTML rendering/editing library - editor widg
ii  libgtkhtml-editor0                    1:3.29.6.is.3.28.3-0ubuntu2                     HTML rendering/editing library - editor widg
ii  libgtkhtml3.14-19                     1:3.29.6.is.3.28.3-0ubuntu2                     HTML rendering/editing library - runtime fil
ii  libgtkmm-2.4-1c2a                     1:2.20.3-0ubuntu1                               C++ wrappers for GTK+ (shared libraries)
ii  libgtksourceview2.0-0                 2.10.4-0ubuntu1                                 shared libraries for the GTK+ syntax highlig
ii  libgtksourceview2.0-common            2.10.4-0ubuntu1                                 common files for the GTK+ syntax highlightin
ii  libgtkspell0                          2.0.16-1                                        a spell-checking addon for GTK's TextView wi
ii  libido-0.1-0                          0.1.6-0ubuntu1                                  Shared library providing extra gtk menu item
ii  libindicate-gtk2                      0.3.6-0ubuntu1                                  GNOME panel indicator applet - shared librar
ii  libpolkit-gtk-1-0                     0.96-2ubuntu2                                   PolicyKit GTK+ API
ii  libwmf0.2-7-gtk                       0.2.8.4-6.1ubuntu2                              Windows metafile conversion library
ii  ndisgtk                               0.8.5-1                                         graphical frontend for ndiswrapper (installa
ii  openoffice.org-gtk                    1:3.2.0-7ubuntu4.3                              office productivity suite -- GTK+ integratio
ii  python-aptdaemon-gtk                  0.11+bzr345-0ubuntu4.1                          Python GTK+ widgets to run an aptdaemon clie
ii  python-gtk2                           2.17.0-0ubuntu2                                 Python bindings for the GTK+ widget set
ii  python-gtk2-dev                       2.17.0-0ubuntu2                                 GTK+ bindings: devel files
ii  python-gtk2-doc                       2.17.0-0ubuntu2                                 Python bindings for the GTK+ widget set - do
ii  python-gtksourceview2                 2.10.1-0ubuntu1                                 Python bindings for the GtkSourceView widget
ii  python-gtkspell                       2.25.3-4.1ubuntu4                               Python bindings for the GtkSpell library
ii  software-properties-gtk               0.75.10.2                                       manage the repositories that you install sof
ii  transmission-gtk                      2.04-1~getdeb1                                  lightweight BitTorrent client (GTK interface
ii  usb-creator-gtk                       0.2.22.3                                        Ubuntu startup disk creator for GTK+
ii  xdg-user-dirs-gtk                     0.8-1ubuntu1                                    tool to manage well known user directories (

--------------------------------------------------------------------------
Nowy manual:

andyg@andyg-laptop:~$ sudo apt-get install \
>        libc6 libgcc1 libglib2.0-0 libglibmm-2.4-1c2a libsigc++-2.0-0c2a \
>        libstdc++6 libxml++2.6-2 libxml2 debconf avahi-daemon \
>        python python-avahi python-dbus python-ipaddr \
>        python-matplotlib python-gtk2 
[sudo] password for andyg: 
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
libc6 jest już w najnowszej wersji.
libgcc1 jest już w najnowszej wersji.
libglib2.0-0 jest już w najnowszej wersji.
libglibmm-2.4-1c2a jest już w najnowszej wersji.
libsigc++-2.0-0c2a jest już w najnowszej wersji.
libstdc++6 jest już w najnowszej wersji.
libxml++2.6-2 jest już w najnowszej wersji.
libxml++2.6-2 zaznaczony jako zainstalowany ręcznie.
libxml2 jest już w najnowszej wersji.
debconf jest już w najnowszej wersji.
avahi-daemon jest już w najnowszej wersji.
python jest już w najnowszej wersji.
python-avahi jest już w najnowszej wersji.
python-dbus jest już w najnowszej wersji.
python-ipaddr jest już w najnowszej wersji.
python-matplotlib jest już w najnowszej wersji.
python-matplotlib zaznaczony jako zainstalowany ręcznie.
python-gtk2 jest już w najnowszej wersji.
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
  docbook-to-man linux-headers-2.6.32-22 postfix patchutils
  libpod-coverage-perl libdevel-symdump-perl gnome-common libio-stringy-perl
  devscripts libipc-run-perl dctrl-tools libauthen-sasl-perl dput
  libparse-debcontrol-perl libio-pty-perl jade bsd-mailx docbook-dsssl
  linux-headers-2.6.32-22-generic lintian libtest-pod-perl libterm-size-perl
  docbook wdiff
Aby je usunąć należy użyć "apt-get autoremove".
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 20 nieaktualizowanych.
andyg@andyg-laptop:~$ sudo dpkg -i python-prctl_1.1.1-1_i386.deb \
>                libnl-3-200_3.2.7-2_i386.deb \
>                libnl-route-3-200_3.2.7-2_i386.deb
[sudo] password for andyg: 
dpkg: błąd przetwarzania python-prctl_1.1.1-1_i386.deb (--install):
 brak dostępu do archiwum: Nie ma takiego pliku ani katalogu
dpkg: błąd przetwarzania libnl-3-200_3.2.7-2_i386.deb (--install):
 brak dostępu do archiwum: Nie ma takiego pliku ani katalogu
dpkg: błąd przetwarzania libnl-route-3-200_3.2.7-2_i386.deb (--install):
 brak dostępu do archiwum: Nie ma takiego pliku ani katalogu
Wystąpiły błędy podczas przetwarzania:
 python-prctl_1.1.1-1_i386.deb
 libnl-3-200_3.2.7-2_i386.deb
 libnl-route-3-200_3.2.7-2_i386.deb
andyg@andyg-laptop:~$ wget http://opensand.org/downloads/python-prctl_1.1.1-1_i386.deb \
>        http://opensand.org/downloads/libnl-3-200_3.2.7-2_i386.deb \
>        http://opensand.org/downloads/libnl-route-3-200_3.2.7-2_i386.deb
--2012-08-20 23:55:41--  http://opensand.org/downloads/python-prctl_1.1.1-1_i386.deb
Translacja opensand.org... 213.186.33.17
Łączenie się z opensand.org|213.186.33.17|:80... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 33284 (33K) [text/plain]
Zapis do: `python-prctl_1.1.1-1_i386.deb'

100%[======================================>] 33.284       193K/s   w 0,2s     

2012-08-20 23:55:42 (193 KB/s) - zapisano `python-prctl_1.1.1-1_i386.deb' [33284/33284]

--2012-08-20 23:55:42--  http://opensand.org/downloads/libnl-3-200_3.2.7-2_i386.deb
Ponowne użycie połączenia do opensand.org:80.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 57044 (56K) [text/plain]
Zapis do: `libnl-3-200_3.2.7-2_i386.deb'

100%[======================================>] 57.044       366K/s   w 0,2s     

2012-08-20 23:55:42 (366 KB/s) - zapisano `libnl-3-200_3.2.7-2_i386.deb' [57044/57044]

--2012-08-20 23:55:42--  http://opensand.org/downloads/libnl-route-3-200_3.2.7-2_i386.deb
Ponowne użycie połączenia do opensand.org:80.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 124806 (122K) [text/plain]
Zapis do: `libnl-route-3-200_3.2.7-2_i386.deb'

100%[======================================>] 124.806      266K/s   w 0,5s     

2012-08-20 23:55:43 (266 KB/s) - zapisano `libnl-route-3-200_3.2.7-2_i386.deb' [124806/124806]

ZAKOŃCZONO --2012-08-20 23:55:43--
Pobrano: 3 plików, 210K w 0,8s (270 KB/s)
andyg@andyg-laptop:~$ sudo dpkg -i python-prctl_1.1.1-1_i386.deb \
>                libnl-3-200_3.2.7-2_i386.deb \
>                libnl-route-3-200_3.2.7-2_i386.deb
(Odczytywanie bazy danych ... 230772 plików i katalogów obecnie zainstalowanych.)
Przygotowanie do zastąpienia python-prctl 1.1.1-1 (wykorzystując python-prctl_1.1.1-1_i386.deb) ...
Rozpakowanie pakietu zastępującego python-prctl ...
Przygotowanie do zastąpienia libnl-3-200 3.2.7-2 (wykorzystując libnl-3-200_3.2.7-2_i386.deb) ...
Rozpakowanie pakietu zastępującego libnl-3-200 ...
Przygotowanie do zastąpienia libnl-route-3-200 3.2.7-2 (wykorzystując libnl-route-3-200_3.2.7-2_i386.deb) ...
Rozpakowanie pakietu zastępującego libnl-route-3-200 ...
Konfigurowanie python-prctl (1.1.1-1) ...

Konfigurowanie libnl-3-200 (3.2.7-2) ...

Konfigurowanie libnl-route-3-200 (3.2.7-2) ...

Przetwarzanie wyzwalaczy dla python-support...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place
andyg@andyg-laptop:~$ wget https://launchpad.net/opensand/0.9.x/0.9.0/+download/opensand-0.9.0-deb.tar.gz
--2012-08-20 23:57:05--  https://launchpad.net/opensand/0.9.x/0.9.0/+download/opensand-0.9.0-deb.tar.gz
Translacja launchpad.net... 91.189.89.222, 91.189.89.223
Łączenie się z launchpad.net|91.189.89.222|:443... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 302 Moved Temporarily
Lokalizacja: https://launchpadlibrarian.net/108939613/opensand-0.9.0-deb.tar.gz [podążanie]
--2012-08-20 23:57:06--  https://launchpadlibrarian.net/108939613/opensand-0.9.0-deb.tar.gz
Translacja launchpadlibrarian.net... 91.189.89.228, 91.189.89.229
Łączenie się z launchpadlibrarian.net|91.189.89.228|:443... połączono.
Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
Długość: 1276068 (1,2M) [application/x-tar]
Zapis do: `opensand-0.9.0-deb.tar.gz'

100%[======================================>] 1.276.068    285K/s   w 4,4s     

2012-08-20 23:57:11 (285 KB/s) - zapisano `opensand-0.9.0-deb.tar.gz' [1276068/1276068]

andyg@andyg-laptop:~$ tar -xvzf opensand-0.9.0-deb.tar.gz
opensand-0.9.0-deb/
opensand-0.9.0-deb/libopensand-encap-plugin_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-gse-plugin-manager_0.9.0_i386.deb
opensand-0.9.0-deb/opensand-daemon_0.9.0_i386.deb
opensand-0.9.0-deb/opensand-core-bin_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-conf_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-rohc-plugin-manager_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-margouilla_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-ule-plugin_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-atm-aal5-plugin-manager_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-rohc-plugin_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-mpeg-plugin_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-env-plane_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-gse-plugin_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-mpeg-plugin-manager_0.9.0_i386.deb
opensand-0.9.0-deb/opensand-manager-core_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-ule-plugin-manager_0.9.0_i386.deb
opensand-0.9.0-deb/opensand-env-plane_0.9.0_i386.deb
opensand-0.9.0-deb/libopensand-atm-aal5-plugin_0.9.0_i386.deb
opensand-0.9.0-deb/opensand-core-all_0.9.0_i386.deb
opensand-0.9.0-deb/opensand-manager-gui_0.9.0_i386.deb
andyg@andyg-laptop:~$ cd opensand-0.9.0-deb/
andyg@andyg-laptop:~/opensand-0.9.0-deb$ sudo dpkg -i libopensand-env-plane_0.9.0_i386.deb \
>                libopensand-conf_0.9.0_i386.deb \
>                opensand-core-bin_0.9.0_i386.deb \
>                libopensand-margouilla_0.9.0_i386.deb \
>                opensand-daemon_0.9.0_i386.deb
(Odczytywanie bazy danych ... 230772 plików i katalogów obecnie zainstalowanych.)
Przygotowanie do zastąpienia libopensand-env-plane 0.9.0 (wykorzystując libopensand-env-plane_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-env-plane ...
Przygotowanie do zastąpienia libopensand-conf 0.9.0 (wykorzystując libopensand-conf_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-conf ...
Przygotowanie do zastąpienia opensand-core-bin 0.9.0 (wykorzystując opensand-core-bin_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego opensand-core-bin ...
Przygotowanie do zastąpienia libopensand-margouilla 0.9.0 (wykorzystując libopensand-margouilla_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-margouilla ...
Przygotowanie do zastąpienia opensand-daemon 0.9.0 (wykorzystując opensand-daemon_0.9.0_i386.deb) ...
 * Shutting down the OpenSAND Daemon sand-daemon                                 * /var/run/sand-daemon/pid does not exist
                                                                         [fail]
invoke-rc.d: initscript opensand-daemon, action "stop" failed.
 * Removing configuration for the OpenSAND network                              # Configure OpenSAND network for satellite
                                                                         [ OK ]
Rozpakowanie pakietu zastępującego opensand-daemon ...
Konfigurowanie libopensand-env-plane (0.9.0) ...

Konfigurowanie libopensand-conf (0.9.0) ...

Konfigurowanie libopensand-margouilla (0.9.0) ...

Konfigurowanie opensand-core-bin (0.9.0) ...
rsyslog start/running, process 2841

Konfigurowanie opensand-daemon (0.9.0) ...
rsyslog start/running, process 2865
 * Configuring the OpenSAND network                                      [ OK ] 
 * Starting the OpenSAND Daemon sand-daemon                              [ OK ] 

Przetwarzanie wyzwalaczy dla ureadahead...
ureadahead will be reprofiled on next reboot
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place
andyg@andyg-laptop:~/opensand-0.9.0-deb$
andyg@andyg-laptop:~/opensand-0.9.0-deb$ sudo dpkg -i libopensand-env-plane_0.9.0_i386.deb \
>                libopensand-conf_0.9.0_i386.deb \
>                opensand-core-bin_0.9.0_i386.deb \
>                libopensand-margouilla_0.9.0_i386.deb \
>                opensand-env-plane_0.9.0_i386.deb\
>                opensand-core-all_0.9.0_i386.deb \
>                opensand-manager-core_0.9.0_i386.deb \
>                opensand-manager-gui_0.9.0_i386.deb
(Odczytywanie bazy danych ... 230772 plików i katalogów obecnie zainstalowanych.)
Przygotowanie do zastąpienia libopensand-env-plane 0.9.0 (wykorzystując libopensand-env-plane_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-env-plane ...
Przygotowanie do zastąpienia libopensand-conf 0.9.0 (wykorzystując libopensand-conf_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-conf ...
Przygotowanie do zastąpienia opensand-core-bin 0.9.0 (wykorzystując opensand-core-bin_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego opensand-core-bin ...
Przygotowanie do zastąpienia libopensand-margouilla 0.9.0 (wykorzystując libopensand-margouilla_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego libopensand-margouilla ...
Przygotowanie do zastąpienia opensand-env-plane 0.9.0 (wykorzystując opensand-env-plane_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego opensand-env-plane ...
Przygotowanie do zastąpienia opensand-core-all 0.9.0 (wykorzystując opensand-core-all_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego opensand-core-all ...
Przygotowanie do zastąpienia opensand-manager-core 0.9.0 (wykorzystując opensand-manager-core_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego opensand-manager-core ...
Przygotowanie do zastąpienia opensand-manager-gui 0.9.0 (wykorzystując opensand-manager-gui_0.9.0_i386.deb) ...
Rozpakowanie pakietu zastępującego opensand-manager-gui ...
Konfigurowanie libopensand-env-plane (0.9.0) ...

Konfigurowanie libopensand-conf (0.9.0) ...

Konfigurowanie libopensand-margouilla (0.9.0) ...

Konfigurowanie opensand-env-plane (0.9.0) ...
Konfigurowanie opensand-core-bin (0.9.0) ...
rsyslog start/running, process 3286

Konfigurowanie opensand-core-all (0.9.0) ...

Konfigurowanie opensand-manager-core (0.9.0) ...

Konfigurowanie opensand-manager-gui (0.9.0) ...
rsyslog start/running, process 3302

Przetwarzanie wyzwalaczy dla hicolor-icon-theme...
Przetwarzanie wyzwalaczy dla desktop-file-utils...
Przetwarzanie wyzwalaczy dla python-gmenu...
Rebuilding /usr/share/applications/desktop.pl_PL.utf8.cache...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place
Przetwarzanie wyzwalaczy dla python-support...
andyg@andyg-laptop:~/opensand-0.9.0-deb$ sand-manager
Traceback (most recent call last):
  File "/usr/bin/sand-manager", line 39, in <module>
    import gtk
ImportError: No module named gtk
andyg@andyg-laptop:~/opensand-0.9.0-deb$ 

--------------------------------------------------------------------------
rsyslog start/running, process 2043
 * Configuring the OpenSAND network                                                              ERROR (FATAL): cannot retrieve  IPv6 address, please select ADVANCED mode or assign an address

 * failed to configure the OpenSAND network
                                                                                          [fail]
invoke-rc.d: initscript opensand-network, action "start" failed.
 * Please configure the OpenSAND network before starting the daemon
   ...fail!
invoke-rc.d: initscript opensand-daemon, action "start" failed.


andyg@andyg-laptop:~/opensand/packages$ sand-manager
2012-08-14 21:07:26,767 - sand-manager - ERROR - failed to initialize OpenSAND Manager: You need encapsulation modules to use your platform
  File "/usr/bin/sand-manager", line 155, in <module>
    MANAGER = OpenSandManager()
  File "/usr/bin/sand-manager", line 108, in __init__
    self._model = Model(self._manager_log, options.scenario)
  File "/usr/lib/python2.6/dist-packages/opensand_manager_core/opensand_model.py", line 87, in __init__
    raise ModelException("You need encapsulation modules to use your "

Exception in OpenSAND manager: You need encapsulation modules to use your platform
andyg@andyg-laptop:~/opensand/packages$ 


andyg@andyg-laptop:~/opensand/packages$ sand-manager
2012-08-14 23:40:58,682 - sand-manager - ERROR - failed to initialize OpenSAND Manager: You need encapsulation modules to use your platform
  File "/usr/bin/sand-manager", line 155, in <module>
    MANAGER = OpenSandManager()
  File "/usr/bin/sand-manager", line 108, in __init__
    self._model = Model(self._manager_log, options.scenario)
  File "/usr/lib/python2.6/dist-packages/opensand_manager_core/opensand_model.py", line 87, in __init__
    raise ModelException("You need encapsulation modules to use your "

Exception in OpenSAND manager: You need encapsulation modules to use your platform


Follow ups