IQSS logo

IRC log for #dvn, 2013-02-14

We've moved! Please join #dataverse instead. The new logs are at http://irclog.iq.harvard.edu/dataverse/today

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

All times shown according to UTC.

Time S Nick Message
00:00 shubh joined #dvn
00:33 pdurbin sbmarks: ah, you were cheating! ;)
00:33 pdurbin shubh: hi!
02:55 shubh left #dvn
03:00 shubh joined #dvn
03:02 shubh Hi! Anyone here? :)
03:07 pdurbin here but it's late :)
03:07 pdurbin shubh: you're from the future aren't you? :)
03:07 pdurbin it's still wednesday here
03:08 shubh aah, its Thursday here, 4 Pm to be exact. :)
03:10 shubh Its great to read the logs here and learn as to how developers at Dataverse work and share their ideas. :)
03:13 shubh I however am still stuck with the same issue of trying to find a solution to the HTML error bug, is it possible to fix it for the 3.3 version?
03:15 pdurbin you're talking about https://groups.google.com/d/topic/dataverse-community/jGnGVPI5BVU/discussion
03:16 pdurbin which i *think* is this bug: https://redmine.hmdc.harvard.edu/issues/2729
03:18 pdurbin i'm looking at an email from a team member from Jan. 28. he seems to know how to fix this (but i don't)
03:18 pdurbin shubh: can you please email your question to dvn_support@help.hmdc.harvard.edu ?
03:18 pdurbin this will give you a ticket number for tracking
03:19 shubh Allright, will do. Thanks. :)
03:19 pdurbin yep :)
03:20 shubh And i was wondering that is there any way to automate the process of uploading the data in dataverse?
03:22 pdurbin well, we have a new feature as of 3.3 that allows you to upload a zip file
03:22 pdurbin and the zip file can contain many files
03:23 pdurbin people seem to like it
03:23 pdurbin there might be other solutions as well that i'm not aware of. i've only been on the team a couple months
03:24 pdurbin you could check http://guides.thedata.org or email the list or open a separate support ticket for this
03:28 shubh Oh all right. will do that as well. Thanks a lot again, good night :)
15:07 uutrecht joined #dvn
15:07 uutrecht hello Philip are you there?
15:08 uutrecht I am having a hard time getting the build environment for dvn running
15:08 pdurbin uutrecht: yes. hi!
15:08 uutrecht great you're there :)
15:09 pdurbin i think i'm going to start publishing "feature branches" on github
15:09 uutrecht i try to build the project but i keep getting erros on a missing /root/NetBeansProjects/dvn/src/DVN-ingest/​src/edu/harvard/iq/dvn/ingest/org/thedata/​statdataio/metadata/SDIOMetadata.java:25: error: package org.apache.commons.lang does not exist import org.apache.commons.lang.StringEscapeUtils;
15:10 uutrecht i am sure i added the library as a read in the developer guide
15:12 pdurbin under Tools -> Ant Libraries
15:12 pdurbin ICEfaces Components (2.0.2)
15:12 pdurbin do you see nbinst://org.netbeans.libs.commons_logg​ing/modules/ext/commons-logging-1.1.jar ?
15:12 pdurbin (this was red for me)
15:12 pdurbin i removed it
15:13 pdurbin then i clicked "Add JAR/folder" and added ~/NetBeansProjects/dvn/lib/dv​n-lib-WEB/commons-logging.jar instead
15:13 pdurbin that was for 'Reference Problems: "icefaces2-ice" library (in DVN-web) has missing items'
15:14 pdurbin which may not be your problem :/
15:14 uutrecht yes its red
15:15 pdurbin uutrecht: are you Hans? from ticket 153048?
15:16 uutrecht regarding the filetypes?
15:16 pdurbin "#153048: checking out to netbeans"
15:16 uutrecht yes regaring git and the 3.3
15:17 pdurbin ok :)
15:17 pdurbin nice to meet you :)
15:17 uutrecht thanks :)
15:17 uutrecht i am just restarting the netbeans
15:19 uutrecht ok the reference problem is gone. but i stell have the org.apache.commons.lang erros
15:19 pdurbin hmm. well, *some* progress...
15:19 uutrecht this import goes wrong: /root/NetBeansProjects/dvn/src/DVN-ingest/​src/edu/harvard/iq/dvn/ingest/org/thedata/​statdataio/metadata/SDIOMetadata.java:25: error: package org.apache.commons.lang does not exist import org.apache.commons.lang.StringEscapeUtils;
15:20 pdurbin do you have the DVN-ingest project open?
15:21 uutrecht just web i see
15:21 uutrecht open them all
15:21 pdurbin "NetBeans should detect 5 projects. Click Open Project. Select DVN-web and check Open Required (so that DVN-ingest is also opened) and click Open." -- http://dvn.github.com/dvn-sourceforge2github/dvn-dev-on-github/quickstart/
15:21 pdurbin DVN-ingest is required
15:22 uutrecht dont see the open required option
15:22 pdurbin yeah, i think you only see it when you first do a clone...
15:23 pdurbin but you can open it after the fact
15:23 pdurbin File -> Open Project
15:23 uutrecht if I select the DVN-ingest it just goes down into that folder
15:25 pdurbin in /root/NetBeansProjects/dvn/src ?
15:26 uutrecht yes i see i was in the wrong folder
15:28 uutrecht ok i open the 5 projects
15:28 uutrecht now i have new reference problems
15:28 uutrecht lockss-daemon library could not be found
15:29 pdurbin buh
15:30 * pdurbin looks at http://dvn.github.com/dvn-sourceforge2github/dvn-dev-on-github/quickstart/
15:30 pdurbin i don't think I've seen that
15:31 uutrecht maby the order of the projects is wrong
15:31 pdurbin hmm. i don't *think* that matters...
15:31 pdurbin you might want to try deleting everything and starting over using http://dvn.github.com/dvn-sourceforge2github/dvn-dev-on-github/quickstart/
15:32 uutrecht the project uses a class library called lockss-daemon
15:32 pdurbin that's just a temporary guide, by the way, i'll merge it into http://guides.thedata.org some day
15:33 pdurbin hmm, i see ${libs.lockss-daemon.classpath} at src/DVN-lockss/nbproject/project.properties
15:35 * pdurbin calls for reinforcements
15:37 pdurbin uutrecht: can you build anyway?
15:38 uutrecht no it gives errors on icefaces
15:38 pdurbin what's the error, please?
15:38 pdurbin oh oh
15:38 pdurbin wait
15:38 uutrecht error package irg.icefaces.components.fileentry does not exist
15:39 pdurbin you opened all 5 projects?
15:39 pdurbin you only need 2 projects open: DVN-web and DVN-ingest
15:39 uutrecht EAR, EJB, ingest lockss, web
15:39 pdurbin can you please close the others?
15:40 uutrecht BUILD SUCCESFUL
15:40 uutrecht great
15:40 pdurbin \o/
15:41 uutrecht can i run it in glassfish?
15:44 pdurbin sorry, one sec
15:44 pdurbin uutrecht: how does this look? should only have 2 projects open · fc56ea5 · dvn/dvn-sourceforge2github - https://github.com/dvn/dvn-sourceforge2github/commit/fc56ea5d3f4963b6d2a8fc48f62e6bf524212218
15:47 uutrecht ok thx i should have been a bit more precise with the instruction thx for the help
15:48 pdurbin credit for leonid for noticing you said you opened all 5 projects :)
15:55 pdurbin uutrecht: you can go ahead and try it on glassfish. sure
15:55 uutrecht hold for a sec :) maby i found another problem
15:57 uutrecht i see a ! on optionspage
15:57 uutrecht utilities page
15:57 uutrecht and addfiles page
15:58 uutrecht regarding import org.icefaces.component.fileentry
15:59 uutrecht i had a build succesfull that was probably because i had dvn-ingest selected
16:00 uutrecht there is still a remaining issue with icefaces
16:01 uutrecht it's all on the icefaces import
16:05 pdurbin hmm
16:07 pdurbin did you install the icefaces plugin? http://guides.thedata.org/book/2-install-icefaces-20-libraries-and-netbeans-plugins
16:38 pdurbin i think i'd like to change that to tell everyone to get the icefaces jars from http://anonsvn.icesoft.org/repo/maven2/releases/ rather than http://dvn.iq.harvard.edu/dev/icefaces/ICEfaces-2.0.2-Netbeans-7.0.zip though. see also https://github.com/IQSS/iqss-javaee-template/commit/b4f197daf5cab2f91526f7953b384e6b69f42c40#examples/web/hello1/pom.xml where icefaces 2.0.2 is added
17:18 uutrecht ok so when i get those icesfaces, i still need to edit the pom?
17:18 pdurbin um. no, sorry for the confusion
17:18 pdurbin pom.xml is for maven
17:18 pdurbin dvn is still using ant
17:19 uutrecht oh ok that is old..
17:19 pdurbin (though we're thinking of switching: https://redmine.hmdc.harvard.edu/issues/2738 )
17:19 pdurbin your best bet is to follow http://guides.thedata.org/book/2-install-icefaces-20-libraries-and-netbeans-plugins . that's what i do
17:19 uutrecht but i did use the harvard plugin
17:20 pdurbin and what errors are you seeing?
17:20 uutrecht ok then i take the upper link
17:20 uutrecht it is missing 'FileEntry'
17:21 uutrecht org.icefaces.component....
17:21 uutrecht maby i need to change the iceface library someplace else?
17:25 uutrecht ok i checked under project and under and its the dvn/lib/dvn-lib-WEB version of commons-logging.jar
17:27 pdurbin you should see various icefaces stuff in Tools -> Ant Libraries
17:28 uutrecht i think its from acefaces-ace i'll add that one
17:29 pdurbin great
17:31 uutrecht i am using jdk 7 it complains about bootstrap 1.6 this is fixed when i use jdk 6. does it matter?
17:34 pdurbin hmm, not sure
17:34 pdurbin i need to step out but the FileEntry thing might happen if you don't run the installer: http://guides.thedata.org/book/0-automated-installer-new-v30
17:35 pdurbin "./install-dev"
17:37 uutrecht it did build now
17:37 uutrecht but i got a message could not load dependand class for jdepend, planarimage and mavenrepository
17:39 uutrecht if i want to run the new war file i need the sql reference data for 3.4?
18:22 pdurbin so your build was successful. that's good. you have a war file
18:23 pdurbin now you need an "application environment" which is glassfish plus postgresql, at minimum
18:26 pdurbin uutrecht: is this your first time setting up a dev environment for dvn?
18:50 pdurbin oh, before i forget, we replied to shubh (above) in ticket 153472. the workaround is to fix the html in the database. will be fixed in 3.4
21:26 pdurbin getVarHitIds() returns studyIds for variable query - https://github.com/IQSS/dvn/blob/3.3/src/DVN-EJB/src/java/edu/harvard/iq/dvn/core/index/Indexer.java#L921
21:28 pdurbin (just me thinking about solr): https://redmine.hmdc.harvard.edu/issues/2656
21:47 pdurbin getting warmer anyway :)

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

We've moved! Please join #dataverse instead. The new logs are at http://irclog.iq.harvard.edu/dataverse/today