-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-enabled PyQgsServer, reverted setenv
- Loading branch information
Showing
3 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132fa0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elpaso looks like there's still some issues with this test - see http://dash.orfeo-toolbox.org/testDetails.php?test=31385904&build=189663
132fa0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson sorry I cannot reproduce the issue, the test passes locally. That message normally indicates that the request handler got an empty query string, the same problem in the past has been caused by putenv randomly failing to pass the value to the environment, but we have now reverted to setenv which should work consistently.
132fa0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson I'm thinking about getting rid of set/put env completely and pass the input directly to the request handler... experimenting...
132fa0d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson unfortunately I've not found any issue and cannot reproduce the test failure myself. I'm just pretty sure that the failure in the test is caused by QUERY_STRING environment variable not set in:
https://github.com/qgis/QGIS/blob/master/src/server/qgsserver.cpp#L463