Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 533170

Summary: net-proxy/ntlmaps-0.9.9.6-r3 - /usr/bin/ntlmaps: ImportError: No module named utils
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] ServerAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: python, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=351305
Whiteboard: Pending removal: 2016-02-06
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 522702    

Description Jeroen Roovers (RETIRED) gentoo-dev 2014-12-21 09:37:10 UTC
[ebuild   R   ] net-proxy/ntlmaps-0.9.9.6-r3

I haven't figured out yet what "utils" might refer to.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-21 09:38:49 UTC
# ntlmaps
Traceback (most recent call last):
  File "/usr/bin/ntlmaps", line 23, in <module>
    import server, config, config_affairs
  File "/usr/lib/python2.7/site-packages/server.py", line 21, in <module>
    import proxy_client, monitor_upstream, ntlm_procs
  File "/usr/lib/python2.7/site-packages/proxy_client.py", line 21, in <module>
    import logger, http_header, utils, ntlm_auth, basic_auth
ImportError: No module named utils
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-21 09:43:40 UTC
Oh I see.

src_install() {
    # Bug #351305, prevent file collision.
    rm "${S}"/lib/utils.py
Comment 3 Pacho Ramos gentoo-dev 2015-05-19 19:32:55 UTC
@python, what package should provide that utils file if not ntlmaps itself? (that looks to need it)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-05-19 19:55:08 UTC
This ebuild looks like a complete screwup where someone installed random Python modules top-level instead of keeping them in a subdirectory.
Comment 5 Mike Gilbert gentoo-dev 2015-05-19 20:38:06 UTC
(In reply to Michał Górny from comment #4)

Agreed. I would recommend tree-cleaning this package.
Comment 6 Pacho Ramos gentoo-dev 2015-05-19 20:53:29 UTC
thanks for your thoughts
Comment 7 Pacho Ramos gentoo-dev 2016-02-20 18:12:36 UTC
removed