Skip to content

diamond not running on Ubuntu 16.04 #712

@KlavsKlavsen

Description

@KlavsKlavsen

First I got:

Traceback (most recent call last):
  File "/tmp/diamond", line 25, in <module>
    from diamond.server import Server
ImportError: No module named diamond.server

Then I added correct search path (as used by setup.py):

for path in [
    os.path.join('/usr', 'share', 'pyshared'),
    os.path.join('/opt', 'diamond', 'lib'),
    os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'src'))
]:

(to bin/diamond)

$ /usr/bin/python /usr/bin/diamond
Traceback (most recent call last):
  File "/usr/bin/diamond", line 26, in <module>
    from diamond.server import Server
  File "/usr/share/pyshared/diamond/server.py", line 21, in <module>
    from diamond.utils.classes import initialize_collector
ImportError: No module named utils.classes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions