Guided score card throwing error in business central - drools

I am using docker image to launch the business central to perform a hello world project for learning rule engine. When i try to create a Guided Score card i am getting below error
org.drools.compiler.compiler.DroolsParserException: org.kie.pmml.api.exceptions.KiePMMLException: Exception while instantiating KiePMMLModelFactory for null
while doing the build also i am getting the same error.
Since it is a docker image i thought everything will work out of the box.

Related

Can I create a background service that always run even if flutter app is not running?

I want to create a Background service which is always running even if app is not running in background , so that I can manage different features in my flutter , is there any way to do that?
There are several ways of doing this.
You can check out flutter_background_service. It's a new package.
background_fetch is another package that can help you out.
Additionally if you're only planning to execute a task when you get some new information from a remote server, firebase data message can be used too, where you'll run a function upon receiving a data message. link

Issues Deploying to Polygon Mainnet

I am having issues deploying to the Polygon Mainnet. I can deploy easily to Polygon Testnet but have yet to successfully deploy to mainnet. I have tried using Truffle, Hardhat and Remix without various errors. Most errors are receiving null back in the blocks in truffle or are gas related. I've increased gas and then I'll get the timeouts or null returns when querying block during deployment. I can't even deploy a 20 line tutorial contract.
Is anyone else having issues and is this a known issue. I find nothing on the web to tell me. I can provide additional information but I think this is a Polygon network issue and I'm trying to confirm.
Manualy Edit the gas fee to higher on the metamask wallet during the deployment and you will be able to deploy smart contract on polygon network.
Metamask gives you options so i chose to use higher priority gas fee and it worked. No more issues

Can I create a login system in Unity without using Photon authentication?

I'm having trouble making a login system inside Photon for Unity, I've already tried to do everything, I ran the entire Google and tried everything but I always have some mistake! On my last attempt I got this error on my Unity console:
Operation failed: OperationResponse 230: ReturnCode: 32755 (Custom authentication service error: Error). Parameters: {} Server: NameServer
UnityEngine.Debug:LogError(Object)
NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1623)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:158)
And also this other error:
Custom Authentication failed (either due to user-input or configuration or AuthParameter string format). Calling: OnCustomAuthenticationFailed()
UnityEngine.Debug:LogError(Object)
NetworkingPeer:OnOperationResponse(OperationResponse) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1660)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(Byte[])
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:158)
So I got tired of using Photon Auth, and wanted to know if I can create a login system inside Unity itself, not Photon, Photon will only show the names of the players to the other players, and other things normally. Is there a problem with authentication being only on Unity and not on Photon?
Take a look at WWWForm for unity, you will have to do some server side programming to store the data in a database but should be easy with PHP. You will have to write some C# code to parse the data in unity (as string) before posting the form and sorting the data when you get the object back.
https://docs.unity3d.com/ScriptReference/WWWForm.html
There is no way to make a login system that is just in Unity.
This is because logins need to be stored on a server, usually a database. Logins would serve no useful purpose if they were just stored locally because at that point, why would users need to log in?
The next best option would be to create a database, and host it using a service such as Google Cloud or Amazon Web Services. I personally use Microsoft SQL Server, since Entity Framework is a really well supported ORM (object-relational mapper) and works very well within Visual Studio. Also, look into hashing and salting. This is how you encrypt your passwords within your database, just in case someone, later on, decides they want to steal logins from the game you worked so hard on. It's better to handle these issues now so the consequences never come up later.
Here are some links that I would recommend to get started if you are completely new to databases :
Learn SQL in 1 Hour
Introduction to Entity Framework

Bluemix cloudant: Sudden errors being thrown by service

We are using Node.js module nano to interact with Cloudant instance on Bluemix. Suddenly today we have started getting the below errors while getting data from a view in a Cloudant instance. Any clue what might be wrong?
[{couch_os_process,prompt,3,[{file,"src/couch_os_process.erl"},{line,65}]},
{couch_query_servers,'-map_docs/2-fun-1-',2,
[{file,"src/couch_query_servers.erl"},{line,243}]},
{lists,map,2,[{file,"lists.erl"},{line,1237}]},
{couch_query_servers,map_docs,2,
[{file,"src/couch_query_servers.erl"},{line,239}]},
{couch_view_updater,view_compute,2,
[{file,"src/couch_view_updater.erl"},{line,256}]},
{couch_view_updater,do_map,2,
[{file,"src/couch_view_updater.erl"},{line,161}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1261}]},
{couch_view_updater,do_maps,4,
[{file,"src/couch_view_updater.erl"},{line,153}]}]}
It appears that the indexer is crashing trying to index a particular document. Probably you made a change to your documents, likely the ingestion of a larger document. One indication that it is a 'recent' change to a document causing the crash is to query the view with stale=ok. This will request a response from the last built version of the index (with the last correct version of the document). If this returns correctly it means that the issue is caused by a recent change attempting to be indexed.
This may be an intermittent issue due to a login and application management issue in the US-South region. You can track Platform and Service issues at the Bluemix Status page. If the system status is okay and you still get these errors, open a Bluemix Support ticket.
It's probably a problem with one of the Map Reduce views you have defined on the design document that contains the view you are accessing.

Bluemix Watson NLC failure to train

I have created a new instance of the Natural Language Classifier in Bluemix. I deployed the NLC Beta Toolkit application which provided a UI for populating my NLC instance.
I created a data file (csv) and loaded that file into my NLC instance. It loads well and I can see my Classes and Texts (with assigned Classes). I hit the Train button and it processes for about 10 seconds before stopping with a red error message saying "Training Error Bad Request".
The error message doesn't really help me, does anyone have any advice as to what may have gone wrong?
Thanks.
I found the problem. One of my text strings was an empty string ("") which was causing the 'Bad Gateway' error message.