= Description = ## Please read this page. Lines prefixed with ## such as this one are comments, ## you can remove them (except for those after the "Plan" section.) ## Please follow the instructions given in those comments and the text. ## After creating the bug page, please subscribe to it! We may have questions ## that only you can answer, and if you get email when your bug changes it'll ## be much faster to get it fixed since you can answer the questions! trying to unzip on current 1.9 changeset 4957 fba959635dcd by localhost:8080/Example2?action=AttachFile&do=unzip&target=1.7.2beta5.zip {{{ 2009-08-22 12:11:35,964 INFO MoinMoin.web.serving:41 127.0.0.1 "GET /Example2?action=AttachFile&do=unzip&target=1.7.2beta5.zip HTTP/1.1" 500 - 2009-08-22 12:11:36,005 ERROR werkzeug:106 Error on request: Traceback (most recent call last): File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/serving.py", line 151, in run_wsgi execute(app) File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/serving.py", line 138, in execute application_iter = app(environ, start_response) File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ return self.app(environ, start_response) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 250, in __call__ response = run(context) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 70, in run response = dispatch(request, context, action_name) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 118, in dispatch response = handle_action(context, pagename, action_name) File "/home/user/workspace/moin-1.9/MoinMoin/wsgiapp.py", line 177, in handle_action handler(context.page.page_name, context) File "/home/user/workspace/moin-1.9/MoinMoin/action/AttachFile.py", line 506, in execute msg = handler(pagename, request) File "/home/user/workspace/moin-1.9/MoinMoin/action/AttachFile.py", line 997, in _do_unzip add_attachment(request, pagename, finalname, zf.read(origname), overwrite) File "/home/user/workspace/moin-1.9/MoinMoin/action/AttachFile.py", line 210, in add_attachment send_event(event) File "/home/user/workspace/moin-1.9/MoinMoin/events/__init__.py", line 242, in send_event retval = handle(event) File "/home/user/workspace/moin-1.9/MoinMoin/events/xapian_index.py", line 77, in handle handle_attached(event) File "/home/user/workspace/moin-1.9/MoinMoin/events/xapian_index.py", line 64, in handle_attached index.update_page(event.pagename) File "/home/user/workspace/moin-1.9/MoinMoin/search/builtin.py", line 237, in update_page self._do_queued_updates_InNewThread() File "/home/user/workspace/moin-1.9/MoinMoin/search/builtin.py", line 343, in _do_queued_updates_InNewThread args=(self._indexingRequest(self.request), )) File "/home/user/workspace/moin-1.9/MoinMoin/search/builtin.py", line 407, in _indexingRequest r = ScriptContext(request.url) File "/home/user/workspace/moin-1.9/MoinMoin/web/contexts.py", line 420, in __init__ environ = create_environ(base_url=url) # XXX not sure about base_url, but makes "make underlay" work File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/test.py", line 711, in create_environ builder = EnvironBuilder(*args, **kwargs) File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/test.py", line 257, in __init__ self.base_url = base_url File "/home/user/workspace/moin-1.9/MoinMoin/support/werkzeug/test.py", line 331, in _set_base_url raise ValueError('base url must not contain a query string ' ValueError: base url must not contain a query string or fragment }}} [[attachment:1.7.2beta5.zip]] == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. do this... == Example == ##Add URL that show the bug, screenshot or test wiki markup that fail... ##URL: ##{{attachment:screenshot.png}} ##{{{ ##Example wiki markup that fail ##}}} == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * general == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## [[attachment:traceback.html]] ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''!MoinMoin Version''' ||1.9 4957 fba959635dcd || || '''OS and Version''' || || || '''Python Version''' || || || '''Server Setup''' || || || '''Server Details''' || || || '''Language you are using the wiki in''' (set in the browser/UserPreferences) || || == Workaround == ## How to deal with the bug until it is fixed = Discussion = calling [[http://hg.moinmo.in/moin/1.9/file/fba959635dcd/MoinMoin/support/werkzeug/test.py|test.py]] looks very strange too. = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBugFixed