Blog Archives

plone.restapi common errors

when writing a test I was getting errors like this when running it: ConnectionError: HTTPConnectionPool(host=’nohost’, port=80): Max retries exceeded with url: /plone/@resultdbusers/noam (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x7fd8f5469ad0>: Failed to establish a new connection: [Errno -2] Name or service not

Tagged with: , , , , ,
Posted in development, ploneCMS

jenkins gitlab integration

have all details here  

Tagged with: , , , , ,
Posted in important links, Linux, Ubuntu

How to add delay in rabbitmq

inside producer class have to add delay, for example: class MyProducer(Producer): # is also my routing key:“myrabbit.taskqueue”) connection_id = “myrabbit” exchange = “myrabbit” serializer = “application/x-python-serialize” #adding delay code starts here queue = “myrabbit.taskqueue.wait” #add .wait with the task

Tagged with: , , , , , , , , ,
Posted in Uncategorized

rabbitmq server fails to start

If you get error like this: txx@txx:~/$ htop txx@txx:~/$ sudo service rabbitmq-server restart * Restarting message broker rabbitmq-server [fail] txx@txx:~/$ sudo invoke-rc.d rabbitmq-server start * Starting message broker rabbitmq-server * FAILED – check /var/log/rabbitmq/startup_\{log, _err\} Did you changed your hostname

Tagged with: , , , , ,
Posted in Uncategorized

Nice link for plone user create

Tagged with: ,
Posted in Uncategorized

find out how many open connection in mysql

mysqladmin –user=root –password=mysqlpass processlist -i 1 is a great thing 🙂 shows how many mysql connection/process open in server specially in python mysql you can get errors like this: OperationalError: (1040, ‘Too many connections’) this means you have many connection

Tagged with: , , , , ,
Posted in Linux, mysql, ploneCMS

plone: jq not defined

jq not defined saw this  u need to add a js file in any of the jsregistry in your plone. /* Provides globals jq and cssQuery; Both are deprecated and are provided only for backwards compatibility. DEPRECATION WARNING: The jq

Tagged with: , , , , , ,
Posted in AJAX, Javascript, jQuery, ploneCMS
All content provided on this "" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
December 2017
« Apr    

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers