Elisa est basé sur gstreamer. Tu as installé gstreamer-ffmpeg et gstreamer-plugins-{bad,ugly} ?eddy33 wrote:Ca a l'air de marcher 😉
Par contre, il me demande les codecs MPEG....
Problème avec Elisa Media center
Salut Pika et bonne année !
Tu as gagné 😉
Un :
Bien à toi !
Tu as gagné 😉
Un :
# yum install gstreamer-ffmpeg
# yum install gstreamer-plugins-ugly
# yum install gstreamer-plugins-bad
a résolu mon problème de codecs. J'ai un elisa opérationnel sur mon netbook MSI Wind !Bien à toi !
Bonsoir,
De retour sur Elisa (@Pikachu_2014 j'installe MythTV si cela ne marche pas ce soir ) et apres avoir verifié que gstreamer-ffmpeg et gstreamer-plugins-{bad,ugly} sont bien installés sur ma machine, je lance un
Cela donne :
Malheureusement lorsque je lance elisa :
Merci de votre aide
De retour sur Elisa (@Pikachu_2014 j'installe MythTV si cela ne marche pas ce soir ) et apres avoir verifié que gstreamer-ffmpeg et gstreamer-plugins-{bad,ugly} sont bien installés sur ma machine, je lance un
yum install elisa
j'ai installé le repo http://people.fluendo.com/matthias/elisa/ dans /etc/yum.repos.dCela donne :
[root@RIO ~]# yum install gstreamer-plugins-bad
Loaded plugins: refresh-packagekit
Excluding Packages from Elisa for Fedora 10 - x86_64
Finished
Setting up Install Process
Parsing package install arguments
Package gstreamer-plugins-bad-0.10.9-1.fc10.x86_64 already installed and latest version
Nothing to do
[root@RIO ~]# yum install elisa
Loaded plugins: refresh-packagekit
Excluding Packages from Elisa for Fedora 10 - x86_64
Finished
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package elisa.noarch 0:0.5.22-1.fc9 set to be updated
--> Processing Dependency: elisa-plugins-bad = 0.5.22 for package: elisa
--> Processing Dependency: elisa-plugins-good = 0.5.22 for package: elisa
--> Running transaction check
---> Package elisa-plugins-bad.noarch 0:0.5.22-2.fc9 set to be updated
---> Package elisa-plugins-good.noarch 0:0.5.22-1.fc9 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
elisa noarch 0.5.22-1.fc9 elisa 50 k
Installing for dependencies:
elisa-plugins-bad noarch 0.5.22-2.fc9 elisa 4.6 M
elisa-plugins-good noarch 0.5.22-1.fc9 elisa 72 k
Transaction Summary
================================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 4.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): elisa-0.5.22-1.fc9.noarch.rpm | 50 kB 00:00
(2/3): elisa-plugins-good-0.5.22-1.fc9.noarch.rpm | 72 kB 00:00
(3/3): elisa-plugins-bad-0.5.22-2.fc9.noarch.rpm | 4.6 MB --:--
--------------------------------------------------------------------------------
Total -1386.0 B/s | 4.7 MB --:--
============================== Entering rpm code ===============================
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : elisa-plugins-bad 1/3
Installing : elisa 2/3
Installing : elisa-plugins-good 3/3
=============================== Leaving rpm code ===============================
Installed:
elisa.noarch 0:0.5.22-1.fc9
Dependency Installed:
elisa-plugins-bad.noarch 0:0.5.22-2.fc9
elisa-plugins-good.noarch 0:0.5.22-1.fc9
Complete!
[root@RIO ~]#
Ce qui semble parfait !Malheureusement lorsque je lance elisa :
[renaud@RIO Desktop]$ elisa
Traceback (most recent call last):
File "/usr/bin/elisa", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2562, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: elisa==0.5.22
Quelqu'un parle python ?? Merci de votre aide
Si jamais cela peut aider, j'ai trouvé un commande qui lance python
[root@RIO ~]# python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:42:03)
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Salut.
Regarde dans le fichier /usr/lib/python2.5/site-packages/pkg_resources.py" ligne 524, ce qui ne va pas.
Je ne connais rien à python mais sachant parler anglais, j'ai vu qu'il me manquait une bibliothèque python...
++
Regarde dans le fichier /usr/lib/python2.5/site-packages/pkg_resources.py" ligne 524, ce qui ne va pas.
Je ne connais rien à python mais sachant parler anglais, j'ai vu qu'il me manquait une bibliothèque python...
++
- Modifié
Ouhhaoouuu ça a l'air compliqué python !!
J'ai l'impression qu'il ne trouve pas le nom de ma distrib. malheureusement, je ne sais pas trop quoi faire.
Je paste la partie du code correspondant. La premiere partie est un commentaire :
J'ai l'impression qu'il ne trouve pas le nom de ma distrib. malheureusement, je ne sais pas trop quoi faire.
Je paste la partie du code correspondant. La premiere partie est un commentaire :
C'est assez interessant ce commentaire !!!def resolve(self, requirements, env=None, installer=None):
"""List all distributions needed to (recursively) meet `requirements`
`requirements` must be a sequence of ``Requirement`` objects. `env`,
if supplied, should be an ``Environment`` instance. If
not supplied, it defaults to all distributions available within any
entry or distribution in the working set. `installer`, if supplied,
will be invoked with each requirement that cannot be met by an
already-installed distribution; it should return a ``Distribution`` or
``None``.
"""
requirements = list(requirements)[::-1] # set up the stack
processed = {} # set of processed requirements
best = {} # key -> dist
to_activate = []
while requirements:
req = requirements.pop(0) # process dependencies breadth-first
if req in processed:
# Ignore cyclic or redundant dependencies
continue
dist = best.get(req.key)
if dist is None:
# Find the best distribution and add it to the map
dist = self.by_key.get(req.key)
if dist is None:
if env is None:
env = Environment(self.entries)
dist = best[req.key] = env.best_match(req, self, installer)
if dist is None:
524 raise DistributionNotFound(req) # XXX put more info here
to_activate.append(dist)
if dist not in req:
# Oops, the "best" so far conflicts with a dependency
524raise VersionConflict(dist,req) # XXX put more info here
requirements.extend(dist.requires(req.extras)[::-1])
processed[req] = True
return to_activate # return list of distros to activate
# XXX put more info here
Des idées ?Oupss désole, je me suis trompé de ligne.
Oui dist semble valoir: None. Le problème vient donc de plus haut. Mais c'est assez dur de remonter dans le code.
Il y a un moyen de lancer un code python en mode debug ??
Il y a un moyen de lancer un code python en mode debug ??
@Pikachu_2014
J'ai essayé d'installe MythTV, mais cela se rapproche plus d'une installation d'un OS que d'un simple logiciel !!
J'ai un probleme pour me connecter a la base de donné lors de la configuration ?
Est-ce que je dois creer un utilisateur mythtv ?
Bon je sens que je vais encore un peu essayer elisa et sinon j'ouvre un autre post
Merci d'avance
renaud
J'ai essayé d'installe MythTV, mais cela se rapproche plus d'une installation d'un OS que d'un simple logiciel !!
J'ai un probleme pour me connecter a la base de donné lors de la configuration ?
Est-ce que je dois creer un utilisateur mythtv ?
Bon je sens que je vais encore un peu essayer elisa et sinon j'ouvre un autre post
Merci d'avance
renaud
7 jours plus tard
Pour ceux que cela interesse, la nouvelle version dispo dans les repo d'elisa à résolu tous mes problemes
elisa 0.5.23 s'installe directement !!
elisa 0.5.23 s'installe directement !!
Intéressant en effet. Merci pour l'info !RENOO wrote:Pour ceux que cela interesse, la nouvelle version dispo dans les repo d'elisa à résolu tous mes problemes
elisa 0.5.23 s'installe directement !!
je vais teste ca et de suite 😉
juste tu as fais comment pour línstaller a partir du repo ?
8 jours plus tard
@grungy1
Désolé de répondre tardivement.
J'ai créer un nouveau fichier dans /etc/yum.repos.d que j'ai appelé elisa.repo
avec les paramètres suivants :
Il faut aussi récupérer la clé sur http://people.fluendo.com/matthias/elisa
RPM-GPG-KEY-freshman
et je crois qu'il faut la copier dans /etc/pki/rpm-gpg/ ( je ne me souviens plus exactement comment j'ai fait. Un peu au hasard et cela a marché
Voila, j'espere que cela ta aidé
Désolé de répondre tardivement.
J'ai créer un nouveau fichier dans /etc/yum.repos.d que j'ai appelé elisa.repo
avec les paramètres suivants :
# This is a yum repo file to use the unofficial Elisa Fedora package repository
[elisa]
name=Elisa for Fedora $releasever - $basearch
baseurl=http://people.fluendo.com/matthias/elisa/fedora/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
# Remove if you want the gstreamer-* pre-versions for DVD playback
exclude=gstreamer*
J'ai trouve cet info a l'adresse http://people.fluendo.com/matthias/elisaIl faut aussi récupérer la clé sur http://people.fluendo.com/matthias/elisa
RPM-GPG-KEY-freshman
et je crois qu'il faut la copier dans /etc/pki/rpm-gpg/ ( je ne me souviens plus exactement comment j'ai fait. Un peu au hasard et cela a marché
Voila, j'espere que cela ta aidé
20 jours plus tard
Bonjour à tous,
Je me permets d'en rajouter une couche:
Je suis sous Fedora 10 et j'ai installé elisa 0.3.2 par les dépôts officiels.
Quand je lance elisa, il lui manque apparemment des dépendances pour des plugins:
Merci
Je me permets d'en rajouter une couche:
Je suis sous Fedora 10 et j'ai installé elisa 0.3.2 par les dépôts officiels.
Quand je lance elisa, il lui manque apparemment des dépendances pour des plugins:
chdorb@chdorb-desktop:~$ elisa
WARN MainThread plugin_registry févr. 14 14:18:12 Un-met dependency for flickr_media: twill (elisa/core/plugin_registry.py:198)
WARN MainThread plugin_registry févr. 14 14:18:12 Un-met dependency for bluetooth_input: bluetooth (elisa/core/plugin_registry.py:198)
WARN MainThread plugin_registry févr. 14 14:18:12 Un-met dependency for stage6: BeautifulSoup (elisa/core/plugin_registry.py:195)
A problem occurred in Elisa.
/tmp/elisa_V_xFU8.txt contains the description of this error.
et le fichier /tmp/elisa_V_xFU8.txt ...<type 'exceptions.ValueError'>
Python 2.5.2: /usr/bin/python
Sat Feb 14 14:18:13 2009
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/bin/elisa in <module>()
5 from pkg_resources import load_entry_point
6
7 sys.exit(
8 load_entry_point('elisa==0.3.2', 'gui_scripts', 'elisa')()
9 )
load_entry_point = <function load_entry_point at 0x827f224>
/usr/lib/python2.5/site-packages/elisa/core/application.py in main(args=['/usr/bin/elisa'])
485 raise
486 else:
487 app.initialize()
488 app.start()
489 reactor.run()
app = <elisa.core.application.Application object at 0x82a55cc>
app.initialize = <bound method Application.initialize of <elisa.core.application.Application object at 0x82a55cc>>
/usr/lib/python2.5/site-packages/elisa/core/application.py in initialize(self=<elisa.core.application.Application object at 0x82a55cc>)
370 self._service_manager.initialize()
371 self._metadata_manager.initialize()
372 self._media_manager.initialize()
373 self._input_manager.initialize()
374 self._player_registry.initialize()
self = <elisa.core.application.Application object at 0x82a55cc>
self._media_manager = <elisa.core.media_manager.MediaManager object at 0x8f8080c>
self._media_manager.initialize = <bound method MediaManager.initialize of <elisa.....media_manager.MediaManager object at 0x8f8080c>>
/usr/lib/python2.5/site-packages/elisa/core/manager.py in initialize(self=<elisa.core.media_manager.MediaManager object at 0x8f8080c>)
65 """
66
67 self._load_providers()
68
69
self = <elisa.core.media_manager.MediaManager object at 0x8f8080c>
self._load_providers = <bound method MediaManager._load_providers of <e....media_manager.MediaManager object at 0x8f8080c>>
/usr/lib/python2.5/site-packages/elisa/core/manager.py in _load_providers(self=<elisa.core.media_manager.MediaManager object at 0x8f8080c>)
79 default=[])
80
81 providers = application.plugin_registry.create_components(providers_names)
82 self.debug("Loading %s %s" % (len(providers), providers_type))
83
providers undefined
application = <elisa.core.application.Application object at 0x82a55cc>
application.plugin_registry = <elisa.core.plugin_registry.PluginRegistry object at 0x8a8274c>
application.plugin_registry.create_components = <bound method PluginRegistry.create_components o...gin_registry.PluginRegistry object at 0x8a8274c>>
providers_names = ['media_ugly:shoutcast_media', 'fspot:fspot_media', 'coherence_plugin:upnp_media', 'media_bad:ipod_media', 'base:local_media', 'media_good:elisa_media', 'media_good:gnomevfs_media', 'audiocd:audiocd_media', 'flickr:flic
kr_media', 'stage6:stage_media']
/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py in create_components(self=<elisa.core.plugin_registry.PluginRegistry object at 0x8a8274c>, component_path_list=['media_ugly:shoutcast_media', 'fspot:fspot_media', 'coherence
_plugin:upnp_media', 'media_bad:ipod_media', 'base:local_media', 'media_good:elisa_media', 'media_good:gnomevfs_media', 'audiocd:audiocd_media', 'flickr:flickr_media', 'stage6:stage_media'])
612 for path in component_path_list:
613 try:
614 component = self.create_component(path)
615 components.append(component)
616 except (PluginNotFound, ComponentNotFound,
component = <media_ugly.shoutcast_media.ShoutcastMedia object at 0x90ff8ac>
self = <elisa.core.plugin_registry.PluginRegistry object at 0x8a8274c>
self.create_component = <bound method PluginRegistry.create_component of...gin_registry.PluginRegistry object at 0x8a8274c>>
path = 'fspot:fspot_media'
/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py in create_component(self=<elisa.core.plugin_registry.PluginRegistry object at 0x8a8274c>, component_path='fspot:fspot_media')
470 component.plugin = plugin
471 component.load_config(self._app_config)
472 component.initialize()
473 self.info("Component %s loaded" % component.name)
474 else:
component = <fspot.fspot_media.FspotMedia object at 0x90ff92c>
component.initialize = <bound method FspotMedia.initialize of <fspot.fspot_media.FspotMedia object at 0x90ff92c>>
/usr/lib/python2.5/site-packages/elisa/plugins/good/fspot/fspot_media.py in initialize(self=<fspot.fspot_media.FspotMedia object at 0x90ff92c>)
130 raise component.InitializeFailure(self.name, str(error))
131 else:
132 version = db.get_version()
133 if version == 0:
134 msg = "%r is not F-Spot DB" % self._db_path
version undefined
db = <fspot.fspot_media.FspotDB object at 0x90ffe8c>
db.get_version = <bound method FspotDB.get_version of <fspot.fspot_media.FspotDB object at 0x90ffe8c>>
/usr/lib/python2.5/site-packages/elisa/plugins/good/fspot/fspot_media.py in get_version(self=<fspot.fspot_media.FspotDB object at 0x90ffe8c>)
54 "F-Spot Database Version")
55 if rows:
56 self._version = int(rows[0].data)
57 else:
58 self._version = 0
self = <fspot.fspot_media.FspotDB object at 0x90ffe8c>
self._version = None
builtinint = <type 'int'>
rows = [<DBrow with 1 fields>]
].data undefined
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: '16.3'
__class__ = <type 'exceptions.ValueError'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.ValueError object at 0x9107ecc>
__dict__ = {}
__doc__ = 'Inappropriate argument value (of correct type).'
__getattribute__ = <method-wrapper '__getattribute__' of exceptions.ValueError object at 0x9107ecc>
__getitem__ = <method-wrapper '__getitem__' of exceptions.ValueError object at 0x9107ecc>
__getslice__ = <method-wrapper '__getslice__' of exceptions.ValueError object at 0x9107ecc>
__hash__ = <method-wrapper '__hash__' of exceptions.ValueError object at 0x9107ecc>
__init__ = <method-wrapper '__init__' of exceptions.ValueError object at 0x9107ecc>
__new__ = <built-in method __new__ of type object at 0x5d6f6a0>
__reduce__ = <built-in method __reduce__ of exceptions.ValueError object at 0x9107ecc>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.ValueError object at 0x9107ecc>
__repr__ = <method-wrapper '__repr__' of exceptions.ValueError object at 0x9107ecc>
__setattr__ = <method-wrapper '__setattr__' of exceptions.ValueError object at 0x9107ecc>
__setstate__ = <built-in method __setstate__ of exceptions.ValueError object at 0x9107ecc>
__str__ = <method-wrapper '__str__' of exceptions.ValueError object at 0x9107ecc>
args = ("invalid literal for int() with base 10: '16.3'",)
message = "invalid literal for int() with base 10: '16.3'"
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/elisa", line 8, in <module>
load_entry_point('elisa==0.3.2', 'gui_scripts', 'elisa')()
File "/usr/lib/python2.5/site-packages/elisa/core/application.py", line 487, in main
app.initialize()
File "/usr/lib/python2.5/site-packages/elisa/core/application.py", line 372, in initialize
self._media_manager.initialize()
File "/usr/lib/python2.5/site-packages/elisa/core/manager.py", line 67, in initialize
self._load_providers()
File "/usr/lib/python2.5/site-packages/elisa/core/manager.py", line 81, in _load_providers
providers = application.plugin_registry.create_components(providers_names)
File "/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py", line 614, in create_components
component = self.create_component(path)
File "/usr/lib/python2.5/site-packages/elisa/core/plugin_registry.py", line 472, in create_component
component.initialize()
File "/usr/lib/python2.5/site-packages/elisa/plugins/good/fspot/fspot_media.py", line 132, in initialize
version = db.get_version()
File "/usr/lib/python2.5/site-packages/elisa/plugins/good/fspot/fspot_media.py", line 56, in get_version
self._version = int(rows[0].data)
ValueError: invalid literal for int() with base 10: '16.3'
Il ne manque pas grand chose, si quelqu'un a une idée du problème ou sait comment désactiver ces plugins, je suis preneurMerci