Mikael Syska schreef:
> Hi,
>
> On Mon, Mar 7, 2011 at 2:55 PM, Johan Hendriks
> <[email protected]>  wrote:
>> Andrew Colin Kissa schreef:
>>> Hi All,
>>>
>>> For those using 1.1.0 release candidate or Github code can you please
>>> provide some feedback on your experiences.
>>>
>>> Thanks in advance,
>>>
>>> Andrew
>>>
>>> --
>>> Baruwa - www.baruwa.org
>>>
>>> _______________________________________________
>>> Baruwa mailing list
>>> [email protected]
>>> http://lists.baruwa.org/mailman/listinfo/baruwa
>>>
>> Hello i started today and installed  baruwa 1.1.0-rc2 to test
>>
>> in the setup.py file there is something changed.
>> added is anyjson en django-celery
> Yes, correct.
>> I am on a FreeBSD machine, and can not find a port py-anyjson.
> Not true, anyjson is there.
> http://www.freshports.org/devel/py-anyjson/
Ok i found it, but i did not with make search in the port dir, could be 
the long day of hanging on the phone helping people with there outlook 
troubles and so on :D

Well i installed it.... thanks !

>> the jsons i have are
>> py26-cjson-1.05
>> py26-demjson-1.4
>> py26-geojson-1.0.1,1
>> py26-json-py-3.4
>> py26-jsonlib-1.3.10
>> py26-jsonlib2-1.5.1
>> py26-simplejson-2.09
>> py26-Turbojson-1.2.1
>>
>> also django-celery port i do not have.
> True, but can be installed by the setup script.
>
>> If i run #python setup.py install
>> All looks good it seems to install some stuf.
> Yes.
>> Some more questions.
>> in settings.py , i see the following.
>>
>> #celery
>> CELERY_CONCURRENCY = 20
>> CELERY_DISABLE_RATE_LIMITS = True
>> BROKER_HOST = "localhost"
>> BROKER_PORT = 5672
>> BROKER_USER = "baruwa"
>> BROKER_PASSWORD = "password"
>> BROKER_VHOST = "baruwa"
> I think the broker part is for the message queue system, when learning
> multiple mails ( sa-learn ) so you dont have to wait X seconds for it
> to finish.
i will look at this later.. first read the doc send to me.

>> I did leave them as is, but where is it for?
>>
>> then i did a
>> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/manage.py
>> syncdb
>> it gave me the following.
>> Creating table mailq
>> Creating table celery_taskmeta
>> Creating table celery_tasksetmeta
>> Creating table djcelery_intervalschedule
>> Creating table djcelery_crontabschedule
>> Creating table djcelery_periodictasks
>> Creating table djcelery_periodictask
>> Creating table djcelery_workerstate
>> Creating table djcelery_taskstate
>> Installing index for status.MailQueueItem model
>> Installing index for djcelery.PeriodicTask model
>> Installing index for djcelery.WorkerState model
>> Installing index for djcelery.TaskState model
>> No fixtures found.
>>
>> Create the softlinks
>> ln -s /usr/local/www/dojo/dojo
>> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/js/
>> ln -s /usr/local/www/dojo/dojox
>> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/js/
>> ln -s /usr/local/www/dojo/dijit
>> /usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/js
>>
>> I installed the ~/baruwa/extra/* files on the system.
>>
>> restarted apache
>>
>> All seems to work.
>>
>> So my main question is the celery part...
> Install from the setup.py file worked for me ... I'm also on FreeBSD.
> But I still have some problems getting the reports to work ... does
> these work for you ? Having a hard time resolving if all the
> dependencies are right ... but Andrew have a item on his "TOTO" list,
> with a small test script to make sure all dependencies are right and
> can be found.
>
> So we dont have to debug though the webinterface ... will be awesome.
It works for me.
I installed the anyjson port, then i got an server error.
So i did the python setup.py install routine again restarted apache and 
i get the report pages, without any error.

i have these python ports installed (beware, there is also gnome and KDE 
installed on this test machine.)

py26-Babel-0.9.5_1  A collection of tools for internationalizing Python 
applica
py26-GeoIP-1.2.4    Mapping of IP addresses/hostnames to country names 
in Pytho
py26-MarkupSafe-0.12 Implements a XML/HTML/XHTML Markup safe string for 
Python
py26-MySQLdb-1.2.3  Access a MySQL database through Python
py26-anyjson-0.2.3  JSON library wrapper for Python
py26-beaker-1.5.4   A Session and Caching library with WSGI Middleware
py26-cairo-1.8.10   Python bindings for Cairo
py26-chardet-2.0.1  Character encoding auto-detection in Python
py26-clutter-1.0.2_2 Python modules for Clutter toolkit
py26-cluttergtk-0.10.0 Python modules for Clutter-gtk toolkit
py26-cups-1.9.54    CUPS bindings for Python
py26-dbus-0.83.2    Python bindings for the D-BUS messaging system
py26-django-1.2.5   High-level Python Web framework
py26-elementtree-1.2.6_1 Container for hierarchical data structures 
written in Pytho
py26-game-1.8.1_6   A module designed to write games in Python
py26-gdata-2.0.13   GData Python Client Library
py26-gnome-2.28.1_2 A set of Python bindings for GNOME 2
py26-gnome-desktop-2.32.0_1 A set of Python bindings used by modules in 
the GNOME Deskt
py26-gobject-2.26.0 Python bindings for GObject
py26-gstreamer-0.10.21 A set of Python bindings for gstreamer
py26-gtk-2.22.0_2   A set of Python bindings for GTK+
py26-imaging-1.1.7  The Python Imaging Library
py26-kdebindings-kde-4.5.5_1 Python bindings for KDE
py26-kdebindings-pykdeuic4-4.5.5_1 An enhanced version of pyuic4
py26-libtorrent-rasterbar-0.15.5 Python bindings for libtorrent-rasterbar-15
py26-libxml2-2.7.8_1 Python interface for XML parser library for GNOME
py26-lxml-2.2.7     Pythonic binding for the libxml2 and libxslt libraries
py26-mako-0.4.0     Super-fast templating language in Python
py26-mutagen-1.19   A Python-based audio metadata tag reader and writer
py26-nose-1.0.0     A discovery-based unittest extension
py26-notify-0.1.1_7 A python bindings for libnotify
py26-numeric-24.2_3 The Numeric Extension to Python
py26-numpy-1.5.1,1  The New Numeric Extension to Python
py26-openssl-0.11   Python interface to the OpenSSL library
py26-orbit-2.24.0   Python bindings for ORBit2
py26-papyon-0.5.4   A fork of pymsn to support the telepathy MSN 
connection man
py26-pycrypto-2.3   The Python Cryptography Toolkit
py26-qt4-core-4.8.1,1 Python bindings for the Qt4 toolkit, QtCore module
py26-qt4-dbus-4.8.1,1 Python bindings for the Qt4 toolkit, D-BUS module
py26-qt4-gui-4.8.1,1 Python bindings for the Qt4 toolkit, QtGui module
py26-qt4-network-4.8.1,1 Python bindings for the Qt4 toolkit, QtNetwork 
module
py26-qt4-phonon-4.8.1 Python bindings for the Qt4 toolkit, Phonon module
py26-qt4-svg-4.8.1,1 Python bindings for the Qt4 toolkit, QtSvg module
py26-qt4-webkit-4.8.1 Python bindings for the Qt4 toolkit, QtWebKit module
py26-qt4-xml-4.8.1,1 Python bindings for the Qt4 toolkit, QtXml module
py26-reportlab2-2.4_1 Library to create PDF documents using the Python 
language
py26-setuptools-0.6c11_1 Download, build, install, upgrade, and 
uninstall Python pac
py26-simplejson-2.1.3 Simplejson is a simple, fast, extensible JSON 
encoder/decod
py26-sip-4.11.2,1   Python to C and C++ bindings generator
py26-sqlite3-2.6.6_1 Standard Python binding to the SQLite3 library
py26-telepathy-butterfly-0.5.15_1 MSN Connection Manager for Telepathy 
Framework
py26-telepathy-python-0.15.19_1 Python bindings for the Telepathy framework
py26-tkinter-2.6.6_3 Python bindings to the Tk widget set
py26-twistedCore-10.1.0 An asynchronous networking framework for Python 
- Core modu
py26-twistedWeb-10.1.0 An HTTP protocol implementation together with 
clients and s
py26-xdg-0.19       A python library to access freedesktop.org standards
py26-xml-0.8.4_2    PyXML: Python XML library enhancements
py26-zopeInterface-3.6.1 Zope.interface package from Zope 3

i use the default baruwa-mod_wsgi.conf file edited to my system.

<VirtualHost *:80>
     # If running MySQL-python as .egg-package uncomment the setting below
     SetEnv PYTHON_EGG_CACHE /var/tmp
     Alias /favicon.ico 
/usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/imgs/favicon.ico
     Alias /static/ 
/usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static/
<Directory 
/usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/static>
         Order deny,allow
         Allow from all
</Directory>
     # change to your hostname
     ServerName testserver
     WSGIScriptAlias / 
/usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa/baruwa.wsgi
<Directory 
/usr/local/lib/python2.6/site-packages/baruwa-1.1.0-py2.6.egg/baruwa>
         Order deny,allow
         Allow from all
</Directory>
     ErrorLog /var/log/baruwa-error_log
     CustomLog /var/log/baruwa-access_log common
</VirtualHost>

Hope this helps you....

>>
>> thanks for your time.
>>
>> regards,
>> Johan Hendriks
>> _______________________________________________
>> Baruwa mailing list
>> [email protected]
>> http://lists.baruwa.org/mailman/listinfo/baruwa
>>
> mvh
> Mikael Syska
> _______________________________________________
> Baruwa mailing list
> [email protected]
> http://lists.baruwa.org/mailman/listinfo/baruwa
>

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa

Reply via email to