[GH-ISSUE #1] Unable to run sandman2ctl #1

Closed
opened 2026-02-26 01:32:51 +03:00 by kerem · 1 comment
Owner

Originally created by @diassynthesis on GitHub (Oct 25, 2014).
Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/1

Getting the following error:

@ubuntu:~$ sandman2ctl
Traceback (most recent call last):
File "/usr/local/bin/sandman2ctl", line 9, in
load_entry_point('sandman2==0.0.3', 'console_scripts', 'sandman2ctl')()
File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 357, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 2394, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 2108, in load
entry = import(self.module_name, globals(),globals(), ['name'])
ImportError: No module named sandman2ctl

Here after the "sandman2ctl" installed script:

!/usr/bin/python

EASY-INSTALL-ENTRY-SCRIPT: 'sandman2==0.0.3','console_scripts','sandman2ctl'

requires = 'sandman2==0.0.3'
import sys
from pkg_resources import load_entry_point

if name == 'main':
sys.exit(
load_entry_point('sandman2==0.0.3', 'console_scripts', 'sandman2ctl')()
)

Best regards.

Originally created by @diassynthesis on GitHub (Oct 25, 2014). Original GitHub issue: https://github.com/jeffknupp/sandman2/issues/1 ## Getting the following error: @ubuntu:~$ sandman2ctl Traceback (most recent call last): File "/usr/local/bin/sandman2ctl", line 9, in <module> load_entry_point('sandman2==0.0.3', 'console_scripts', 'sandman2ctl')() File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 357, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 2394, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/dist-packages/setuptools-1.1-py2.7.egg/pkg_resources.py", line 2108, in load entry = **import**(self.module_name, globals(),globals(), ['**name**']) ImportError: No module named sandman2ctl Here after the "sandman2ctl" installed script: # !/usr/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'sandman2==0.0.3','console_scripts','sandman2ctl' **requires** = 'sandman2==0.0.3' import sys from pkg_resources import load_entry_point if **name** == '**main**': sys.exit( load_entry_point('sandman2==0.0.3', 'console_scripts', 'sandman2ctl')() ) Best regards.
kerem closed this issue 2026-02-26 01:32:51 +03:00
Author
Owner

@diassynthesis commented on GitHub (Dec 3, 2014):

It's due to an old version of setuptools. after upgrading setuptools , All is OK

<!-- gh-comment-id:65416488 --> @diassynthesis commented on GitHub (Dec 3, 2014): It's due to an old version of setuptools. after upgrading setuptools , All is OK
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sandman2-jeffknupp#1
No description provided.