-
Notifications
You must be signed in to change notification settings - Fork 608
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
downloadByOids, downloadByTypes Services doesn't work as expected #220
Comments
There is a few things you might be doing wrong:
|
Thank you for the quick reply, I am just calling services from api client application provide in bimview. 1.4.0-RC-2015-03-14 is the version of the bimserver I am currently using. How to get the TO "stage":2, I had been waiting for hours and tried but still the stage is 1. And "includeAllSubtypes": "false", is set in download request. |
You should check the BIMserver log for errors. |
Found the following Null Pointer error when calling the downloadByTypes service. 01-07-2015 07:28:33 ERROR (org.bimserver.longaction.LongAction.java:187) And the request I sent is, Can this be because of, unavailability of IFCDOOR ?, but I double check the checked in file has IFCDOOR object as follows, #7022= IFCDOOR('1hOSvn6df7F8_7GcBWlRGQ',#38,'M_Single-Flush:1250mm x 2010mm:1250mm x 2010mm:146596',$,'1250mm x 2010mm',#14080,#17208,'146596',2.009999999999999,1.25); |
IFCDOOR should be camelcased |
{
"response": {
"result": {
"__type": "SLongActionState",
"end": null,
"errors": [],
"infos": [],
"oid": -1,
"progress": 0,
"rid": 0,
"stage": 1,
"start": 1435667546944,
"state": "STARTED",
"title": "Starting download",
"warnings": []
}
}
}
{
"response": {
"result": {}
}
}
http://ip:port/bimserver/download?token={token}&longActionId=4&serializerOid=2687014&topicId=4
What can be the reason behind this? Am I doing something wrong? Or the data that I am expecting is not there? I gave the IFCDOOR as a type to downloadByTypes, as it was there in ifc file which was checked in.
The text was updated successfully, but these errors were encountered: