Re: [OPEN-ILS-GENERAL] staff clients and virtual images, was Re: forum?
was wondering how i could make the opensrf processes sleep. they dont seem to sleep after i restart the evergren system with start_all works but it doesnt work in my startup script which contains the same thing. i am using evergreen 1.2.2 and htis is resulting in my evergreen system not starting .any help On 6/29/09, Nuku Ameyibor nayi...@gmail.com wrote: i was able to make the opac work .i put in some commands inbetween the startup scripts to make the commands sleep in between starting of the router,perl ,opensrf.it made it work.i dont know whether this is a hollistic solution, just wanted to make sure. when i want to however make a hold , the page just goes on and on . that is the progress bar keeps on moving and moving without stopping or giving feedback.any suggestions On 6/29/09, Nuku Ameyibor nayi...@gmail.com wrote: this is the error i was getting :this is from the moziila javascript debug window Error: [Exception... 'A server error occurred. Debug information follows: code = 500 debug: osrfMethodException : *** Call to [open-ils.search.biblio.record.mods_slim.retrieve] failed for session [1246275768.809913.12462757682262], thread trace [1]: * ! EXCEPTION ! * TYPE: OpenSRF::EX::Session Mess: Session Error Mess: rou...@evergreen-server.localdomain/open-ils.cstore IS NOT CONNECTED TO THE NETWORK!!! Loc.: 185 OpenSRF::Application Loc.: /openils/lib/perl5/OpenSRF/Application.pm Time: Mon Jun 29 07:42:48 2009 payload: []' when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001e (NS_ERROR_XPC_JS_THREW_STRING) location: unknown data: no] On 6/29/09, Nuku Ameyibor nayi...@gmail.com wrote: thanks for all your help so far .its very much appreciated.i have a small problem. i have written some startup script to automatically run the evergreen services needed to start evergreen.this is because our server goes off at a specific time and comes back on again at another time.i was testing the scripts .they work well. butr whenever i try accesing the opac over the web interface and i make a search .the results list comes .but the actual results dont come. all is see is the1-8 of 8 resultset list but no actual list itself.i asm thinking its some sort of javascript error . do you have any suggestions on how i can reslove this? i tried having a look at the javascript debugger from the mozilla browser which i was using.its giving me these errors. about the opensrf router not connected to the network or something of that sort.no results came the second this i tried it .just the progress bar which kept on moving and trying to get hits.any suggestions?? On 5/15/09, Jason Etheridge ja...@esilibrary.com wrote: On Fri, May 8, 2009 at 7:50 AM, Nuku Ameyibor nayi...@gmail.com wrote: i wanted to ask. is there any way of importing users into the system from an xml file or from a csv file.we want to be able to load preexisting data from another source into the system. so basically i am looking for a way to load patrons into the system from an external source and possibly also in a way which would allow them to have some roles automatically attached to them if possible. and also cna i have the username and password for the postgre data of the vmware debian image ? i wanted to have a look at the database structure or if you possibly have the er diagram already availabe. can i have it .its for the evergreen version on the debian system Hi Nuku, there are some database diagrams but I'm not sure how useable they are for your purposes. See http://open-ils.org/documentation/evergreen-schema-1.4.0.2.html There are many ways to load patrons into Evergreen, but there is nothing standardized. Project Conifer has their migration scripts available in the Evergreen Contrib repository here, and they may prove helpful: http://svn.open-ils.org/trac/ILS-Contrib/browser/conifer/trunk/tools/migration-scripts I believe some of the other academic Evergreen libraries have scripts and processes for synchronizing patrons with external databases that they may be willing to share. And I'd be happy to answer any specific questions you have about the database schema. Let us know if this helps! -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com
Re: [OPEN-ILS-GENERAL] staff clients and virtual images, was Re: forum?
thanks for all your help so far .its very much appreciated.i have a small problem. i have written some startup script to automatically run the evergreen services needed to start evergreen.this is because our server goes off at a specific time and comes back on again at another time.i was testing the scripts .they work well. butr whenever i try accesing the opac over the web interface and i make a search .the results list comes .but the actual results dont come. all is see is the1-8 of 8 resultset list but no actual list itself.i asm thinking its some sort of javascript error . do you have any suggestions on how i can reslove this? i tried having a look at the javascript debugger from the mozilla browser which i was using.its giving me these errors. about the opensrf router not connected to the network or something of that sort.no results came the second this i tried it .just the progress bar which kept on moving and trying to get hits.any suggestions?? On 5/15/09, Jason Etheridge ja...@esilibrary.com wrote: On Fri, May 8, 2009 at 7:50 AM, Nuku Ameyibor nayi...@gmail.com wrote: i wanted to ask. is there any way of importing users into the system from an xml file or from a csv file.we want to be able to load preexisting data from another source into the system. so basically i am looking for a way to load patrons into the system from an external source and possibly also in a way which would allow them to have some roles automatically attached to them if possible. and also cna i have the username and password for the postgre data of the vmware debian image ? i wanted to have a look at the database structure or if you possibly have the er diagram already availabe. can i have it .its for the evergreen version on the debian system Hi Nuku, there are some database diagrams but I'm not sure how useable they are for your purposes. See http://open-ils.org/documentation/evergreen-schema-1.4.0.2.html There are many ways to load patrons into Evergreen, but there is nothing standardized. Project Conifer has their migration scripts available in the Evergreen Contrib repository here, and they may prove helpful: http://svn.open-ils.org/trac/ILS-Contrib/browser/conifer/trunk/tools/migration-scripts I believe some of the other academic Evergreen libraries have scripts and processes for synchronizing patrons with external databases that they may be willing to share. And I'd be happy to answer any specific questions you have about the database schema. Let us know if this helps! -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com
Re: [OPEN-ILS-GENERAL] staff clients and virtual images, was Re: forum?
this is the error i was getting :this is from the moziila javascript debug window Error: [Exception... 'A server error occurred. Debug information follows: code = 500 debug: osrfMethodException : *** Call to [open-ils.search.biblio.record.mods_slim.retrieve] failed for session [1246275768.809913.12462757682262], thread trace [1]: * ! EXCEPTION ! * TYPE: OpenSRF::EX::Session Mess: Session Error Mess: rou...@evergreen-server.localdomain/open-ils.cstore IS NOT CONNECTED TO THE NETWORK!!! Loc.: 185 OpenSRF::Application Loc.: /openils/lib/perl5/OpenSRF/Application.pm Time: Mon Jun 29 07:42:48 2009 payload: []' when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001e (NS_ERROR_XPC_JS_THREW_STRING) location: unknown data: no] On 6/29/09, Nuku Ameyibor nayi...@gmail.com wrote: thanks for all your help so far .its very much appreciated.i have a small problem. i have written some startup script to automatically run the evergreen services needed to start evergreen.this is because our server goes off at a specific time and comes back on again at another time.i was testing the scripts .they work well. butr whenever i try accesing the opac over the web interface and i make a search .the results list comes .but the actual results dont come. all is see is the1-8 of 8 resultset list but no actual list itself.i asm thinking its some sort of javascript error . do you have any suggestions on how i can reslove this? i tried having a look at the javascript debugger from the mozilla browser which i was using.its giving me these errors. about the opensrf router not connected to the network or something of that sort.no results came the second this i tried it .just the progress bar which kept on moving and trying to get hits.any suggestions?? On 5/15/09, Jason Etheridge ja...@esilibrary.com wrote: On Fri, May 8, 2009 at 7:50 AM, Nuku Ameyibor nayi...@gmail.com wrote: i wanted to ask. is there any way of importing users into the system from an xml file or from a csv file.we want to be able to load preexisting data from another source into the system. so basically i am looking for a way to load patrons into the system from an external source and possibly also in a way which would allow them to have some roles automatically attached to them if possible. and also cna i have the username and password for the postgre data of the vmware debian image ? i wanted to have a look at the database structure or if you possibly have the er diagram already availabe. can i have it .its for the evergreen version on the debian system Hi Nuku, there are some database diagrams but I'm not sure how useable they are for your purposes. See http://open-ils.org/documentation/evergreen-schema-1.4.0.2.html There are many ways to load patrons into Evergreen, but there is nothing standardized. Project Conifer has their migration scripts available in the Evergreen Contrib repository here, and they may prove helpful: http://svn.open-ils.org/trac/ILS-Contrib/browser/conifer/trunk/tools/migration-scripts I believe some of the other academic Evergreen libraries have scripts and processes for synchronizing patrons with external databases that they may be willing to share. And I'd be happy to answer any specific questions you have about the database schema. Let us know if this helps! -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com
Re: [OPEN-ILS-GENERAL] staff clients and virtual images, was Re: forum?
i was able to make the opac work .i put in some commands inbetween the startup scripts to make the commands sleep in between starting of the router,perl ,opensrf.it made it work.i dont know whether this is a hollistic solution, just wanted to make sure. when i want to however make a hold , the page just goes on and on . that is the progress bar keeps on moving and moving without stopping or giving feedback.any suggestions On 6/29/09, Nuku Ameyibor nayi...@gmail.com wrote: this is the error i was getting :this is from the moziila javascript debug window Error: [Exception... 'A server error occurred. Debug information follows: code = 500 debug: osrfMethodException : *** Call to [open-ils.search.biblio.record.mods_slim.retrieve] failed for session [1246275768.809913.12462757682262], thread trace [1]: * ! EXCEPTION ! * TYPE: OpenSRF::EX::Session Mess: Session Error Mess: rou...@evergreen-server.localdomain/open-ils.cstore IS NOT CONNECTED TO THE NETWORK!!! Loc.: 185 OpenSRF::Application Loc.: /openils/lib/perl5/OpenSRF/Application.pm Time: Mon Jun 29 07:42:48 2009 payload: []' when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001e (NS_ERROR_XPC_JS_THREW_STRING) location: unknown data: no] On 6/29/09, Nuku Ameyibor nayi...@gmail.com wrote: thanks for all your help so far .its very much appreciated.i have a small problem. i have written some startup script to automatically run the evergreen services needed to start evergreen.this is because our server goes off at a specific time and comes back on again at another time.i was testing the scripts .they work well. butr whenever i try accesing the opac over the web interface and i make a search .the results list comes .but the actual results dont come. all is see is the1-8 of 8 resultset list but no actual list itself.i asm thinking its some sort of javascript error . do you have any suggestions on how i can reslove this? i tried having a look at the javascript debugger from the mozilla browser which i was using.its giving me these errors. about the opensrf router not connected to the network or something of that sort.no results came the second this i tried it .just the progress bar which kept on moving and trying to get hits.any suggestions?? On 5/15/09, Jason Etheridge ja...@esilibrary.com wrote: On Fri, May 8, 2009 at 7:50 AM, Nuku Ameyibor nayi...@gmail.com wrote: i wanted to ask. is there any way of importing users into the system from an xml file or from a csv file.we want to be able to load preexisting data from another source into the system. so basically i am looking for a way to load patrons into the system from an external source and possibly also in a way which would allow them to have some roles automatically attached to them if possible. and also cna i have the username and password for the postgre data of the vmware debian image ? i wanted to have a look at the database structure or if you possibly have the er diagram already availabe. can i have it .its for the evergreen version on the debian system Hi Nuku, there are some database diagrams but I'm not sure how useable they are for your purposes. See http://open-ils.org/documentation/evergreen-schema-1.4.0.2.html There are many ways to load patrons into Evergreen, but there is nothing standardized. Project Conifer has their migration scripts available in the Evergreen Contrib repository here, and they may prove helpful: http://svn.open-ils.org/trac/ILS-Contrib/browser/conifer/trunk/tools/migration-scripts I believe some of the other academic Evergreen libraries have scripts and processes for synchronizing patrons with external databases that they may be willing to share. And I'd be happy to answer any specific questions you have about the database schema. Let us know if this helps! -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com
Re: [OPEN-ILS-GENERAL] staff clients and virtual images, was Re: forum?
On Fri, May 8, 2009 at 7:50 AM, Nuku Ameyibor nayi...@gmail.com wrote: i wanted to ask. is there any way of importing users into the system from an xml file or from a csv file.we want to be able to load preexisting data from another source into the system. so basically i am looking for a way to load patrons into the system from an external source and possibly also in a way which would allow them to have some roles automatically attached to them if possible. and also cna i have the username and password for the postgre data of the vmware debian image ? i wanted to have a look at the database structure or if you possibly have the er diagram already availabe. can i have it .its for the evergreen version on the debian system Hi Nuku, there are some database diagrams but I'm not sure how useable they are for your purposes. See http://open-ils.org/documentation/evergreen-schema-1.4.0.2.html There are many ways to load patrons into Evergreen, but there is nothing standardized. Project Conifer has their migration scripts available in the Evergreen Contrib repository here, and they may prove helpful: http://svn.open-ils.org/trac/ILS-Contrib/browser/conifer/trunk/tools/migration-scripts I believe some of the other academic Evergreen libraries have scripts and processes for synchronizing patrons with external databases that they may be willing to share. And I'd be happy to answer any specific questions you have about the database schema. Let us know if this helps! -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com
Re: [OPEN-ILS-GENERAL] staff clients and virtual images, was Re: forum?
worked perfectly.!!thanks very much . going out for lunch .will come back go through it and get back to you.by the way what would i need to do to remove all pervious data from it and set it up as a fresh installation although i am running it from the vm image.how do i remove all the previous data which is in it. and how would the performance of this image be like seeing as i am running it from a vmware image. On 5/5/09, Jason Etheridge ja...@esilibrary.com wrote: On Tue, May 5, 2009 at 11:52 AM, Nuku Ameyibor nayi...@gmail.com wrote: i have another question though hello everyone .i just installed the evergreen debian virtual image .i tried unsueccsusefly to run it on macox but it wasnt working.i now have it installed and running using the vmware fusion on my mac. the problem is that i need a staff client for staff to be able to use the staff version.the openils.org site says that the virtual image doesnt work with the staff client.does anybody have any ideas or suggestions about how i can run this?? First thing to determine is whether the image is accessible outside of itself. The most recent ones (the VirtualBox ones) definitely are. That means you can point an external web browser to the image's OPAC and get results. If this isn't the case, then you may be able to reconfigure the image and the virtualization software running the image so that it is, or, you could run a staff client from within the image. Assuming external access is possible, then you could take a stock version of the staff client, matching the major release of the EG instance on the image (for example, 1.2.x or 1.4.x), and _force_ the image to support it by setting up a specific symbolic link. For example, let's assume you have a very old vmware image for Evergreen, perhaps this: Server, VMWare image, 1.2.1.4 on Ubuntu 7.10 And the latest 1.2 staff client available for download is for 1.2.4.0. These will not work with each other out of the box. What you can do is install the client, run it, and on the login screen, press the About this client... button. On the screen that pops up, look for the text following Target Server ID:. In this case, it is rel_1_2_4_0. So what is needed is for the server to have a directory or a symbolic link named rel_1_2_4_0, that happens to point to a directory containing remote files for the staff client. For all of these images, you should be able to find what you're needing in the directory /openils/var/web/xul/. So, in the image, from the command-line (in a terminal window), as the Linux user opensrf, you can enter these commands: cd /openils/var/web/xul/ ls -l And look to see what versions of the staff client are supported. In this case, there should be a directory named rel_1_2_1_4. What you would need to do this is create a link to rel_1_2_1_4 from rel_1_2_4_0. Do this by entering: ln -s rel_1_2_1_4 rel_1_2_4_0 Then, if you restart your staff client and point it the IP address for your server image, it should be supported. I think it's likely that future images will come already bundled with an appropriate staff client for download, and not require you to download a client from the Internet. Let me know if this helps! -- Jason Etheridge | VP, Community Support and Advocacy | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com