You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links
Palabre on Facebook






Actionscript for Multiplayer games
 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


::post new topic::
Critical error on FreeBSD - 2006/08/18 04:19 Hello, All!

First, thanx for really good project! ;)

Second... I can run it only in QuickStart mode... Then I install it (python setup.py install), it installed normally, but then I run it (palabre start), it show me an error:
"Fatal error 'mutex is on list' at line 540"
I work on FreeBSD, and I'm not a profy on it...

Could You help me, or just say, where can I find info... (I'm searched Google many times, but can't find anything)

Thanx! ;)
  reply | quote
Re:Critical error on FreeBSD - 2006/08/21 04:33 Hello again ;)

I'm found an instruction, that raise this error... It's:
threading.Thread.start(self)
in palabreDaemon.py file...

And I don't know what to do next... Under Windows all fine, but FreeBSD rise this error...

Any ideas?...

Thanx ;)
  reply | quote
Re:Critical error on FreeBSD - 2006/08/21 09:26 Hi !

I have no idea for this problem, and no BSD system to test :(

But if Palabre starts ok in quickqstart mode, and based on the error message you post here, it a threading problem .. maybe python BSD handles threads differently ... or there's a missing dependency .... can't tell

But with version 0.4.99 (really soon version 0.5) you can use the Quickstarter with the following startup script (sent by Norbert there : http://palabre.gavroche.net/component/option,com_simpleboard/Itemid,35/func,view/id,17/catid,1/ ) and it sould be ok :

just configure : /PATH/TO/PALABRE/

Code:

  #!/usr/bin/bash # stop (){   #First we want to kill the original servers, so we don't get errors.   echo "Killing old palabre server."   for oldpid in `ps a | grep QuickStarter.py | cut -c 1-7`; do       kill $oldpid       if [[ $== "-v" ]]       then           echo 'Killed: '$oldpid       fi   done   rm -/var/run/palabre.pid } start (){   #Now we can start the servers up.   if [[ $== "-v" ]]        then           echo "Starting up the new Palabre server..."       fi              sudo nohup python  /PATH/TO/PALABRE/QuickStarter.py &          #Create the pid file...   ps a grep QuickStarter.py cut -c 1-> /var/run/palabre.pid   #Done now! } case "$1" in   start)         if [[ ! -/var/run/palabre.pid ]]   then     start $2          if [[ -/var/run/palabre.pid ]]      then                 echo "Startup                         [SUCCESS]"     fi        else     if [[ $== "-v" ]]     then         echo "Palabre is already running these processes:"         #Toldja! Checks before displaying pid file.         if [[ -/var/run/palabre.pid ]]         then             cat /var/run/palabre.pid         fi         echo "Try calling palabrectl restart in order to kill old processes."     else         echo "palabre is already running. Try calling palabrectl restart."     fi     echo "Startup                         [FAILED]"   fi     ;;   restart)       stop $2       if [[ $== "-v" ]]         then             echo "Waiting for the old servers to die..."         fi     sleep 4     start $2     if [[ -/var/run/palabre.pid ]]      then                 echo "Startup                         [SUCCESS]"     fi     ;;   stop)   if [[ -/var/run/palabre.pid ]];   then     stop $2     echo "Palabre shutdown                     [SUCCESS]"   else       echo "There are no registered palabre servers running right now. Attempting to kill anyways."     stop $2   fi       ;;   *)   echo "Usage: palabrectl (start|stop|restart) [-v]" esac




Haven't tested it ... tell me if there's any error ...

Thx !
Célio
  reply | quote
Re:Critical error on FreeBSD - 2006/08/22 07:18 2Célio:
First, thank You very much for Your answer!

Second, I'm too think, that this is the problem of the FreeBSD or Python under FreeBSD, and I sorry, for asking You about this... But I'm don't know anyone, who now Python (I'm learn it myself)... I'm not bad programmer under Windows and in Web-development, not under FreeBSD =)))

Third, sorry for my bad english =)))

I'm just receive Your answer, and will try it, of course. Anyway, I'll test it and post in this forum any result and any solve of the problem, if I'll solve it (I must do it =)))))

One more time, big thanx and respect for Your work!!! ;)

Cheers, Vladimir...
  reply | quote
Re:Critical error on FreeBSD - 2006/08/24 21:32 Oh...

As I promise, tell about solve of the problem...

But... I don't solve it, just come up thru backdoor ;) I don't want do it, but, I think, I'll use other server (or will write someone myself - we'll see)...

So... I can't run Palabre with code, You show me, but I run it simply with:
nohup python QuickStarter.py

All work fine, but I'm already start searching of another way or another program... May be 'Red5' (but i'll have BIG problems with Java on FreeBSD), may be, I'll rewrite 'Jabber' for my needs... Don't know...

Anyway, Célio, THANX a lot for Your work and for Your programm... It's Python under FreeBSD (or my "bad" hands ;) problem, not Your...

One more THANX!!! =)))

Good luck!

Cheers, Vladimir.
  reply | quote
::post new topic::
SORRY, website is currently mostly broken due to software changes on the server.
Hope to fix it soon ...

In the meantime you may still download palabre or use the forum