11 Sep 2023 |
Philip Durbin | Justin Lim: I see a TODO about HTTP POST requests here: https://github.com/aeonSolutions/OpenScience-Dataverse-API-C-library/wiki | 17:49:27 |
13 Sep 2023 |
Philip Durbin | Justin Lim: you might want to just send Miguel Silva an email. Do you see his gmail address at https://github.com/aeonSolutions ? (I have to be logged into GitHub to see it.) | 11:30:24 |
Miguel Silva | In reply to @pdurbin:matrix.org Justin Lim: you might want to just send Miguel Silva an email. Do you see his gmail address at https://github.com/aeonSolutions ? (I have to be logged into GitHub to see it.) easier this way. Here it is: mtpsilva@gmail.com | 11:51:02 |
Miguel Silva | In reply to @moistbread:matrix.org Hello Miguel and Philip! I am interested in contributing to the C API. If there is some area of the project that you think would be good place to start I would happy to look into it. Hi Justin Lim I maintain a C++ library to expedite connectivity to a dataverse. Is hosted on Github. You are welcome to join me on improving the code | 11:53:34 |
Miguel Silva | In reply to @moistbread:matrix.org Hello Miguel and Philip! I am interested in contributing to the C API. If there is some area of the project that you think would be good place to start I would happy to look into it. * Hi Justin Lim I maintain a C++ library to expedite connectivity to a #dataverse. It is hosted on GitHub. You are welcome to join me in improving the code.
Here's the link to the repository: https://github.com/aeonSolutions/OpenScience-Dataverse-API-C-library
| 11:54:17 |
Philip Durbin | Ha! Thanks! I'm glad you two are connecting. | 12:00:03 |
Philip Durbin | Miguel Silva: is there a small hello world example with a Makefile? I was a little confused by the idea of simply copying the .h and .cpp files into a project. C/C++ is a different world, I guess, and it's been 20+ years since I took a class in it! 😅 | 12:01:48 |
Miguel Silva | In reply to @pdurbin:matrix.org Miguel Silva: is there a small hello world example with a Makefile? I was a little confused by the idea of simply copying the .h and .cpp files into a project. C/C++ is a different world, I guess, and it's been 20+ years since I took a class in it! 😅 unfortunately no. Not for now. I've been coding it for "embedded devices". Those Smart Data Acquisition Devices I've been posting about.
So if anyone has some spare time, write a simpler "hello world" example. It is greatly appreciated.
In the meantime, there's a firmware code, fully working and running on this GitHub repository here
https://github.com/aeonSolutions/openScience-Smart-DAQ-to-Upload-Live-Experimental-Data-to-a-Data-Repository
folder "Firmware Code"
| 12:40:40 |
Miguel Silva | ... Anyone can use it as a study reference to learn how the code works and how it can be implemented on any other project | 12:41:53 |
Miguel Silva | else, as soon as I find some time, I'll add one or two examples to the c++ library on Github | 12:44:44 |
Philip Durbin | Ok. Maybe Justin Lim could contribute that, if it makes sense. 😄 | 13:04:45 |
Philip Durbin | prsridha: https://github.com/IQSS/dataverse/pull/9833 has been merged! Thanks again! | 20:48:10 |
Justin Lim | In reply to @aeonlabs:matrix.org easier this way. Here it is: mtpsilva@gmail.com Thanks for the responses. I sent you an email. I had some trouble getting used to the way Element displays replies haha | 21:00:27 |
Philip Durbin | Matrix/Element takes some getting used to. We also have https://dataverse.zulipchat.com if you are interested. | 21:01:09 |
Justin Lim | In reply to @pdurbin:matrix.org Matrix/Element takes some getting used to. We also have https://dataverse.zulipchat.com if you are interested. cool! I will take a look | 21:07:42 |
14 Sep 2023 |
Donald Sizemore II | @pdurbin I think I fixed it! still testing. | 12:04:32 |
Philip Durbin | Donald Sizemore II: go go go! | 13:06:22 |
Donald Sizemore II | @pdurbin I lied and didn't fix it and am terrible. The installer says it's doing what I want it to, but it doesn't. The same commands issued manually on the same DB as the same user work. | 13:20:59 |
Philip Durbin | Hmm, we must be missing something. | 13:22:13 |
Philip Durbin | I spun down my ec2 instance. | 13:22:23 |
Philip Durbin | Someday we'll fix it. | 13:22:28 |
Philip Durbin | Or the community will. | 13:22:41 |
Donald Sizemore II | I have a vagrant instance up; I'm happy to screen-share. Debugging statements show up in the installer output at the appropriate place, no errors in Postgres log, just... no permissions. Until I try it manually. | 13:23:05 |
Philip Durbin | Can you print the exception? | 13:24:47 |
Donald Sizemore II | that's the thing. the exception should show up in the postgres log (or STDERR) | 13:25:10 |
Philip Durbin | with except Exception as e: I think: https://stackoverflow.com/questions/1483429/how-do-i-print-an-exception-in-python | 13:25:16 |
Philip Durbin | and then print(e) | 13:25:24 |
Donald Sizemore II | I'm using this branch https://github.com/OdumInstitute/dataverse/blob/postgres15_install_fix/scripts/installer/install.py#L424 | 13:25:43 |
Philip Durbin | right, so please try changing except: to except Exception as e: | 13:26:15 |
Philip Durbin | and then print(e) later | 13:26:27 |