I'm trying to set up two scan zones in my cordova application under windows 10 (UWP x64).
One field detects only CODE_39 and the other QR_CODE.
According to the documentation I used this code:
cordova.plugins.barcodeScanner.scan(
function (result) {
alert("We got a barcode\n" +
"Result: " + result.text + "\n" +
"Format: " + result.format + "\n" +
"Cancelled: " + result.cancelled);
},
function (error) {
alert("Scanning failed: " + error);
},
{
formats : "QR_CODE"
});
But the "format" option doesn't seem to work because I can scan CODE_39, QR_CODE, PDF_417... in each area.
Is the option not available on Windows 10? Am I misusing the option?
Thank you for your help.
CORDOVA : 6.3.1
CORDOVA WINDOWS : 4.3.3
PLUGIN SCAN : 7.1.2
Related
I'm currently trying to add a keybinding in Vscode that inputs multiple lines of code. Below is my current attempt at doing that – but it's not working due to some syntaxical errors. Would anyone know how I'm supposed to format this?
{
"key": "ctrl+y",
"command" : "type",
"args": {
"text": "
leave1 = False
while(leave1 == False):
try:
driver.find_element(By.XPATH, '')
except Exception:
time.sleep(0.5)
else:
leave1 = True
"
}
}
can someone help with h2o.importfolder error for h2o 3.29 and above ,it works with h2o3.28 and below
dataingest.hex <- h2o.importFolder(path = 's3://h2o_test/', pattern=".*\.snappy\.parquet$")
ERROR: Unexpected HTTP Status code: 412 Precondition Failed (url = http:/xxxxxxxxx:45820/3/ParseSetup) water.exceptions.H2OIllegalArgumentException [1] "water.exceptions.H2OIllegalArgumentException: Column separator mismatch. One file seems to use " " and the other uses "\001"." [2] "
Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, : ERROR MESSAGE: Column separator mismatch. One file seems to use " " and the other uses " ".
I'm trying to send a mail after my pipe ends that will include some logs that I'm collecting
emailext subject: "${env.JOB_NAME} #" + env.BUILD_NUMBER + " - " + currentBuild.currentResult + " for branch: " + branch_Name + " commit: " + "${git_commit_hash}", body: """
Installation : ${create_cluster_result}
unit test results: ${run_unit_tests_result}
error logs: ${error_logs}
""", attachLog: true, attachmentsPattern: "${error_logs}", to: "$extendedEmailRec"
but I get only one attachment, build.log. What am i missing here?
It seems that "${error_logs}" is the path to only one log file. You can always use wildcards in your pattern as well. For e.g. considering error_logs as your logs directory: (*.log in code below)
""", attachLog: true, attachmentsPattern: "${error_logs}/*.log", to: "$extendedEmailRec"
This way you can end up with as many files with .log extension in your attachments.
I figgured out that mavens build extension deployatend has some problems to deploy if some modules using the odavid.mixin.plugin.
I get following message for all modules:
[INFO] Deploying module.xy at end
After last module in the reactor build was execute it should deploy but i get the same information - "Deploying at end"
By removing the part with the mixin.plugin it deploys successfully.
My maven verison is 3.2.5 and i use the maven.deploy.plugin 2.8.2.
I think it deppends on the merged effective-pom by the mixin, which cause a broken module counter so that the if clause cant reached at runtime (attached maven snipped).
Can someone confirm that problem and is there any solution before i try to bugfix that problem?
boolean projectsReady = READYPROJECTSCOUNTER.incrementAndGet() == reactorProjects.size();
if ( projectsReady )
{
synchronized ( DEPLOYREQUESTS )
{
while ( !DEPLOYREQUESTS.isEmpty() )
{
ArtifactRepository repo = getDeploymentRepository( DEPLOYREQUESTS.get( 0 ) );
deployProject( getSession().getProjectBuildingRequest(), DEPLOYREQUESTS.remove( 0 ), repo );
}
}
}
else if ( addedDeployRequest )
{
getLog().info( "Deploying " + project.getGroupId() + ":" + project.getArtifactId() + ":"
+ project.getVersion() + " at end" );
}
I downloaded the fhir server from http://www.healthintersections.com.au/FhirServer/.
When I run the server with the following command "fhirserver –debug" I get following error:
2015-11-27--------------------------------
12:41:17 FHIR Service 1.0.2 (DSTU2). Using ini file c:\Program Files\FHIRServer\fhirserver.ini with stack dumps on
12:41:17 Using FHIR Specification at C:\Program Files\FHIRServer\spec
12:41:17 Database mssql://xx.xx.xx.xx/fhir
12:41:17 Load DB Terminologies
12:41:17 - done
12:41:17 Load Loinc from C:\ProgramData\FHIRServer\loinc.cache
12:41:17 - done
12:41:17 Load User Sub-system
12:41:17 Load & Cache Store:
12:41:19 Load Validation Pack from C:\Program Files\FHIRServer\spec\validation-min.xml.zip
12:41:24 EAccessViolation: Access violation at address 00000000010895D3 in module 'FHIRServer.exe'. Read of address 0000000000000038
(0000000000C885D3){FHIRServer.exe} [00000000010895D3] UcumServices.TUcumServices.SetCommonUnits + $13
(0000000000040DEB){FHIRServer.exe} [0000000000441DEB] System.SysUtils.GetExceptionObject + $EB
(00000000002032C7){FHIRServer.exe} [00000000006042C7] JclHookExcept.DoExceptFilter + $E7
(0000000000203595){FHIRServer.exe} [0000000000604595] JclHookExcept.HookedExceptObjProc + $15
(000000000000F429){FHIRServer.exe} [0000000000410429] System.#DelphiExceptionHandler + $289
(000000000002805D){ntdll.dll } [000000007785905D] Unknown function at RtlDecodePointer + $AD
(0000000000017C0F){ntdll.dll } [0000000077848C0F] Unknown function at RtlUnwindEx + $BBF
(000000000004C948){ntdll.dll } [000000007787D948] KiUserExceptionDispatcher + $2E
(0000000000C885D3){FHIRServer.exe} [00000000010895D3] UcumServices.TUcumServices.SetCommonUnits + $13
(0000000000CB1B3B){FHIRServer.exe} [00000000010B2B3B] TerminologyServerStore.TTerminologyServerStore.SeeSpecificationResource + $15B
(0000000000E27058){FHIRServer.exe} [0000000001228058] ServerValidator.TFHIRServerValidatorContext.SeeResource + $58
(0000000000ADF007){FHIRServer.exe} [0000000000EE0007] FHIRProfileUtilities.TValidatorServiceProvider.Load + $67
(0000000000ADE650){FHIRServer.exe} [0000000000EDF650] FHIRProfileUtilities.TValidatorServiceProvider.LoadFromDefinitions + $2C0
(0000000000EED84B){FHIRServer.exe} [00000000012EE84B] FHIRDataStore.TFHIRDataStore.Create + $14BB
(0000000000F1E89C){FHIRServer.exe} [000000000131F89C] FHIRRestServer.TFhirWebServer.Create + $9FC
(0000000000F47699){FHIRServer.exe} [0000000001348699] FHIRServerApplicationCore.TFHIRService.InitialiseRestServer + $49
(0000000000F45B01){FHIRServer.exe} [0000000001346B01] FHIRServerApplicationCore.TFHIRService.CanStart + $81
(000000000025B32E){FHIRServer.exe} [000000000065C32E] SystemService.TSystemService.InternalExecute + $6E
(000000000025AFFF){FHIRServer.exe} [000000000065BFFF] SystemService.TSystemService.DebugExecute + $4F
(000000000025BCD5){FHIRServer.exe} [000000000065CCD5] SystemService.TSystemService.Execute + $1F5
(0000000000F45131){FHIRServer.exe} [0000000001346131] FHIRServerApplicationCore.ExecuteFhirServer + $B31
(0000000000F63F55){FHIRServer.exe} [0000000001364F55] FHIRServerDev.FHIRServerDev + $75
(0000000000014A4D){kernel32.dll} [0000000077725A4D] BaseThreadInitThunk + $D
(000000000002A831){ntdll.dll } [000000007785B831] RtlUserThreadStart + $21
12:41:24 Exception in Service Execution:
Access violation at address 00000000010895D3 in module 'FHIRServer.exe'. Read of address 0000000000000038
[EAccessViolation]
Ucum is not configured in the ini fil at c:\Program Files\FHIRServer\fhirserver.ini.
[ucum]
source=C:\work\fhirserver\Exec\ucum-essence.xml
where ucum-essence.xml is from http://unitsofmeasure.org