Announcement: PapagayoMOD v1.3.5 (XSheet, Image export, etc)

Discuss Papagayo issues here

Moderators: Víctor Paredes, slowtiger

nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

So that you will actually have to read their webpage
(i.e. the commercials they have on it)
in order to find they link
That is why it is free.
User avatar
Fazek
Posts: 246
Joined: Thu Apr 13, 2006 1:37 pm
Location: Hungary
Contact:

Post by Fazek »

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 :

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''
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:

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
nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

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
User avatar
Fazek
Posts: 246
Joined: Thu Apr 13, 2006 1:37 pm
Location: Hungary
Contact:

Post by Fazek »

Thank you. I never programmed in python before so the best I can do to comment out things...
- - - Fazek
nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

There must be some incompatibillity with wxGTK.
I will try to fix it.
nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

BTW PapagayoMOD was written and tested using the ANSI version
of wxPython.
Fazek from what i see you have installed the Unicode version
nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

Fazek download the new 1.3.2 source
and tell me if that works.

You will not have to edit anything since it now has automatic package detection.
If you don't have pyExcelerator it will detect it.
myles
Posts: 821
Joined: Sat Aug 21, 2004 3:32 am
Location: Australia, Victoria, Morwell
Contact:

Post by myles »

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.
"Quote me as saying I was mis-quoted."
-- Groucho Marx
User avatar
Fazek
Posts: 246
Joined: Thu Apr 13, 2006 1:37 pm
Location: Hungary
Contact:

Post by Fazek »

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:

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'
Thank you for this improved software!
- - - Fazek
User avatar
Fazek
Posts: 246
Joined: Thu Apr 13, 2006 1:37 pm
Location: Hungary
Contact:

Post by 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!
- - - Fazek
nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

Version 1.3.4 is out
Hopefully this fixes the drag'n'drop bug under Linux, let me know.
Fazek, I added 'Scale on drag' .
User avatar
Fazek
Posts: 246
Joined: Thu Apr 13, 2006 1:37 pm
Location: Hungary
Contact:

Post by 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.
- - - Fazek
nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

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 OS are you using (linux?)
What version of the pMOD have you installed (source or binary)?
And could you please post the error log, if any.
Somehow the playing buttons of the original Papagayo are also missing.
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.
User avatar
Fazek
Posts: 246
Joined: Thu Apr 13, 2006 1:37 pm
Location: Hungary
Contact:

Post by Fazek »

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:
Image
And after:
Image
Last edited by Fazek on Mon Sep 18, 2006 12:03 pm, edited 2 times in total.
- - - Fazek
nassosy
Posts: 59
Joined: Wed Sep 06, 2006 4:52 pm
Location: Greece

Post by nassosy »

SuSE Linux 10.0, gnome wm
Python 2.4.1

I am using papagayoMOD 1.3.4 src.rar
From what i have seen in the drag-n-drop module there are
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.
Post Reply