Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates Class but Fails to Import Data #23

Open
DodgeDeBoulet opened this issue Jun 6, 2024 · 1 comment
Open

Creates Class but Fails to Import Data #23

DodgeDeBoulet opened this issue Jun 6, 2024 · 1 comment

Comments

@DodgeDeBoulet
Copy link

Platform: RedHat Linux 9 x86-64
IRIS Version: IRIS for UNIX (Red Hat Enterprise Linux 9 for x86-64) 2022.1.2 (Build 574_0_22843U) Wed Oct 18 2023 15:47:13 EDT
Application: HealthShare Clincial Viewer (Foundation Production namespace)

As per the subject; the class gets created and the properties match the header row in the CSV import file. However none of the records in the file are imported. Sample output from executing the Generate() method:

HSFND>set sc=##class(community.csvgen).Generate("/home/jeffd/exports/sample.csv",,,,,.cnt)

Class name: community.csvgen.generated.home202406063
Header: "Type" VARCHAR(250),"Name" VARCHAR(250),"ClassName" VARCHAR(250),"Adapter" VARCHAR(250),"Enabled" INTEGER,"ConfigName" VARCHAR(250),"ConfigValue" VARCHAR(250)
Records imported: 0

Thanks in advance for the help.

@evshvarov
Copy link
Owner

@DodgeDeBoulet what does the status say? Any chance to share the file?
Also, I'd recommend to try with the python version https://openexchange.intersystems.com/package/csvgen-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants