Thread: Re: [Vnc2swf-users] navigation bar (java script) with pause button
Status: Alpha
Brought to you by:
euske
From: Yusuke S. <yu...@cs...> - 2005-08-25 16:40:24
|
Ezequias, Please type the following and see what happens: $ python >>> import pygame If you get "ImportError: No module named pygame", that python does not recognize the module. It occurs when there're multiple python interpreters, and you happened to run the one which does not see the module. The solution would be either to delete another python, or tell them to use the alternative specifically. Perhaps you can do this as follows: $ python2.4 ./vnc2swf.py (I think I gave this advice to someone else recetnly... this should be on FAQ.) Yusuke Ezequias Rodrigues da Rocha <eze...@re...> wrote: > Both are installed. > > See below: > [ezequias@dc ~]$ rpm -q python > python-2.4.1-2 > [ezequias@dc ~]$ rpm -q pygame > pygame-1.6-1_2.rhfc1.at > [ezequias@dc ~]$ > |
From: Yusuke S. <yu...@cs...> - 2005-08-25 20:31:59
|
Aha! I got it. The pygame package you installed is for Python version 2.2. Unfortunately vnc2swf does not run on Python 2.2, so please install another pygame for the newer version of python. Yusuke Ezequias Rodrigues da Rocha <eze...@re...> wrote: > [ezequias@dc ~]$ rpm -ql python | head > /usr/bin/python > /usr/bin/python2 > /usr/bin/python2.4 > /usr/lib/libpython2.4.so > /usr/lib/libpython2.4.so.1.0 > /usr/lib/python2.4 > /usr/lib/python2.4/BaseHTTPServer.py > /usr/lib/python2.4/BaseHTTPServer.pyc > /usr/lib/python2.4/BaseHTTPServer.pyo > /usr/lib/python2.4/Bastion.py > [ezequias@dc ~]$ rpm -ql pygame | head > /usr/include/python2.2/pygame/font.h > /usr/include/python2.2/pygame/mixer.h > /usr/include/python2.2/pygame/pygame.h > /usr/lib/python2.2/site-packages/pygame/__init__.py > /usr/lib/python2.2/site-packages/pygame/__init__.pyc > /usr/lib/python2.2/site-packages/pygame/base.so > /usr/lib/python2.2/site-packages/pygame/cdrom.so > /usr/lib/python2.2/site-packages/pygame/color.py > /usr/lib/python2.2/site-packages/pygame/color.pyc > /usr/lib/python2.2/site-packages/pygame/colordict.py > [ezequias@dc ~]$ > > I think you are going to the correct point now. > |
From: MF <mag...@gm...> - 2005-08-24 20:44:46
|
Ezequias Rodrigues da Rocha wrote: > Here on fedora core 4 the erros is the same as new version. > > see below: > [root@dc pyvnc2swf-0.5]# ./vnc2swf.py > Either Pygame or Python Imaging Library is required. > [root@dc pyvnc2swf-0.5]# > > I would really like to know what is happening. > > Sincerely > Ezequias Well, it's pretty clear in the error message... > Either Pygame or Python Imaging Library is required. Did you read the docs ? The README.TXT says: Prerequisites: * Python-2.3 or newer (www.python.org) * Pygame-1.6 or newer (www.pygame.org) Check to see if you have those two installed. I think Python was already installed on my system as a dependency from OpenOffice.org for me. I use apt-get / synaptic under Ubuntu (which is Debian-based), for a guide to using synaptic under Fedora, see: http://tinyurl.com/8vs6y If you already have apt-get installed, simply use this from command line: sudo apt-get python pygame python-pygame I used keyword search in synaptic to verify /install the packages, but you can use command line too. Actually only Python was initially needed to create files in my case, PyGame was only needed to playback the files. Good luck, F. |
From: Yusuke S. <yu...@cs...> - 2005-08-25 19:51:13
|
What does this show? $ rpm -ql python | head $ rpm -ql pygame | head Yusuke Ezequias Rodrigues da Rocha <eze...@re...> wrote: > I try this too. See the resoults. > > [root@dc pyvnc2swf-0.6.4]# python > Python 2.4.1 (#1, May 16 2005, 15:19:29) > [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> import pygame > Traceback (most recent call last): > File "<stdin>", line 1, in ? > ImportError: No module named pygame > >>> > [root@dc pyvnc2swf-0.6.4]# ls > crippled_des.py image.pyc movie.pyc play.py swf.py > crippled_des.pyc LICENCE.TXT mp3.py README.txt swf.pyc > edit.py Makefile mp3.pyc rfb.py vnc2swf.py > image.py movie.py output.py rfb.pyc > [root@dc pyvnc2swf-0.6.4]# python2.4 ./vnc2swf.py > Either Pygame or Python Imaging Library is required. > [root@dc pyvnc2swf-0.6.4]# |
From: MF <mag...@gm...> - 2005-08-24 19:44:00
|
Michael Will wrote: >Hello, > >I like the bar for navigating in the swf. This small java script >from Jesse Ruderman ( http://www.squarefree.com/bookmarklets/ ) >is a big improvement in comfort. > >But is has a strange license: >(excerpt from http://www.squarefree.com/bookmarklets/copyright.html ) > > >>Relaxed restrictions on redistribution >> >> > > > >>You may modify and/or distribute up to three bookmarklets from this site >>in any way you want. You may not distribute more than three bookmarklets >>obtained from this site without my permission except as permitted by >>fair use laws. (Note that you may use as many of the bookmarklets as you >>want.) >> >> > >I like to give away CDs with vnc2swf generated SWFs. And I prefer to >say that all the software on this CD is GPL-software. > >So, does someone know an alternative for this nice piece of software? >Thanks in advance > Micha > > Hello, I would nicely explain to the author the purpose of your CD and ask if he would consider putting the flash bookmarlkets under GPL or under another similar licence, or perhaps just maaking an exception for your particular use. It specifically says "...without my permission..." ... have you asked for such permission ? :) Perhaps he'll simply say yes. About saying everyting is GPLed, I don't think that would be critical, since you're creating content in a format that is not free, after all... Cheers, Fabian |
From: Michael W. <mic...@gm...> - 2005-08-19 10:31:07
|
Hello, I like the bar for navigating in the swf. This small java script from Jesse Ruderman ( http://www.squarefree.com/bookmarklets/ ) is a big improvement in comfort. But is has a strange license: (excerpt from http://www.squarefree.com/bookmarklets/copyright.html ) >Relaxed restrictions on redistribution >You may modify and/or distribute up to three bookmarklets from this site >in any way you want. You may not distribute more than three bookmarklets >obtained from this site without my permission except as permitted by >fair use laws. (Note that you may use as many of the bookmarklets as you >want.) I like to give away CDs with vnc2swf generated SWFs. And I prefer to say that all the software on this CD is GPL-software. So, does someone know an alternative for this nice piece of software? Thanks in advance Micha |
From: Ezequias R. da R. <eze...@re...> - 2005-08-25 11:40:28
|
Both are installed. See below: [ezequias@dc ~]$ rpm -q python python-2.4.1-2 [ezequias@dc ~]$ rpm -q pygame pygame-1.6-1_2.rhfc1.at [ezequias@dc ~]$ MF wrote: >Ezequias Rodrigues da Rocha wrote: > > >>Here on fedora core 4 the erros is the same as new version. >> >>see below: >>[root@dc pyvnc2swf-0.5]# ./vnc2swf.py >>Either Pygame or Python Imaging Library is required. >>[root@dc pyvnc2swf-0.5]# >> >>I would really like to know what is happening. >> >>Sincerely >>Ezequias >> >> > >Well, it's pretty clear in the error message... > > >>Either Pygame or Python Imaging Library is required. >> >> > >Did you read the docs ? The README.TXT says: > >Prerequisites: > * Python-2.3 or newer (www.python.org) > * Pygame-1.6 or newer (www.pygame.org) > >Check to see if you have those two installed. I think Python was already >installed on my system as a dependency from OpenOffice.org for me. I use >apt-get / synaptic under Ubuntu (which is Debian-based), for a guide to >using synaptic under Fedora, see: > >http://tinyurl.com/8vs6y > >If you already have apt-get installed, simply use this from command line: > >sudo apt-get python pygame python-pygame > >I used keyword search in synaptic to verify /install the packages, but >you can use command line too. > >Actually only Python was initially needed to create files in my case, >PyGame was only needed to playback the files. > >Good luck, > >F. > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Vnc2swf-users mailing list >Vnc...@li... >https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > > |
From: Ezequias R. da R. <eze...@re...> - 2005-08-24 19:50:53
|
Here on fedora core 4 the erros is the same as new version. see below: [root@dc pyvnc2swf-0.5]# ./vnc2swf.py Either Pygame or Python Imaging Library is required. [root@dc pyvnc2swf-0.5]# I would really like to know what is happening. Sincerely Ezequias MF wrote: >Michael Will wrote: > > > >>Hello, >> >>I like the bar for navigating in the swf. This small java script >> >> >>from Jesse Ruderman ( http://www.squarefree.com/bookmarklets/ ) > > >>is a big improvement in comfort. >> >>But is has a strange license: >>(excerpt from http://www.squarefree.com/bookmarklets/copyright.html ) >> >> >> >> >>>Relaxed restrictions on redistribution >>> >>> >>> >>> >> >> >> >> >>>You may modify and/or distribute up to three bookmarklets from this site >>>in any way you want. You may not distribute more than three bookmarklets >>>obtained from this site without my permission except as permitted by >>>fair use laws. (Note that you may use as many of the bookmarklets as you >>>want.) >>> >>> >>> >>> >>I like to give away CDs with vnc2swf generated SWFs. And I prefer to >>say that all the software on this CD is GPL-software. >> >>So, does someone know an alternative for this nice piece of software? >>Thanks in advance >>Micha >> >> >> >> >Hello, > >I would nicely explain to the author the purpose of your CD and ask if >he would consider putting the flash bookmarlkets under GPL or under >another similar licence, or perhaps just maaking an exception for your >particular use. It specifically says "...without my permission..." ... >have you asked for such permission ? :) Perhaps he'll simply say yes. >About saying everyting is GPLed, I don't think that would be critical, >since you're creating content in a format that is not free, after all... > >Cheers, > >Fabian > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Vnc2swf-users mailing list >Vnc...@li... >https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > > |
From: Ezequias R. da R. <eze...@re...> - 2005-08-25 19:59:47
|
[ezequias@dc ~]$ rpm -ql python | head /usr/bin/python /usr/bin/python2 /usr/bin/python2.4 /usr/lib/libpython2.4.so /usr/lib/libpython2.4.so.1.0 /usr/lib/python2.4 /usr/lib/python2.4/BaseHTTPServer.py /usr/lib/python2.4/BaseHTTPServer.pyc /usr/lib/python2.4/BaseHTTPServer.pyo /usr/lib/python2.4/Bastion.py [ezequias@dc ~]$ rpm -ql pygame | head /usr/include/python2.2/pygame/font.h /usr/include/python2.2/pygame/mixer.h /usr/include/python2.2/pygame/pygame.h /usr/lib/python2.2/site-packages/pygame/__init__.py /usr/lib/python2.2/site-packages/pygame/__init__.pyc /usr/lib/python2.2/site-packages/pygame/base.so /usr/lib/python2.2/site-packages/pygame/cdrom.so /usr/lib/python2.2/site-packages/pygame/color.py /usr/lib/python2.2/site-packages/pygame/color.pyc /usr/lib/python2.2/site-packages/pygame/colordict.py [ezequias@dc ~]$ I think you are going to the correct point now. Yusuke Shinyama wrote: >What does this show? > > $ rpm -ql python | head > $ rpm -ql pygame | head > >Yusuke > >Ezequias Rodrigues da Rocha <eze...@re...> wrote: > > >>I try this too. See the resoults. >> >>[root@dc pyvnc2swf-0.6.4]# python >>Python 2.4.1 (#1, May 16 2005, 15:19:29) >>[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2 >>Type "help", "copyright", "credits" or "license" for more information. >> >>> import pygame >>Traceback (most recent call last): >> File "<stdin>", line 1, in ? >>ImportError: No module named pygame >> >>> >>[root@dc pyvnc2swf-0.6.4]# ls >>crippled_des.py image.pyc movie.pyc play.py swf.py >>crippled_des.pyc LICENCE.TXT mp3.py README.txt swf.pyc >>edit.py Makefile mp3.pyc rfb.py vnc2swf.py >>image.py movie.py output.py rfb.pyc >>[root@dc pyvnc2swf-0.6.4]# python2.4 ./vnc2swf.py >>Either Pygame or Python Imaging Library is required. >>[root@dc pyvnc2swf-0.6.4]# >> >> > > > |
From: Ezequias R. da R. <eze...@re...> - 2005-08-25 19:34:38
|
I try this too. See the resoults. [root@dc pyvnc2swf-0.6.4]# python Python 2.4.1 (#1, May 16 2005, 15:19:29) [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygame Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named pygame >>> [root@dc pyvnc2swf-0.6.4]# ls crippled_des.py image.pyc movie.pyc play.py swf.py crippled_des.pyc LICENCE.TXT mp3.py README.txt swf.pyc edit.py Makefile mp3.pyc rfb.py vnc2swf.py image.py movie.py output.py rfb.pyc [root@dc pyvnc2swf-0.6.4]# python2.4 ./vnc2swf.py Either Pygame or Python Imaging Library is required. [root@dc pyvnc2swf-0.6.4]# Yusuke Shinyama wrote: >Ezequias, > >Please type the following and see what happens: > > $ python > >>> import pygame > >If you get "ImportError: No module named pygame", that python does >not recognize the module. It occurs when there're multiple python >interpreters, and you happened to run the one which does not see >the module. The solution would be either to delete another >python, or tell them to use the alternative specifically. > >Perhaps you can do this as follows: > > $ python2.4 ./vnc2swf.py > >(I think I gave this advice to someone else recetnly... this should be on FAQ.) > >Yusuke > >Ezequias Rodrigues da Rocha <eze...@re...> wrote: > > >>Both are installed. >> >>See below: >>[ezequias@dc ~]$ rpm -q python >>python-2.4.1-2 >>[ezequias@dc ~]$ rpm -q pygame >>pygame-1.6-1_2.rhfc1.at >>[ezequias@dc ~]$ >> >> >> > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Vnc2swf-users mailing list >Vnc...@li... >https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > > |
From: Yusuke S. <yu...@cs...> - 2005-08-26 15:22:53
|
Ezequias Rodrigues da Rocha <eze...@re...> wrote: > Yusuke, > > Are you planning to make an attachment function that you could put some > subtitles ? Yes, hopefully...in some other time... But I cannot say when it happens, because this is my spare time job, okay? :) > Are you planning to put a progress bar on the shockwave flash file ? > > The second question I think is possible to do increasing the html file. > Is it correct ? Here's a good news. Today I received a reply from Jesse Ruderman, the author of flashSeekbar.js, who says I may be redistribute the javascript code under GPL. So I will include this starting from the next release. Yusuke |
From: Ezequias R. da R. <eze...@re...> - 2005-08-26 15:31:39
|
Very nice to know that. I will wait for it anxiously. Sincerely Ezequias Yusuke Shinyama wrote: >Ezequias Rodrigues da Rocha <eze...@re...> wrote: > > >>Yusuke, >> >>Are you planning to make an attachment function that you could put some >>subtitles ? >> >> > >Yes, hopefully...in some other time... >But I cannot say when it happens, because this is my spare time job, okay? :) > > > >>Are you planning to put a progress bar on the shockwave flash file ? >> >>The second question I think is possible to do increasing the html file. >>Is it correct ? >> >> > >Here's a good news. Today I received a reply from Jesse Ruderman, >the author of flashSeekbar.js, who says I may be redistribute the >javascript code under GPL. So I will include this starting from the >next release. > >Yusuke > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Vnc2swf-users mailing list >Vnc...@li... >https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > > |
From: Michael W. <mic...@gm...> - 2005-08-26 20:56:20
|
> But I cannot say when it happens, because this is my spare time job, okay? :) Did you already thought about a paypal or a money bookers account? > Here's a good news. Today I received a reply from Jesse Ruderman, > the author of flashSeekbar.js, who says I may be redistribute the > javascript code under GPL. So I will include this starting from the > next release. > Great, thank you for asking him. I also planed to ask him. Michael -- The answer is 42. |