IQSS logo

IRC log for #dataverse, 2018-05-22

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
06:50 jri joined #dataverse
07:17 dataverse-user joined #dataverse
07:34 jri joined #dataverse
07:57 dataverse-user 有人吗
07:58 dataverse-user hello
07:58 dataverse-user left #dataverse
07:59 iGame joined #dataverse
09:08 Venki joined #dataverse
09:09 Venki Hi Do anyone know where can I find the error logs for Solr?
09:09 Venki I have uploaded a custom metadata block and its failing during the dataset creation..
09:10 Venki I need to find out the logs to see which field is failing
09:35 dataverse-user joined #dataverse
10:46 pdurbin I'm not even sure but I bet we could google for the answer. We should probably bubble the error right up to the Dataverse user interface.
10:57 juancorr joined #dataverse
11:22 pdurbin juancorr: thanks for answering questions here yesterday!
11:28 juancorr Thanks you pdurbin for all your support :-).
11:28 juancorr Now I am a little blocked . I am found a method to found the Root Dataverse without use a bean.
11:29 pdurbin interesting, I always use a bean, I think
11:30 juancorr Ok. I will continue to try it.
11:34 pdurbin DataverseServiceBean.findRootDataverse
11:43 juancorr Thank you. I have seen it, but I was trying not to change a lot abollini code.
11:44 juancorr I would trying not use Beans.
11:44 pdurbin Ok. I haven't heard from abollini in a while.
11:46 pdurbin juancorr: why not use beans?
11:48 pdurbin The "root" dataverse is the one that doesn't have an "owner". owner_id is null for the root dataverse: http://phoenix.dataverse.org/schemaspy/latest/tables/dvobject.html
11:48 juancorr To use beans I should do major changes in abollini code to complain OpenAIRE guidelines and trace changes will be more difficult.
11:48 juancorr abollini code is not far to be OpenAIRE compliant.
11:50 pdurbin What do we need to do to make the code OpenAIRE compliant?
11:51 juancorr I could call to database, but the standard way that I have found in Dataverse is use the EntityManager and EntityManager is another bean.
11:51 juancorr For PF #4664
11:52 juancorr Sorry, PR #4664
11:52 pdurbin Yes, thanks. I was just looking again at the list of errors you posted at https://github.com/IQSS/dataverse/pull/4664#issuecomment-389884626
11:56 juancorr OpenAIRE guidelines remarks for publisher: "An entity responsible for making the resource available. Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity".
11:57 juancorr Publisher is mandatory in xsd file (not in guidelines). I think that the publisher could be the root dataverse is there are not another publisher.
11:58 pdurbin Ok, so the publisher should be "e-cienciaDatos" or "Harvard Dataverse" or whatever.
11:58 juancorr Yes, I think so.
11:58 pdurbin getInstallationBrandName at https://github.com/IQSS/dataverse/blob/v4.8.6/src/main/java/edu/harvard/iq/dataverse/branding/BrandingUtil.java#L9
11:59 pdurbin ... which is just the name of the root dataverse.
12:00 juancorr Thank you very much. I didn't know the BrandingUtil class. It is perfect.
12:02 juancorr Sorry, is not useful for me. It need the rootDataverseName too.
12:03 pdurbin yeah, you still need a bean
12:05 pdurbin juancorr: which line of which file are you working on?
12:07 juancorr I am working in the OpenAireExportUtil class. It is a new class created for abollini.
12:07 juancorr But I think that I will use beans. But changes to PR will not be ready until tomorrow. Sorry.
12:12 pdurbin There is no need to apologize. Instead of doing the work, you could ask abollini to do it. You could leave a comment on the issue or pull request.
12:15 juancorr Perfect. I will do the pull request and I will leave the comment to abollini.
12:17 pdurbin juancorr: thanks!
12:39 danmcp joined #dataverse
12:43 danmcp joined #dataverse
13:05 danmcp joined #dataverse
13:10 juancorr pdurbin: thanks to you.
13:19 Thali_UM joined #dataverse
13:44 pdurbin juancorr: you're going to make a pull request against abollini's branch?
13:44 pdurbin danmcp: welcome back :)
13:44 danmcp pdurbin: thx!
13:45 pdurbin danmcp: check this out. Someone opened a "Docker for production" issue recently: https://github.com/IQSS/dataverse/issues/4665
13:54 danmcp cool.  I am working on internship goals right now actually
13:54 danmcp to make some further progress
13:55 pdurbin danmcp: nice. Do you think we should back up and work more on the Docker images?
13:55 danmcp pdurbin: that's #1 on the list
13:56 pdurbin Awesome. That seems to be the consensus here too. Well, pameyer and I think that should be the next step anyway. We're the ones who are most interested in all this container stuff. :)
14:00 juancorr pdurbin: Yes, I am going to make the pull request within a few minutes.
14:00 pdurbin juancorr: great! Thanks!
14:21 pameyer joined #dataverse
14:46 pameyer pdurbin: I was reminded about when we were talking about "legacy" python2 vs python3 yesterday.  a sysadmin I was talking to mentioned preferring not to install things from non-distro repositories (like python3 from epel), and it looked to me like python3 wasn't in the official cent7 repos
14:51 pdurbin pameyer: legacy python is a thing. I'm going to start recommending that we start upgrading any Django apps to Django 2 which is almost the same as Django 1.x but requires Python 3. Saying "runs on Django 2" is a shorthand for saying "requires Python 3".
14:51 pdurbin pameyer: danmcp and I were just talking about improving the Docker images some day. ^^
14:51 pameyer ^ I saw the logs ;)
14:51 pameyer FYI - django 2.0 isn't LTS
14:52 pameyer 1.11 should be
14:53 pameyer only mentioned the legacy / no epel thing because it seemed like it might run into an interesting conflict case at some point
14:53 pdurbin pameyer: you're right. I just heard all about this at https://talkpython.fm/episodes/show/161/django-2.0 . So I'll hold my tongue until Django 2.2 comes out.
14:54 pdurbin Hmm, according to Wikipedia Django 2.2 won't be out until April of next year. Oh well.
14:54 pameyer I've learned my lesson about building stuff using LTS releases whenever possible
14:55 pdurbin Yes. As a former sysadmin, I'll all about LTS stuff.
14:55 pameyer that too.  I was thinking as a dev, hey - didn't I just upgrade this thing?
14:56 pdurbin Same with Java. We should only support LTS releases. We should go from Java 8 to Java 11.
15:28 pameyer joined #dataverse
15:55 pameyer joined #dataverse
15:57 pameyer joined #dataverse
16:09 jri joined #dataverse
16:20 pameyer joined #dataverse
16:29 Thali_UM joined #dataverse
16:30 jri joined #dataverse
16:47 danmcp joined #dataverse
17:22 pameyer joined #dataverse
18:44 Thali_UM Good afternoon Philip
18:46 Thali_UM through the file dataverser-4.8.4.war or Source code (zip), can I create the installer dvinstall.zip?
18:51 pameyer Thali_UM: `cd scripts/installer ; make clean ; make`
18:51 pameyer after you've built the war
18:54 Thali_UM Then is about use Maven
18:55 pameyer correct - this is after `mvn package`
18:55 pameyer pdurbin would know better than I for netbeans
18:58 pameyer joined #dataverse
18:59 Thali_UM Ok, thank you pameyer, I will try with use Maven
19:01 jri joined #dataverse
19:01 pameyer joined #dataverse
19:06 Thali_UM pameyer
19:07 Thali_UM first I must install the project by means of 'mvn install'?
19:08 pameyer nope - `mvn install` shouldn't be needed
19:08 pameyer at least, not to build the installer
19:11 Thali_UM I'm a little lost regarding the use of maven
19:18 pdurbin Thali_UM: the only Maven commands I use are `mvn clean` and `mvn package`. I wrote a little about this at http://guides.dataverse.org/en/4.8.6/developers/tips.html#deploying-with-asadmin
19:19 Thali_UM Thank you Philip
19:22 Thali_UM I don't understand
19:22 Thali_UM sorry I'm confused
19:23 Thali_UM Is that the form to create a dvinstall.zip?
19:24 pdurbin Thali_UM: no, like pameyer was saying, you have to run `make` to create dvinstall.zip
19:25 pdurbin Thali_UM: this *might* help explain `mvn package` vs `make`: http://guides.dataverse.org/en/4.8.6/developers/making-releases.html#make-artifacts-available-for-download
19:25 Thali_UM inside the directory where pom.xml is located
19:33 pdurbin Thali_UM: for `mvn package` to work, yes, you need to be in the directory where pom.xml is located
19:34 Thali_UM I have problem with SMTP (mail)
19:34 Thali_UM please select a valid mail server and try again
19:35 pdurbin ok
19:35 Thali_UM I inserted 'localhost'
19:36 Thali_UM I'm working in a MAC
19:36 pdurbin Thali_UM: this might help: http://guides.dataverse.org/en/4.8.6/developers/troubleshooting.html#configuring-troubleshooting-mail-host
19:56 Thali_UM Installer could not find POSTGRES JDBC driver for your version of PostgresQL!
19:56 Thali_UM (10.4) at ./install line 1044.
20:02 pdurbin Thali_UM: you're using PostgreSQL 10.4?
20:03 Thali_UM yes
20:04 Thali_UM I'm sory but I don't know how install postgres 9.x through commands in the MAC terminal
20:04 Thali_UM and I installed it directly 'brew install postgresql'
20:05 pdurbin Thali_UM: can you please try postgres 9.4.17 as explained at http://guides.dataverse.org/en/4.8.6/developers/dev-environment.html#install-postgresql ? There is a graphical installer mentioned there called "Interactive installer by EnterpriseDB" that I tried recently and it worked fine.
20:05 pameyer joined #dataverse
20:05 Thali_UM thank you
20:05 Thali_UM I will try :)
20:05 pdurbin thanks :)
20:05 pdurbin should work!
20:08 Thali_UM 9.6.9??
20:29 pameyer joined #dataverse
20:37 Thali_UM Thanks Philip
20:47 Thali_UM Is postgresql running?
20:47 Thali_UM On a RedHat-like system, you can check the status of the daemon with
21:06 pameyer joined #dataverse
21:10 pameyer Thali_UM: if `psql -l` doesn't give you an error message, then it's probably running
22:01 dataverse-user joined #dataverse
22:18 pdurbin joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.