Comments (7)
Seems to be a bigger problem: after loggin in (not Anonymous anymore) I started the Agent and it crashed the server completely. Maybe there is a problem when using DbDirectory with a huge amount of databases so it exceeds a certain memory limit or something like that. Why not using Java to code the agent that produces a JSON output? Not sure if using Java instead would solve this issue though.
from dql-explorer.
I did some further investigation: the database I used in my first example was the fakenames.nsf which is basically a Domino directory. It seems that the agent can't handle that huge amount of forms and fields that are in the design. Switching to a much simpler database worked. I am not sure if this is a limitation with Lotusscript, so again I would suggest using Java - or limit the amount of information that is crawled from each database.
from dql-explorer.
I believe we hit an issue in LotusScript, the db.GetForm('formname') returns a non-form item if another item as same or similar name, in the case of names.nsf database, there is a form called location
which when the db.GetForm("location")
runs returns a handle to an item called location.gif
which is not a form.
So the LS was not able to handle that. It also crashed the server which is unexpected.
We added a work around to handle the situation where the item returned is not really a form and/or contains no fields.
That should take care of the crash.
from dql-explorer.
A potential issue that's related: In one of the lookup reference docs we had specified to pull the data from Names.nsf. It turns out (not surprisingly) that Names.nsf has a huge number of both forms and fields and even after the fix Dimitri mentions we were not getting a value back from the getdocuments agent. I suspect we were overrunning the string length limitations. We've pulled Names.nsf out of the reference doc for now, but this is an issue that needs to be addressed because surely there will be a need for some folks to use DQL against the address book.
from dql-explorer.
I bet it's a memory problem with LS so maybe consider using a custom service bean and the REST component from the ExtLib on an XPage. Once the NSF part comes as ODP I am happy to contribute that solution ;-)
from dql-explorer.
Scott and I had a conversation around this issue this morning, i.e. getdatabases just does too many things. So we need to break it out into smaller chunks of work, i.e. getdatabases (only database names, titles), getformsfordatabase, getviewsfordatabase and/or getfoldersfordatabase, then getfieldsforselectedform, etc... doing it this way will likely reduce the work done on the server.
I think this model is needed and would work regardless if the agent is LS or something else.
This change requires a few updates to the Front End app which we will do this weekend (a few hours) and then we can push this update along with the ODP version. And yes would love to see your contributions to the code.
from dql-explorer.
Thank your for reporting. We've address this in a new release https://github.com/icstechsales/dql-explorer/releases
from dql-explorer.
Related Issues (20)
- dqlexplorer.ntf is encrypted
- HTTP Web Server: Couldn't find design note - runDQLExplain2
- Please document prerequisites for using DQL HOT 6
- 'DefaultButton' is defined but never used no-unused-vars HOT 1
- Error parsing timedate string HOT 2
- UI crashes while entering the value HOT 2
- Timedate values not enter-able manually.
- Problem with query by form if form's alias is different from it's 'real' name HOT 1
- Query by view / column creates a query by form / field HOT 1
- Readme.md misleading HOT 3
- Query by view: Columns remain empty HOT 5
- Question: What about security of targeted databases?
- Type error 's is undefinded' if databases are located deeper in File-directory HOT 2
- Query by Form : No fields in dropdown HOT 2
- Access the database with a browser no result HOT 7
- What about using Webcontent instead of file resources? HOT 2
- Do you both mind to join the OpenNTF Slack? HOT 1
- Add operator only if condition is added HOT 1
- Wrong number of search results is displayed when no document have been found HOT 1
- Query does not take selected FORM into account HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dql-explorer.