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




 
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::
Modules not loading - 2008/03/07 22:51 Hi,

I'm just starting to evaluate Palabre, but I'm having some issues getting it running on my server.

The install seemed to go fine:

Code:

  [root@someserver palabre-src-0.6b]# python setup.py install running install running build running build_py running build_scripts creating build/scripts-2.4 copying and adjusting scripts/palabre -> build/scripts-2.4 copying setup.py -> build/scripts-2.4 changing mode of build/scripts-2.4/palabre from 644 to 755 running install_lib creating /usr/local/lib/python2.4/site-packages/modules copying build/lib/modules/helloworld.py -> /usr/local/lib/python2.4/site-packages/modules copying build/lib/modules/__init__.py -> /usr/local/lib/python2.4/site-packages/modules copying build/lib/modules/simpleLogin.py -> /usr/local/lib/python2.4/site-packages/modules copying build/lib/modules/dbQueries.py -> /usr/local/lib/python2.4/site-packages/modules creating /usr/local/lib/python2.4/site-packages/palabre copying build/lib/palabre/__init__.py -> /usr/local/lib/python2.4/site-packages/palabre copying build/lib/palabre/palabreDaemon.py -> /usr/local/lib/python2.4/site-packages/palabre copying build/lib/palabre/palabreServer.py -> /usr/local/lib/python2.4/site-packages/palabre copying build/lib/palabre/palabreClient.py -> /usr/local/lib/python2.4/site-packages/palabre copying build/lib/palabre/palabreRoom.py -> /usr/local/lib/python2.4/site-packages/palabre byte-compiling /usr/local/lib/python2.4/site-packages/modules/helloworld.py to helloworld.pyc byte-compiling /usr/local/lib/python2.4/site-packages/modules/__init__.py to __init__.pyc byte-compiling /usr/local/lib/python2.4/site-packages/modules/simpleLogin.py to simpleLogin.pyc byte-compiling /usr/local/lib/python2.4/site-packages/modules/dbQueries.py to dbQueries.pyc byte-compiling /usr/local/lib/python2.4/site-packages/palabre/__init__.py to __init__.pyc byte-compiling /usr/local/lib/python2.4/site-packages/palabre/palabreDaemon.py to palabreDaemon.pyc byte-compiling /usr/local/lib/python2.4/site-packages/palabre/palabreServer.py to palabreServer.pyc byte-compiling /usr/local/lib/python2.4/site-packages/palabre/palabreClient.py to palabreClient.pyc byte-compiling /usr/local/lib/python2.4/site-packages/palabre/palabreRoom.py to palabreRoom.pyc running install_scripts copying build/scripts-2.4/setup.py -> /usr/local/bin copying build/scripts-2.4/palabre -> /usr/local/bin changing mode of /usr/local/bin/setup.py to 777 changing mode of /usr/local/bin/palabre to 755 running install_data copying Palabre.py -> /usr/local/ creating /usr/local/doc copying doc/README.txt -> /usr/local/doc copying AUTHORS -> /usr/local/./ copying COPYING -> /usr/local/./ copying MANIFEST -> /usr/local/./ copying MANIFEST.in -> /usr/local/./ copying PKG-INFO -> /usr/local/./



But when I run it, none of the modules load:

Code:

 [root@someserver /]# palabre start 2008-03-07 17:41:08,618 INFO     No log file has been specified 2008-03-07 17:41:08,618 INFO     Palabre will only print log to console 2008-03-07 17:41:08,646 INFO     Starting Palabre... 2008-03-07 17:41:08,655 INFO     Running on: (some ip address) 2008-03-07 17:41:08,656 INFO     Port2468 2008-03-07 17:41:08,657 INFO     Palabre is running on a public interface 2008-03-07 17:41:08,658 INFO     Other computers will be able to access it 2008-03-07 17:41:08,659 INFO     3 Module(sto load 2008-03-07 17:41:08,660 ERROR    ERROR No module named dbQueries 2008-03-07 17:41:08,661 ERROR    Module dbQueries  Failed to load 2008-03-07 17:41:08,662 ERROR    ERROR No module named helloworld 2008-03-07 17:41:08,666 ERROR    Module helloworld  Failed to load 2008-03-07 17:41:08,667 ERROR    ERROR No module named simpleLogin 2008-03-07 17:41:08,667 ERROR    Module simpleLogin  Failed to load 2008-03-07 17:41:08,668 INFO     0 Module(sloaded 2008-03-07 17:41:08,668 INFO     Connection to BDD      SKIPPED [root@someserver /]# 2008-03-07 17:41:09,654 : INFO     ...started with pid: 1929.



Is there some manual copying I need to do to get this working?

Thanks for your time, and the cool software!
  reply | quote
Re:Modules not loading - 2008/03/07 23:30 Sorry forgot to include:

Running on a dedicated VPS

Python 2.4.3 (#1, Feb 7 2008, 10:30:15)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-9)] on linux2

The server is running CentOS (unbranded Red Hat, IIRC)
  reply | quote
Re:Modules not loading - 2008/03/10 10:17 Hi

The version with modules is currently BETA and the installer isn't "really" ready yet :)

Try running Palabre from the folder where you extrated it.

Code:

  # cd palabre-0.6b (or whatever folder you choose) # python Palabre.py



Have fun,
Célio Conort
Lonesome Palabre developper
  reply | quote
Re:Modules not loading - 2008/05/05 01:22 hi,

having the same problem. I can confirm that running Palabre by

Code:

 # python Palabre.py



Fixes the module loading problem, however I can't seem to get it to run as a daemon, even though it's configured to do so in palabre.conf

Code:

 startdaemon true



Thus when I SSH to my machine, I can only run Palabre (with my modules) as a logged in user.

Any clues to either:

a) load my modules via the palabre command
or
b) load my modules via the python command as a daemon

?
  reply | quote
Re:Modules not loading - 2008/05/05 01:26 Actually, Googling a little more helped me out... so for future reference:

Code:

 [root@server palabre-src-0.6b]# python Palabre.py &



"&" at the end puts her in the background. Joy!
  reply | quote
Re:Modules not loading - 2008/05/05 05:00 Nice one, Karl!
  reply | quote
Re:Modules not loading - 2008/05/07 19:37 I tried this:

Code:

 [root@server palabre-src-0.6b]# python Palabre.py &



And it works as advertised, but using it, I find that the command:

Code:

 Palabre stop



gives this error:

Code:

 [root@server]# palabre stop 2008-05-07 15:26:55,908 INFO     No log file has been specified 2008-05-07 15:26:55,909 INFO     Palabre will only print log to console 2008-05-07 15:26:55,991 INFO     Stopping Palabre... Could not stopPalabre is not running (pid file '/var/run/palabre.pid' is missing).



For development, I think running it without the "&" is better workflow, as you can always kill palabre with CTRL-C.

I've been stopping and restarting the server *a lot* these past few days, testing new module code, and CTRL-C is a huge timesaver.

My $0.02
-Sean
  reply | quote
::post new topic::