Time
S
Nick
Message
03:11
pdurbin joined #dataverse
03:49
axfelix joined #dataverse
04:25
djbrooke joined #dataverse
08:01
djbrooke joined #dataverse
12:39
andrewSC joined #dataverse
13:25
donsizemore joined #dataverse
13:40
andrewSC
pdurbin: If you want you can add me to the spreadsheet in the topic
13:41
andrewSC
my full name is Andrew Crerar and I'm North Carolina State University (NCSU)
14:04
djbrooke joined #dataverse
14:21
djbrooke joined #dataverse
14:41
ChatSharp joined #dataverse
14:41
ChatSharp left #dataverse
14:42
djbrooke
Thanks andrewSC - I added you!
14:42
andrewSC
very exciting :D thanks
14:42
djbrooke
Blizzardish up here today
14:42
andrewSC
yeah it's just super windy down here
14:44
pdurbin
djbrooke: thanks
14:45
djbrooke
The rest of Harvard closed but FAS (the school/unit we're associated with) did not
14:47
pdurbin
most of the schools are closed. my kids have a snow day so I'm home with them
14:50
pdurbin
andrewSC: thanks, I should have been able to figure it out from "Raleigh" :)
14:50
andrewSC
haha ;)
14:51
pdurbin
cipherrot: you sent me a long email, right?
14:59
djbrooke joined #dataverse
15:02
djbrooke joined #dataverse
15:09
donsizemore joined #dataverse
16:27
djbrooke joined #dataverse
16:47
iamtimmo joined #dataverse
16:49
soU joined #dataverse
16:49
andrewSC joined #dataverse
17:34
andrewSC joined #dataverse
17:45
soU
Hello everybody
17:45
soU
i check out dev branch from https://github.com/IQSS/dataverse and i tried install it on glasfish 4.1 not 4.1.1 , ubuntu 16.04lts.
17:45
soU
after i build it using netbeans 8.2 and installed it and it says Ok done ..running.. but when i try to access it i got "javax.persistence.NoResultException: getSingleResult() did not retrieve any entities" and i checked if the problem caused by missing of "root dataverse" and yes dataverse table is empty . and i checked setup-all.sh.2028.log and i found "
17:45
soU
Setting up the root dataverse
17:45
soU
parse error: Invalid numeric literal at line 1, column 10"
17:46
pdurbin
soU: that NoResultException is relatively normal, unfortunately, when getting Dataverse set up for the first time
17:47
pdurbin
Here's the issue about it: Missing root dataverse results in uncaught exception and opaque HTTP 500 message page · Issue #3148 · IQSS/dataverse - https://github.com/IQSS/dataverse/issues/3148
17:47
pdurbin
soU: can you please email your setup-all.sh.2028.log file to support dataverse.org?
17:49
iamtimmo_ joined #dataverse
17:50
pdurbin
soU: also, you may or may not find these scripts useful: https://github.com/IQSS/dataverse/blob/develop/scripts/deploy/phoenix.dataverse.org/deploy . I use them to drop the database, clear out Solr, and get everything all set up again (including creating the root dataverse, which is the problem you're having).
17:53
soU
pdurbin thanks!! i'll check and let you the result. and will send the log too
17:53
soU
**let you know
17:53
pdurbin
cool, thanks, sorry this is so hard
17:53
pdurbin
I'd love to make Dataverse easier to hack on.
17:54
soU
:) it ok!! will do it together
17:57
pdurbin
soU: are you working on a GitHub issue? If so, which number?
17:57
iamtimmo_
pdurbin: Is there a way to access settings (e.g. :SystemEmail) directly from xhtml?
17:59
pdurbin
iamtimmo_: no, but you can see all the database settings with a call like this: https://dev1.dataverse.org/api/admin/settings
18:00
iamtimmo
That's too bad. It would be very handy, since the settings api allows you to set arbitrary properties.
18:01
pdurbin
iamtimmo: are you saying you'd like a GUI dashboard for examining and changing settings?
18:01
iamtimmo
pdurbin: I'll add a feature request.
18:02
soU
yes but just started. on #2437
18:03
pdurbin
soU: great! Lots of installations of Dataverse want Handle support.
18:05
soU
i'll come to u if i got questions on the process
18:06
pdurbin
soU: sounds good. Are you aware of the Handle code that has already been written at https://github.com/IQSS/dataverse/pull/3146 ?
18:13
soU
pdurbin like i said i start checking it, but yes and this https://github.com/DANS-KNAW/dataverse/releases/tag/v4.5-beta.1
18:16
pdurbin
soU: ok, makes sense. thanks!
18:31
andrewSC_ joined #dataverse
18:39
iamtimmo joined #dataverse
18:44
djbrooke joined #dataverse
18:54
djbrooke joined #dataverse
18:55
iamtimmo
pdurbin: No, I wasn't saying that I wanted a gui dashboard, was wondering if the settings properties were accessible to the xhtml, so if I wanted to modify a page, I could store a value for it to use in the database.
18:57
pdurbin
iamtimmo: ok, I'm just thinking that if I were to add this to an xhtml page, it would be this one: https://github.com/IQSS/dataverse/blob/develop/src/main/webapp/dashboard.xhtml
18:58
pdurbin
and here's a related ticket for what I'm talking about: Dashboard for Super Admins · Issue #840 · IQSS/dataverse - https://github.com/IQSS/dataverse/issues/840
18:59
iamtimmo
pdurbin: I don't need to control the values from the web GUI . I just want to access them from custom pages that I've created. Like for the branding at archive.dta.jhu.edu.
18:59
iamtimmo
Currently, I do horrible things to make this happen.
18:59
pdurbin
heh
18:59
iamtimmo
I would like to do less horrible things in the future.
19:02
pdurbin
well, SettingsServiceBean is @Named so you should be able to use it from xhtml
19:03
donsizemore joined #dataverse
19:06
pdurbin
iamtimmo: like this: <span>#{settingsServiceBean.get(":Authority")}</span>
19:08
iamtimmo
pdurbin: ah, okay. Nice. I found something else, too.
19:08
pdurbin
cool
19:09
pdurbin
iamtimmo: have you and donsizemore talked about https://github.com/tdilauro/dataverse-ansible-role vs. https://github.com/IQSS/dataverse-ansible ?
19:11
iamtimmo
I think I found a way to do this... settingsWrapper is injected into at DataversePage, so it's available everywhere as <span>#{settingsWrapper.get('<property>')}</span>
19:12
pdurbin
ah, yeah, that was added for better performance
19:12
donsizemore
@pdurbin i have something else i want to talk about first, doe!
19:12
pdurbin
I think it caches values or something.
19:13
iamtimmo
pdurbin: We have not. But my dataverse-ansible-role draws heavily on donsizemore's work, as I note in the README.
19:14
iamtimmo
donsizemore: ... a deer? a female deer?
19:14
donsizemore
@imtimmo the background is that i told @pdurbin you rewrote my stuff the way i should've in the first place (learning ansible at the time) and that yours should become the official role
19:15
donsizemore
@imtimmo that, or i was trying to decide how shamelessly i was going to start pulling stuff back over, with attribution of course
19:15
iamtimmo
donsizemore: That's mighty kind of you. Please feel free to adopt any parts of it that work for you.
19:19
iamtimmo
donsizemore: If you do decide to pull stuff back, note that one of my key pain points with the current state of dataverse-ansible is the complex variables. It is hard to override just parts of them. That's why I flattened things out in the role I built.
19:20
iamtimmo
... and also that I do horrible, horrible things in the name of customization. But I'm seeking help for that now. ;-)
19:21
pdurbin
iamtimmo: oh, all your custom stuff is in your ansible repo?
19:21
donsizemore
@pdurbin yeah, some of it is site-specific. but i like a bunch of it and can clean up dataverse-ansible in time
19:21
iamtimmo
it is. but it's fairly compartmentalized, so should be easy to clean out
19:22
pdurbin
ok, good
19:23
iamtimmo
besides. maybe some of the customization stuff will make it into the base code, if I'm able to clean it up with what we're thrashing through right now.
19:51
djbrooke joined #dataverse
19:58
donsizemore joined #dataverse
20:06
iamtimmo
pdurbin: #{settingsWrapper.get('<property>')} works great. And the admin/settings framework allows me to create my own properties, so I can do what I need to do.
20:07
iamtimmo
I will try to find some time to revamp the customizations. Then we might talk about how they could get adopted.
20:10
pdurbin
iamtimmo: sure, you know which GitHub issue we're using for customizations? I can dig it up.
20:10
pdurbin
Installation Branding - Customize/configurable navbar logo + links, landing pg etc. · Issue #2003 · IQSS/dataverse - https://github.com/IQSS/dataverse/issues/2003
20:13
iamtimmo
pdurbin: Thanks!
20:14
iamtimmo
I'll review it.
20:19
pdurbin
cool
20:23
pdurbin
we don't plan to work on this until 4.7
20:23
iamtimmo
pdurbin: so, you're saying that I have days to get this organized?
20:23
pdurbin
heh, take your time :)
20:24
iamtimmo
I have to get all of my DV work done before the end of this month, when I get reassigned.
20:24
pdurbin
hmm, ok
20:25
pdurbin
well, from a design perspective, the customization stuff is in the backlog: https://trello.com/c/uabSUmI0/11-installation-customization-4-7
20:27
iamtimmo
okay. I'll make things more manageable and share them. Then y'all can decide what to with it.
20:27
pdurbin
sounds good. this will all be in your ansible repo?
20:40
iamtimmo
pdurbin: I'll do this in a my fork of dataverse. That'll probably make things easier.
20:47
pdurbin
iamtimmo: ok, but is https://github.com/tdilauro/dataverse the one you're running in production?
21:29
iamtimmo
pdurbin: no, it is not. the last time I used it was for the SQL migration pull request on branch 3161-migration-offset-null-id-fix
21:30
pdurbin
yeah, it seems pretty far behind
21:31
iamtimmo
I pulled develop from https://github.com/tdilauro/dataverse.git a little while ago and made a new branch for this stuff, though I don't remember if I've pushed any of that back yet.
21:32
iamtimmo
at any rate, my working copy is up to date
21:33
pdurbin
ok, when you push, please let me know. For all the installations on the map at dataverse.org I try to keep track of forks, if they're public
21:35
pdurbin
I wrote a bit about this here: https://github.com/IQSS/miniverse/issues/53#issuecomment-253809402
22:23
donsizemore joined #dataverse
22:52
djbrooke joined #dataverse