Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533170 - net-proxy/ntlmaps-0.9.9.6-r3 - /usr/bin/ntlmaps: ImportError: No module named utils
Summary: net-proxy/ntlmaps-0.9.9.6-r3 - /usr/bin/ntlmaps: ImportError: No module named...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2016-02-06
Keywords: PMASKED
Depends on:
Blocks: 522702
  Show dependency tree
 
Reported: 2014-12-21 09:37 UTC by Jeroen Roovers (RETIRED)
Modified: 2016-02-20 18:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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