Announcement: PapagayoMOD v1.3.5 (XSheet, Image export, etc)
Moderators: Víctor Paredes, slowtiger
I am using Linux and trying to install the source version.
1. I copied the _lm.so from the original package.
2. I tried the python setup.py and python setup_mac.py commands, but it said: No module named distutils.core. I don't know how to install this module of Python.
3. I tried to run Papagayo directly with python papagayo.py, but it said the pyExcelerator module is also missing.
What is the solution? I downloaded the pyExcelerator rpm, but installing it, I need distutils.core as well. Is it required to build python from source to have this package? Now I'm trying to remove the excel exporting from the program to be able to run it.
OK. It is working if I remove the functionality of savetoexcel.py. But I have an error in Lipsyncframe.py :
I removed the badly behaving command and the program seems working, but there is no lipsync animation. The xsheet view looks strange (if I scroll it, some rows remaining gray, but others are white - maybe this is a problem of wxGTK) and reports this if I click on it:
1. I copied the _lm.so from the original package.
2. I tried the python setup.py and python setup_mac.py commands, but it said: No module named distutils.core. I don't know how to install this module of Python.
3. I tried to run Papagayo directly with python papagayo.py, but it said the pyExcelerator module is also missing.
What is the solution? I downloaded the pyExcelerator rpm, but installing it, I need distutils.core as well. Is it required to build python from source to have this package? Now I'm trying to remove the excel exporting from the program to be able to run it.
OK. It is working if I remove the functionality of savetoexcel.py. But I have an error in Lipsyncframe.py :
Code: Select all
Traceback (most recent call last):
File "papagayo.py", line 37, in ?
papagayo = LipsyncApp(0)
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7473, in __init__
self._BootstrapApp()
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7125, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "papagayo.py", line 29, in OnInit
self.mainFrame = LipsyncFrame(None, -1, "")
File "/home/fazekas/papaga/LipsyncFrame.py", line 352, in __init__
self.mouthView.mouths[self.mouthView.currentMouth])
KeyError: u''
Code: Select all
Traceback (most recent call last):
File "/home/fazekas/papaga/xsheet.py", line 209, in OnItemDelete
self.waveform.DeleteCurrentPhoneme()
File "/home/fazekas/papaga/WaveformView.py", line 379, in DeleteCurrentPhoneme
generateAppenUndoEvent(self, undo_delete)
File "/home/fazekas/papaga/LipsyncDoc.py", line 89, in generateAppenUndoEvent
evt.SetClientObject(undo)
AttributeError: 'PyCommandEvent' object has no attribute 'SetClientObject'
- - - Fazek
To remove the "Excel export" module, do the following:
In the 'LipsyncFrame.py' file
comment line 37 "from savetoexcel import *"
and after line 689 "def OnSaveExcel(self, event = None):"
add the line "return" (make sure it is indented with 2 tabs)
in case you accidently choose the "Export Excell.." from the menu
That should do it
In the 'LipsyncFrame.py' file
comment line 37 "from savetoexcel import *"
and after line 689 "def OnSaveExcel(self, event = None):"
add the line "return" (make sure it is indented with 2 tabs)
in case you accidently choose the "Export Excell.." from the menu
That should do it
Hi nassosy,
interesting work. I particularly like your "When loading an audio file, it automatically loads the text file (.txt) with the same name" feature.
Just a warning that my language breakdown modules were created and tested using the Unicode version of wxPython, and in some cases may rely on it (for some character accent/diacritic marks, Cyrillic letters, etc).
Regards, Myles.
interesting work. I particularly like your "When loading an audio file, it automatically loads the text file (.txt) with the same name" feature.
Just a warning that my language breakdown modules were created and tested using the Unicode version of wxPython, and in some cases may rely on it (for some character accent/diacritic marks, Cyrillic letters, etc).
Regards, Myles.
"Quote me as saying I was mis-quoted."
-- Groucho Marx
-- Groucho Marx
I downloaded the 1.3.3 source and the mouth viewing is working now! In my quick test, a problem remained in the mouseup finction so I can't release the dragged phoneme:
Thank you for this improved software!
Code: Select all
Traceback (most recent call last):
File "/home/fazekas/papaga/WaveformView.py", line 573, in OnMouseUp
generateAppenUndoEvent(self, self.preUndo)
File "/home/fazekas/papaga/LipsyncDoc.py", line 90, in generateAppenUndoEvent
evt.SetClientData(undo)
AttributeError: 'PyCommandEvent' object has no attribute 'SetClientData'
- - - Fazek
Just an idea: I really hate in the original version that if I change the size of the original text or the words, it completely changes my previous settings on the phonemes. I think it is not a good idea to scale all of the underlying things if the user changes the size of the text. It is good until a word or phoneme remains in the default position. But if the user placed it into a 'surely good' position, it must remain there! Maybe the program could remember (and view in a different color) if a key has moved. And with an unlock option...
But this is just my opinion and your program is working very well without it. Thank you again!
But this is just my opinion and your program is working very well without it. Thank you again!
- - - Fazek
That's much better! I really like it! The 'Scale on drag' option is exactly what I wanted!
The phoneme drag'n'drop is not important for me. It is not working at all and totally confuses the displaying of the texts. Somehow the playing buttons of the original Papagayo are also missing. But I don't want to ask always, so I will see what I can do with this program (I have to learn some Python first). I have an idea to make a local dictionary database to remember the already entered breakdowns. For example if the text is "My name is Fazek" and the next "Hello, Fazek" and "Fazek" appears many times in the text, you have to enter its breakdown again and again because the program cannot translate it into phonemes.
The phoneme drag'n'drop is not important for me. It is not working at all and totally confuses the displaying of the texts. Somehow the playing buttons of the original Papagayo are also missing. But I don't want to ask always, so I will see what I can do with this program (I have to learn some Python first). I have an idea to make a local dictionary database to remember the already entered breakdowns. For example if the text is "My name is Fazek" and the next "Hello, Fazek" and "Fazek" appears many times in the text, you have to enter its breakdown again and again because the program cannot translate it into phonemes.
- - - Fazek
What OS are you using (linux?)The phoneme drag'n'drop is not important for me. It is not working at all and totally confuses the displaying of the texts.
What version of the pMOD have you installed (source or binary)?
And could you please post the error log, if any.
Try restarting the program, I don't know why this happens but i stambled upon it once and it was fixed after I restarted it.Somehow the playing buttons of the original Papagayo are also missing.
SuSE Linux 10.0, gnome wm
Python 2.4.1
I am using papagayoMOD 1.3.4 src.rar
The play buttons were hidden because I forgot to copy the rsrc subdirectory from the original papagayo (the icon pngs are there.). I am not using unrar so much and I invoked it with "unrar e" instead of "unrar x". So it uncompressed everything into a single directory. But now it seems it's OK.
Before drag'n'drop the display looks like this:

And after:

Python 2.4.1
I am using papagayoMOD 1.3.4 src.rar
The play buttons were hidden because I forgot to copy the rsrc subdirectory from the original papagayo (the icon pngs are there.). I am not using unrar so much and I invoked it with "unrar e" instead of "unrar x". So it uncompressed everything into a single directory. But now it seems it's OK.
Before drag'n'drop the display looks like this:

And after:

Last edited by Fazek on Mon Sep 18, 2006 12:03 pm, edited 2 times in total.
- - - Fazek
From what i have seen in the drag-n-drop module there areSuSE Linux 10.0, gnome wm
Python 2.4.1
I am using papagayoMOD 1.3.4 src.rar
some object methods that have not been implemented in
the linux release of wxPython, even though they are
documented as if they are.
In the 1.3.4 version of pMOD I used custom attributes to go around this,
and it surpises me that it still doesn't work
(even though it works fine under windows)
Could you please post the error log.
I do not have linux, so if you help me fix this
I will add that local dictionary feature you want.
Thanks.