Skip to content

Instantly share code, notes, and snippets.

@vkmc
Created May 3, 2014 00:25
Show Gist options
  • Save vkmc/a7dd4fdf6ff1e24a39b8 to your computer and use it in GitHub Desktop.
Save vkmc/a7dd4fdf6ff1e24a39b8 to your computer and use it in GitHub Desktop.
Marconi troubleshoot for rookie developers
# Install
> No handlers found for marconi.client (...)
This happens because the current user cannot create the log file (for the default configuration in /var/log/marconi/server.log). To solve it,
- Create the folder - sudo mkdir /var/log/marconi
- Create the file - sudo touch /var/log/marconi/server.log
- Run sudo marconi-server -v
# Messages
Managing messages requires to use a ClientID
It can be generated with uuid module
> python
> import uuid
> uuid.uuid4()
That should give you a valid UUID
# Run tests
python setup.py testr
Some needed dependencies -> ddt, mock
sudo pip install ddt
sudo pip install mock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment