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

From mapscript cannot loadquery after savequery with results parameters to true #4229

Closed
mapserver-bot opened this issue Apr 4, 2012 · 7 comments

Comments

@mapserver-bot
Copy link

Reporter: ivanobrunet
Date: 2012/03/07 - 17:31
Trac URL: http://trac.osgeo.org/mapserver/ticket/4229
I have an application written in .net with mapscript c# that serialize mapserver query in this way:
if ((this._MapObj.saveQuery(this.MapservFilesDir + "/MapservFiles/tmp/" + qGuid,mapscript.MS_YES)) == (int)MS_RETURN_VALUE.MS_SUCCESS){[do some code]}

then I de-serialize this way:
int res = this._MapObj.loadQuery(this.MapservFilesDir + "/MapservFiles/tmp/" + qString);

On load I receive frequently error such this:
loadQueryResults(): General error message. failed to read result 0 from query file stream
and this:
loadQueryResults(): General error message. failed to read bounds from query file stream

I attach some example files that generate error

@mapserver-bot
Copy link
Author

@ghost ghost assigned szekerest Apr 5, 2012
@tbonfort tbonfort reopened this Aug 22, 2012
@tbonfort
Copy link
Member

sorry, the commit messages where related to #4429

@szekerest
Copy link
Member

Thanks for taking care of it

@tbonfort
Copy link
Member

@szekerest sorry, I didn't :( I just mixed up issue numbers in my commit message.

@szekerest
Copy link
Member

yeah, issue numbers are pretty similar. #4429 has been sorted out which made me satisfied above :-)

mkofahl pushed a commit to faegi/mapserver that referenced this issue Apr 9, 2013
@mkofahl
Copy link
Contributor

mkofahl commented May 28, 2014

With current master I cannot reproduce this issue using php mapscript. Is this one still relevant?

@mapserver-bot
Copy link
Author

This is an automated comment

This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.

Typically, issues fall in this state for one of the following reasons:

  • Hard, impossible or not enough information to reproduce
  • Missing test case
  • Lack of a champion with interest and/or funding to address the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants