BIRT scripted data source error - datasource

Thanks for the information on creating the .jars for using scripted data sources. I followed the directions but I get this error:
JavaPackage com.actuate.json.JSONParser is not a function, it is an object
When I try to run the report. Any ideas on how to fix this? I'm using BDPro Actuate 11SP3.

To late but had the same issue. Thats because the class does not exist.
Use this.
https://github.com/mcasperson/birt-jsonparser/blob/master/src/main/java/com/actuate/json/JSONParser.java

Related

Creating a link in SAS EG

I have been unable to find any documentation on creating links in a SAS EG process flow.
Here is an example what I mean by link:
The ones with the dotted lines are created by right clicking and pressing create a link.
But what do they do? my guess is they make one program run after the data it is linked to is created but I am not sure. What are they used for and is there any consequence for using them?
Thank you in advance.

IronSpeed Error: Invalid Parameter in KeyValue.ColumnValueByName()

I am developing a website with IronSpeed. A colleague made changes to the database. On getting to the code, I get the error: IronSpee Error: Invalid Parameter in KeyValue.ColumnValueByName() when I attempt to edit a record.
How can I sort this out?
Thanking you,
Simon.
You could have saved yourself a lot of time by just resyncing the database schema. Iron Speed would have picked up on the added or missing fields and no rework would have been necessary.
We had to delete the entire module(aka Show, Edit and Add pages), then recreated them with the help of the Application Wizard. This wizard can be accessed through Tools>Application Wizard menu.
References: http://sjc.ironspeed.com/post/IronSpeed-Error-Invalid-Parameter-in-KeyValue.ColumnValueByName%28-%29-6265041
Hope this will be helpful to someone in future.

SmartGWT two modules one datasource

I am having a hell of a time sharing a datasource across two GWT modules. Is there some trick I am missing?
I have tried about everything. I would post something, but not sure it would help as I have changed it so much. Any guidance/tutorial on how a datasource can be shared between two GWT modules?
Here is the issue I have. One module will add data to the source, that source goes into an HSQLDB for persistence. This works fine. However the second module never picks up the data added. If I try to show the data from the first module, I get no problems.
I am using "DataSource.get("DS_Name")" in both modules.
In each HTML I added this line: "[script src="FirstModuleName/sc/DataSourceLoader?dataSource=DS_Name"][/script]"
Any thoughts?
Since this is SmartGWT, in the html for your second module, make sure that the isomorphicDir="FirstModuleName/sc". That should give it the correct path to the dataSourceLoader

Push and update plugin

1.I was trying to use the push-and-update plugin and failed. after solving the reported error (i change the plugin folder name to push_and_update) all errors disappeared , but its seems that nothing happened --> the "remote" branch still needs to be updated manually.
Please help.
I tried to attach an detailed description of an workflow i prepared , in order to get your comments. the upload was failed due to the fact that i'm new user in this forum. do i have another way to attach image?
thanks
Gil Idelson
I think there must already exist a workingtree on the server.
You can use bzr checkout to create one.

Multithreading with SQLite and Objective-C

I have a couple of threads and I'm using SQLite for storage. When I'm trying to access the database I'm getting SQLITE_BUSY error.
Is there a way how to fix this problem other than trying at each request ?
You are most likely running in serialized mode. But ... you're probably looking to run in multi-threaded mode instead. Note that you will need a separate database connection in each thread if you go that route.
Here is the link to the documentation goodness: http://www.sqlite.org/threadsafe.html
Ignore my last answer.
You can use the sqlite3_errmsg function to get the error message as string and print it using NSLog or other ways as soon as error occurs to find the more appropriate and proper reason.
http://www.sqlite.org/c3ref/errcode.html
You probably seem to be running in to serialization issue; I am not sure where.