[OPEN-ILS-DEV] Developer Image Issue

Joseph Lewis joehms22 at gmail.com
Wed Mar 23 11:36:33 EDT 2011


On Wed, Mar 23, 2011 at 9:21 AM, Dan Scott <dan at coffeecode.net> wrote:

> On 23 March 2011 11:16, Joseph Lewis <joehms22 at gmail.com> wrote:
> > I downloaded the developer image so I could work on a bite-sized bug and
> I
> > can't seem to get the staff-client working.  I have tried the username
> and
> > password in the configuration file, checked the database (the username is
> > right, and the password is the correct md5sum).
> >
> > The md5sum of the developer image I have is:
> > 29f4c567f9a0042ef2c6ca4345393ded, this wasn't available on the downloads
> > page so I couldn't confirm it.
> >
> > Did I completely miss something?
>
> Hi Joseph:
>
> That's the right md5sum (I'll add it for the benefit of others). Can you:
>
> 1) tell us what filename you have for the OVA file (see
> http://markmail.org/message/3g7scf6n7yvszdwd) and
> 2) what version of VirtualBox you're running and
> 2) what is the exact error that VirtualBox is reporting?
>
> Dan
>

The filename is "Evergreen_trunk_Squeeze.ova", and it installs perfectly and
starts up seemingly fine.
VirtualBox 4.04 r70112

It is actually the bundled staff-client that is giving me the problem, here
is what I did on my server:

*Setup:*
evergreen at squeeze:~/Desktop$ su opensrf
Password:
opensrf at squeeze:/home/evergreen/Desktop$ osrf_ctl.sh -l -a start_all
OpenSRF Router already started : 1612 1613
Starting OpenSRF Perl
* starting all services for localhost
* opensrf.settings is already running
* open-ils.acq is already running
* open-ils.booking is already running
* open-ils.cat is already running
* open-ils.supercat is already running
* open-ils.search is already running
* open-ils.circ is already running
* open-ils.actor is already running
* open-ils.storage is already running
* open-ils.penalty is already running
* open-ils.collections is already running
* open-ils.ingest is already running
* open-ils.reporter is already running
* open-ils.permacrud is already running
* open-ils.trigger is already running
* open-ils.fielder is already running
* open-ils.vandelay is already running
* open-ils.serial is already running
OpenSRF C (host=localhost) already started : 1640

*Apache Restart*:
root at squeeze:~# /etc/init.d/apache2 restart
Restarting web server: apache2[Wed Mar 23 11:26:11 2011] [warn]
NameVirtualHost *:80 has no VirtualHosts
 ... waiting [Wed Mar 23 11:26:12 2011] [warn] NameVirtualHost *:80 has no
VirtualHosts
.
*
Start staff-client:
*evergreen at squeeze:~/Desktop$ cat xulrunner.sh *(My custom staff
client-starter, the same happens if I manually type it in)*
#!/bin/bash
cd /home/evergreen/Evergreen-trunk/Open-ILS
xulrunner-1.9.1 xul/staff_client/build/application.ini *(There is a typo on
the instructions page that improperly says xulrunner-1.9-1)*


evergreen at squeeze:~/Desktop$ ./xulrunner.sh
Loading main/main.xul
Loading constants.js
Loaded main/main.xul
entering main/main.js
exiting main/main.js
lang.version = remote v1
entering main_init()
entering util/error.js
exiting util/error.js
-----------------------------------------
1300893993877    delta = 0    D_ERROR
Testing
-----------------------------------------

*... lots of stuff omitted* ...

version url = https://localhost/xul/0trunk_19810/server/

*Tried admin / open-ils*
-----------------------------------------
1300894008488    delta = 14530    D_ERROR
open-ils.auth.authenticate.init returned false

-----------------------------------------
file:
/home/evergreen/.openils/open_ils_staff_client/3eh5vwts.default/chrome/last_ws_server

*Tried demo / demo123*
-----------------------------------------
1300894022604    delta = 11897    D_ERROR
open-ils.auth.authenticate.init returned false

-----------------------------------------



That was all it took to set up the server, next I checked that the md5 in
the database was the same as the actual password:

evergreen at squeeze:~/Evergreen-trunk/Open-ILS$ psql
psql (9.0.3)
Type "help" for help.

evergreen=# \c evergreen
You are now connected to database "evergreen".
evergreen=# SELECT (id,passwd,usrname) from actor.usr;
                    row
--------------------------------------------
 (2,62cc2d8b4bf2d8728120d052163a77df,demo)
 (1,3de81b97efbec901477e3679c2cf9ff2,admin)
(2 rows)

evergreen=# \q
evergreen at squeeze:~/Evergreen-trunk/Open-ILS$ md5sum
open-ils 3de81b97efbec901477e3679c2cf9ff2  -



I suspect that there is a javascript not doing its job in the staff-client,
but I'm not sure.

Thanks,
   Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20110323/91800b53/attachment-0001.htm 


More information about the Open-ils-dev mailing list