pegasy / python-ntlm

Automatically exported from code.google.com/p/python-ntlm
0 stars 0 forks source link

ntlm_example_* scripts installed by egg but not working #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. sudo pip install python-ntlm
2. ntlm_example_simple
3. ntlm_example_extended

What is the expected output? What do you see instead?

$ ntlm_example_simple
Traceback (most recent call last):
  File "/usr/local/bin/ntlm_example_simple", line 9, in <module>
    load_entry_point('python-ntlm==1.0', 'console_scripts', 'ntlm_example_simple')()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 299, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2229, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1948, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named ntlm_examples.simple

$ ntlm_example_extended
Traceback (most recent call last):
  File "/usr/local/bin/ntlm_example_extended", line 9, in <module>
    load_entry_point('python-ntlm==1.0', 'console_scripts', 'ntlm_example_extended')()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 299, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2229, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1948, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
ImportError: No module named ntlm_examples.extended

What version of the product are you using? On what operating system?

- python-ntlm 1.0 egg
- Ubuntu Server 10.04 64 bit

Please provide any additional information below.

Original issue reported on code.google.com by jrjsm...@gmail.com on 19 Jan 2011 at 11:56