2009-12-20T01:32:16 *** pmplett has quit IRC 2009-12-20T10:54:38 *** mck9 has joined #evergreen 2009-12-20T11:46:16 *** Godzilla8NJ has joined #evergreen 2009-12-20T11:48:43 Trying to install OpenSRF on Ubuntu Jaunty (9.04.) Read that requires a downgrade of ejabberd to 2.0.1-2 but not sure how-to. 'apt-cache showpkg ejabberd' returns squat. Is there a deb somewhere or do I have to compile it? 2009-12-20T11:56:27 I've added the Intrepid universe repository to my sources.list. That will allow me to 'sudo apt-get install -y ejabberd=2_0_1-2' but seems inelegant. Suggestions? 2009-12-20T12:30:24 *** Sigurd has joined #Evergreen 2009-12-20T12:30:47 *** Sigurd is now known as Guest41929 2009-12-20T12:31:45 *** Guest41929 is now known as Sigurd_ 2009-12-20T12:32:15 *** Sigurd_ is now known as Guest5174 2009-12-20T12:33:15 *** Guest5174 is now known as Vytad 2009-12-20T12:36:04 Hi, I am currently installing Evergreen 1.6 on Ubuntu Karmic, I followed the instructions carefully and copied the Makefile.install from the trunk since the ubuntu-karmic target isn't available in the original archive. Now, I'm trying to start OpenSRF and when OpenSRF Perl starts, it says "Can't locate OpenSRF/utils/Logger.pm".. is there a specific module/deb file I have to install? 2009-12-20T12:54:18 Vytad: make sure your PERL5LIB environment variable has /openils/lib/perl5 in it 2009-12-20T12:58:53 phasefx: there isn't such a directory though 2009-12-20T13:12:04 *** jmeeuwen has joined #evergreen 2009-12-20T13:18:09 phasefx: thanks for your tip though, I think I'm getting somewhere. It seems that the OpenSRF directory didn't get copied in /openils/lib (not sure if it's meant to though) 2009-12-20T13:21:01 phasefx: awesome, I just got it working, no idea why that didn't happen 2009-12-20T13:25:58 *** Vytad has quit IRC 2009-12-20T13:44:43 *** natschil has joined #evergreen 2009-12-20T14:37:14 *** jamesrf has joined #evergreen 2009-12-20T15:26:45 *** natschil has quit IRC 2009-12-20T17:34:34 *** Godzilla8NJ has quit IRC 2009-12-20T18:55:14 *** Vytad has joined #Evergreen 2009-12-20T18:58:51 hi, I'm installing Evergreen and I'm generating the webpages using the autogen.sh file located in /openils/bin, and it fails at the OrgTree.js -- says it cannot find it.. I tried using "find /openils -name OrgTree.js", but no hits 2009-12-20T19:04:57 *** wlayton has joined #evergreen 2009-12-20T20:30:51 *** wlayton has quit IRC 2009-12-20T21:21:45 Vytad: you're running autogen.sh as user opensrf? 2009-12-20T21:27:19 phase: yep 2009-12-20T21:27:39 and opensrf is running too 2009-12-20T21:29:12 both request opensrf.math and login tests are working too 2009-12-20T21:31:28 I think autogen.sh creates OrgTree.js, not look for it 2009-12-20T21:32:27 paste a transcript into http://paste.lisp.org/new/evergreen ? 2009-12-20T21:33:04 okay, you mean the error output? 2009-12-20T21:33:25 right, the commands, the errors, the prompt 2009-12-20T21:33:35 okay, I will 2009-12-20T21:42:34 Vytad pasted "OrgTree.js" at http://paste.lisp.org/display/92404 2009-12-20T21:47:56 how much of that path for OrgTree.js exists for you? 2009-12-20T21:49:42 ... /openils/var/web/opac/common/js 2009-12-20T21:49:59 (ignore the ...) 2009-12-20T21:50:38 the only directory in js is jscalendar 2009-12-20T21:50:56 paste an ls of that directory? 2009-12-20T21:51:01 ah 2009-12-20T21:51:39 I've never seen such a state, so no bells are ringing for me 2009-12-20T21:51:43 is it required to set up a locale somewhere before launching the script? 2009-12-20T21:52:22 no, that shouldn't be the case. Are all those files owned by opensrf? 2009-12-20T21:52:35 there's a file OrgUtils.js somewhere, is it different? 2009-12-20T21:52:50 I think so, but I'll use chown just to make sure 2009-12-20T21:55:21 I have an OrgTree.js in /js, but I think it may be used as a template for the whole i18n building process 2009-12-20T21:57:12 apparently, according to the autogen.sh, it is running org_tree_js.pl and then it is copyring the file 2009-12-20T21:57:32 that perl script probably fails doing what it is supposed to do 2009-12-20T22:00:33 it's pulling local translations from the database and creating those locale specific files 2009-12-20T22:01:00 ah ok 2009-12-20T22:01:25 I don't remember having any problems when I set up the database though 2009-12-20T22:01:45 yeah, I don't think the db is the problem 2009-12-20T22:02:33 okay, this has happened before according to google 2009-12-20T22:03:13 yeah, I saw that but I don't think somebody found the answer? 2009-12-20T22:03:47 ohh I think it's working now, I reset the opensrf processes 2009-12-20T22:04:03 yep, the autogen.sh script worked 2009-12-20T22:04:22 cool deal 2009-12-20T22:05:35 I'm getting closer! 2009-12-20T22:07:32 *8) 2009-12-20T22:26:37 phasefx: now when I get in the dynamic catalog, nothing happens if I click on search or such, and when I try to login with the staff client it says "Reference Error: dojo is not defined" 2009-12-20T22:27:03 I feel like I'm having more problems than I should, haha 2009-12-20T22:27:10 are you installing from the 1.6 tarball or subversion? 2009-12-20T22:27:18 subversion 2009-12-20T22:27:56 you have to install dojo by hand in that case. Did you? 2009-12-20T22:28:29 the 1.6 tarball doesn't have the ubuntu-karmic target :-| 2009-12-20T22:28:36 no, how can I do that? 2009-12-20T22:28:57 not much difference between ubuntu-karmic target and the other ones. one sec 2009-12-20T22:29:10 ok, thanks 2009-12-20T22:29:31 the Makefile.install file won't handle dojo for you in any case, though 2009-12-20T22:31:43 it also says js2JSON is not defined, then perm_ex.. hopefully it is all dojo-related 2009-12-20T22:33:32 see this for an example of installing dojo. I'll check to see which version of dojo you need: 2009-12-20T22:33:35 http://evergreen-ils.org/dokuwiki/doku.php?id=upgrading:evergreen:1.4_to_2.0 2009-12-20T22:34:19 ok, thanks 2009-12-20T22:34:21 1.3.2 2009-12-20T22:35:04 there's an advantage to the dojo bundled with the tarball.. it's been compressed/slimmed down 2009-12-20T22:35:11 so is faster to use in a production environment 2009-12-20T22:38:34 http://evergreen-ils.org/dokuwiki/doku.php?id=scratchpad:random_magic_spells#custom_dojo_build 2009-12-20T22:41:44 yeah.. I guess I can remove the /openils directory and install the 1.6 tarball ? 2009-12-20T22:41:52 however, which target should I use? 2009-12-20T22:44:12 another advantage to the tarball is the i18n dance has been done. lemme see.. 2009-12-20T22:44:57 oh okay.. well I'm nowhere near a production system.. I'm just experimenting :) 2009-12-20T22:45:33 but I'd like things to work right. I'd like to be able to implement it one day, if required 2009-12-20T22:47:39 I'd try intrepid 2009-12-20T22:47:44 that target 2009-12-20T22:47:57 yeah, the latest one 2009-12-20T22:48:20 I wouldn't expect for the package names to change all that often 2009-12-20T22:48:53 I probably have all of them anyway 2009-12-20T22:50:32 seems to be working fine with dojo now though.. except that the opac page keeps reloading.. 2009-12-20T22:50:46 well, that's interesting 2009-12-20T22:50:56 opac within the staff client? that can happen if the session expires 2009-12-20T22:51:15 dojo 1.3.2 wasn't available, only dojo 1.4.0 is now 2009-12-20T22:52:14 maybe there's something else I have to do.. 2009-12-20T22:52:30 http://download.dojotoolkit.org/release-1.3.2/ 2009-12-20T22:53:18 I wouldn't try a major version change with dojo 2009-12-20T22:53:33 ahhh, okay, thanks, I'll try with 1.3.2 then 2009-12-20T23:00:53 awesome, 1.3.2 is the only way it works 2009-12-20T23:01:28 I finally got it working, thanks a lot phasefx for your help 2009-12-20T23:01:41 excellent, np 2009-12-20T23:25:55 *** Vytad has quit IRC