Pagina 1 di 2

openshot 1.3.1

Inviato: lun 13 giu 2011, 14:21
da tornadomig

Codice: Seleziona tutto

  
root@darkstar:~# openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 1.3.1)
--------------------------------
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/share/openshot/classes/thumbnail.py", line 170, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

*** ERROR: MLT Python bindings failed to import ***

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: No module named mlt
----------------------------------------------------------------

------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: No module named openshot
----------------------------------------------------------------

OpenShot has failed to import some of the Python files or libraries 
required for our application to run.  Here are some trouble shooting
tips:

Tip 1) Check if MLT can be successfully imported in Python.  Run the 
 following commands, and see if any errors are displayed.  If you get 
 an error, you need to investigate the correct way to install MLT.
 NOTE:  Do not type the $ or >> characters in the examples below.

       $ python
       >> import mlt
       >> mlt.Factory().init()

Tip 2) If MLT is working from the first example, then the next tip is 
 to look at the above error messages very closely, and google for more 
 help.  It's likely the problem is already reported, and maybe there is
 a simple work-around.  Also, you can search for bugs or report a new
 bug at https://bugs.launchpad.net/openshot.  Good luck!

root@darkstar:~# python
Python 2.6.6 (r266:84292, Nov 27 2010, 17:27:14) 
[GCC 4.5.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named mlt
>>> mlt.Factory ().init()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'mlt' is not defined
>>> 
ciao a tutti! sono bloccato qui sull'installazione di openshot.
dove ho sbagliato? solito problema di dipendenze ? eppure ho usato solo il repo di slacky. ho usato sempre gli slackbuilds eccetto 4 o 5 pacchetti dove ho preso diretamente i .txz perché non compilavano.
sono su current 64, 2.6.38-7.


grazie ancora

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 14:24
da Ansa89
1) Impara a usare i tag del forum.
2) Devi installare il modulo "mlt" per python.

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 15:21
da tornadomig
ls -a /var/log/packages | grep mlt
mlt-0.7.2-x86_64-1sl

ah! scusa ma adesso sono un pò sul cotto andante. ho cercato un pochino con google ma non trovo questo modulo mlt-python se è così che si chiama.
come si potrebbe fare?

abbi pazienza,grazie!

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 15:40
da tornadomig
ls -a /var/log/packages | grep python
compizconfig-python-0.8.4-x86_64-3_SBo_ngl
dbus-python-0.83.1-x86_64-1
notify-python-0.1.1-x86_64-1
python-2.6.6-x86_64-1


questo è tutto quello che ho di python installato.
non capisco quale sia mlt per python...

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 17:00
da gohanz
tornadomig ha scritto:ls -a /var/log/packages | grep python
compizconfig-python-0.8.4-x86_64-3_SBo_ngl
dbus-python-0.83.1-x86_64-1
notify-python-0.1.1-x86_64-1
python-2.6.6-x86_64-1


questo è tutto quello che ho di python installato.
non capisco quale sia mlt per python...
I bindings Python per Mlt fanno parte del pacchetto Mlt stesso. Vedo però che il pacchetto i686 li contiene, mentre il pacchetto x86_64 è senza. Dovresti ricompilare il pacchetto x86_64, abilitando i bindings python, segnalando la cosa anche su pkgreports.

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 18:03
da tornadomig
# sh mlt.SlackBuild
--2011-06-13 17:55:45-- http://sourceforge.net/projects/mlt/fil ... 7.2.tar.gz
Risoluzione di sourceforge.net (sourceforge.net)... 216.34.181.60
Connessione a sourceforge.net (sourceforge.net)|216.34.181.60|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: non specificato [text/html]
Salvataggio in: "mlt-0.7.2.tar.gz"

[ <=> ] 415 --.-K/s in 0s

2011-06-13 17:55:45 (77,5 MB/s) - "mlt-0.7.2.tar.gz" salvato [415]

tar: Questo non sembra un archivio tar

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now


grazie dell'aiuto!!!
questo è il responso quando cerco di ricompilare mlt con lo slackbuild. stessa cosa con il repo di slacky che con quello di slack.isper.sk. non riuscendo a compilare ho installato il pacchetto .txz.
sarebbe giusto? che ti devo dire...non so come devo abilitare questi bindings che ignoro cosa siano 8-)

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 18:05
da Blallo
mlt l'ho fatto io e l'ho già ricompilato aggiungendo i bindings python e Ruby.
Bisogna solo aspettare che Loris aggiorni il repo :)
EDIT: se non puoi aspettare, eccoti lo SB modificato

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 18:10
da tornadomig
in pratica si tratta di aspettare e poi riprovare a ricompilare, giusto? incrociando le dita 8-)

Re: openshot 1.3.1

Inviato: lun 13 giu 2011, 18:13
da tornadomig
@jimmy_page_89: grazie per l'allegato ma ignorando come utilizzarlo (spero di non aver bestemmiato, chiedo venia), lascio stare 8-)

Re: openshot 1.3.1

Inviato: mar 14 giu 2011, 15:31
da lablinux
Lo devi installare, ti ha fornito il pacchetto.
Prima rimuovi il pacchetto mlt con

Codice: Seleziona tutto

pkgtool 
vai su Remove e selezioni mlt
Poi installi quello che ti ha passato jimmy_page_89

Codice: Seleziona tutto

installpkg mlt.tar.gz
che, come ti ha già detto jimmy_page_89, diventerà il pacchetto ufficiale in slacky quando Loris darà l'ok

P.S. magari questo può esserti utile http://www.slackware.com/config/packages.php

Ciao Michele

Re: openshot 1.3.1

Inviato: mar 14 giu 2011, 17:28
da tornadomig
oh grazie

completo l'opera poi faccio sapere se mettere "risolto"

Re: openshot 1.3.1

Inviato: mar 14 giu 2011, 22:02
da 414N
lablinux ha scritto:Lo devi installare, ti ha fornito il pacchetto.
:-k
Veramente, a me quello sembra solo un archivio contenente lo SlackBuild...

Re: openshot 1.3.1

Inviato: gio 7 lug 2011, 19:41
da tornadomig

Codice: Seleziona tutto

giorgio@darkstar:~$ ls -a /var/log/packages | grep mlt
mlt-0.7.2-x86_64-3sl
ciao a tutti,
ho provato di tutto...ho trovato anche dipendenze che non avevo incluso tra l'altro. il pacchetto di jimmy_page l'ho installato. qualche volta ho visto aprirsi la finestra di openshot ma mi compare questo:

Codice: Seleziona tutto

giorgio@darkstar:~$ openshot
Added /usr/share/openshot to system path
--------------------------------
   OpenShot (version 1.3.1)
--------------------------------
Process no longer exists: 9600.  Creating new pid lock file.
Failed to import VimeoClient.  Removed Vimeo from upload screen, to allow OpenShot to continue working.
No formats or codecs were found.  Please check the OpenShot preferences and configure the 'melt' command name.
Errore di segmentazione
come potrei risolvere? grazie sempre della pazienza

Re: openshot 1.3.1

Inviato: ven 8 lug 2011, 12:19
da nyquist
Anche a me fa una cosa simile...
Lanciando openshot da linea di comando:

Codice: Seleziona tutto

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
   OpenShot (version 1.3.1)
--------------------------------
Process no longer exists: 14985.  Creating new pid lock file.
Failed to import VimeoClient.  Removed Vimeo from upload screen, to allow OpenShot to continue working.
Errore di segmentazione
A me non compare neppure l'interfaccia grafica...
N.B. Ho la seguente mlt: mlt-0.7.2-i686-1sl

Re: openshot 1.3.1

Inviato: ven 8 lug 2011, 14:55
da gohanz
Ho il sospetto che l'aggiornamento di FFmpeg alla 0.7.1 dia problemi a Mlt. Mlt è il motore sia di Openshot che di Kdenlive ad esempio.
Ora fino a FFmpeg 0.6.3 tutto funziona bene. Ora anche sul mio pc ci sono problemi. Tra l'altro la ricompilazione di Mlt con il nuovo FFmpeg 0.7.1 sembra non risolvere.