OK this is fixed and works fine.
Some hints from personal experience
- make sure your phone is operational
- use a fresh API key
- use an anonymous browser session
- speak English or American
- Log in to post comments
OK this is fixed and works fine.
Some hints from personal experience
Sorry, there is a bug:
from config.py:
# Default config variables
import json
import os
import sys
import base64
APP_PATH = os.path.dirname(os.path.abspath(__file__))
JSON_CONFIG_PATH = APP_PATH+"/config.b64"
.....BUT it is missing in your repo:
irisowner@2bbb2b066320:~/dev$ irispython ./rh/flask/main.py
/home/irisowner/dev/rh/flask/app/config.b64 not found
Ooops !
No discussion: Business Operation and Outbound adapter is a combination you should not break .png)
But to trigger a second Business OP You just need a Business Service that you kick,
no need for a Busines Process in between. Old ENSDEMO shows such examples.
eg. DemoRecodMapper.png)
Here the FileService is the driving part.
another example uses a service that triggers itself DemoDashboard.png)
It just lives on his timeout setting
Here it has nothing to do then updating some properties
But it could be anything. eg Kicking another Business Operation
OBJECTSCRIPT:
for x=1,3,4,5 {
; ///some code
}
Translation from the French community posted by @Lorenzo Scalese
----------------------------------------------------------------------------------------------------------------
Hi,
ISC should keep a copy of the original repo until a new release on OEX (this is eventually the case already)
If a package gets orphaned, it seems to be complicated to hand it over to another member of the community if this copy doesn't exist.
The account on GitHub could have been closed or the repo could have been deleted. This complicates the situation. We could. of course, try to recover the content from ZPM. But this could be wuite a huge effort of re-engineering. [ If it is available in ZPM at all. -rcc]
Regarding the deletion of the package.
I'm not against the idea, IF there is a valid reason.
It happened to me that I deleted a package because a new functionality of IRIS made it obsolete.
Anyhow, I left the repo on GitHub public in order not to lose the contained knowledge.
In that case, we could decide on an option to "archive" the package
Not everybody works with the latest version of IRIS. So this might be interesting in some cases.
----------------------------------------------------------------------------------------------------------------
Thank you & Merci @Lorenzo Scalese
Just to complete the case mailing was step 0 way back
I received no reply and canceled the related PR which was out of data after 3+ months
You can see 2 examples of the adoption of orphaned OEX packages here:
Besides the pure bug fixes, I applied some other enhancements for comfort
Case #1) https://openexchange.intersystems.com/package/JSONExportManyToMany
GitHub: https://github.com/rcemper/JSONExport-ManyToMany-AD
Case #2) https://openexchange.intersystems.com/package/Samples-FHIR-Oximeter-Devices
GitHub: https://github.com/rcemper/Samples-FHIR-Oximeter-Devices-AD
The packages on OEX are still pending for approval and not public yet.
😀👍👏
Today I had to process a rather sad exercise. 😢
For about 15 recognized packages in OEX I had to cancel my previous reviews
because the packages were broken.
They could have been fixéd easily as there were PRs ready.
But for more than 3 months these fixes were just ignored by their owners.
On top of it:
A significant part of them was highly awarded in previous contests
I'm deeply disappointed, as the Quality of Packages in OEX was a personal focus.
However, I have to accept that quality has lost importance also in this
narrow section of my life.
😞
did you try Global-dump-to-SQL ?
it's not so fresh (from 2020) but just works for any Global
description is here Show Global by SQL SELECT
This is my final Workaround for Webterminal
Thank you @John Murray !
As I haven't been forced to use VCS up to now I leave the check to someone more experienced.
I use personally WebTerminal just for access to the Demo Server.
So I have no direct pain. It's more a warning
cross check in ObjectScript
set d="/dev/nul" open d use d read xx close d zwrite xx
xx=""QAD
Investigating WebTerminal.core shows a top-quality redirect construct
designed specifically for ObjectScript.
I doubt that Embedded Py is able to make use of it.
I think I found the deeper cause of the problem.
In WebTeminal both $P and $I point to a /nul device
Standard input from a NUL device is a NUL_string in any programming language I know
As you can see this is happening here;
.png)
I assume this is a design issue of WebTerminal and a mismatch with Embedded Py
there is no public code available to examine.
WRC has access to internals
I like it!
I wonder if this would work also for Horse Races or Roulette or BlackJack or Baccarat.
The variable can't be the problem
BUT the typical default structure is /iris/sys/<instance name>/mgr/<namespace>
what is the method and the namespace you use to create the db ??
Interesting side effects and solution!
The "L" in your Open makes me nervous.
From the description, it seems to hang and wait for unlock not In IRIS but at OS-FileSystem Level.
The description of "L" seems to give some chance for such a conflict.
| L | Locked Exclusive: Use this mode with the “W” (Write) mode to specify exclusive write access to a file. “WL” or “WRL” specifies that the current process has exclusive write access to the file. A file opened with “RL” may still have shared read access. The effects of the “L” mode on concurrent opens are different in Windows and UNIX®. Refer to the “OPEN Mode Locking” section, below, for further details. On UNIX® systems if one process specifies “WL” (or “WRL”) access to a file, other processes requesting read access to that file must specify “RL” so that UNIX® can coordinate file locking. |
suggested testing:
I used it recently in my post on NativeAPI for ObjectScript
Hi @Lorenzo Scalese
I guess you are looking for class(%Utility).FormatString()
USER>set lb=$lb(1,"Lorenzo",2023,"RCC"_$c(13,10))
USER>write lb
LorenzoçRCC
USER>zzdump lb
0000: 03 04 01 09 01 4C 6F 72 65 6E 7A 6F 04 04 E7 07 .....Lorenzo..ç.
0010: 07 01 52 43 43 0D 0A ..RCC..
;;;;; this is it
USER>set viewlb=##class(%Utility).FormatString(lb)
USER>write viewlb
$lb(1,"Lorenzo",2023,"RCC"_$c(13,10))
USER>zwrite viewlb
viewlb="$lb(1,""Lorenzo"",2023,""RCC""_$c(13,10))"Objectscript uses double quotes for strings.
Single quote is Negation
'Sample Data looks for variable Sample >>> NOT Sample
Totally correct.
This is what the example describes:
and the consequence is that you have to spin through ALL GetOrgUpdatesResponse objects
A less impressive design.
So you need to add an index on the ELEMENTS of your Property Organizations
to find all affected objects.
some example of how to
in this case store it in +$HOROLOG format as explained
and leave the conversion to YYYY-MM-DDT00:00:00Z to output
using
+$h stands for your property DOB as %Date
Your transformation produces a YYYY-MM-DD HH:mm:SS string
in contradiction
Property DOB As %Date; expects an Integer similar to +$h
The error is reported during Validation before %Save() of your record
/// example of an extra light output to CSV
Class dc.SQLExport Extends %CSP.Page
{
ClassMethod content() As %Status
{
set sep=";"
set sqlStatement="SELECT ...... FROM ....."
,query = ##class(%ResultSet).%New()
,sc = query.Prepare(sqlStatement)
set:sc sc=query.Execute()
quit:'sc sc
set cols=query.GetColumnCount()
for col=1:1:cols { if col>1 write sep
write query.GetColumnHeader(col)
}
write !
while query.Next() {
for col=1:1:cols { if col>1 write sep
write query.GetData(col)
}
write !
}
quit $$$OK
}
/// filename should end with ".csv"
ClassMethod toFile(filename As %String) As %Status
{
open filename:"WNS":1
else quit $system.Status.Error(5005,filename)
use filename
set sc=..content()
close filename
quit sc
}
}much better than CPIPE