Created
May 3, 2014 00:25
-
-
Save vkmc/a7dd4fdf6ff1e24a39b8 to your computer and use it in GitHub Desktop.
Marconi troubleshoot for rookie developers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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