Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade overwrites file entry_points.txt #591

Open
JaegerFrank opened this issue Jul 18, 2022 · 0 comments
Open

Upgrade overwrites file entry_points.txt #591

JaegerFrank opened this issue Jul 18, 2022 · 0 comments
Labels

Comments

@JaegerFrank
Copy link

The Upgrade with

sudo pip install --upgrade --no-deps MapProxy

overwrites the file /usr/local/lib/python2.7/dist-packages/MapProxy-1.15.1.dist-info/entry_points.txt

The content of the correct working file is

[console_scripts]
mapproxy-seed = mapproxy.seed.script:main
mapproxy-util = mapproxy.script.util:main

[paste.app_factory]
app = mapproxy.wsgiapp:app_factory
multiapp = mapproxy.multiapp:app_factory

[paste.filter_factory]
lighttpd_root_fix = mapproxy.util.wsgi:lighttpd_root_fix_filter_factory

[paste.paster_create_template]
mapproxy_conf = mapproxy.config_template:PasterConfigurationTemplate

The replacement contains only the first 3 lines. (Section 'console_scripts')
Result is an "Internal Error" when browsing the MapProxy-URL.

I have to copy the file (from old path) before the upgrade an replace the new file with the old version after upgrade.
The old version-path is deleted on upgrade, so after "pip install --upgrade" the correct file is not available for replacement.

  • Version used: MapProxy 1.15.1 (bug since 1.13 ?)
  • Server type and version: apache
  • Operating System and version: debian old-stable
@weskamm weskamm added the bug label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants