[Live-demo] Re: [About python issue] Does your application work on the click2try GISVM?

Dane Springmeyer blake at hailmail.net
Fri Oct 16 11:32:13 EDT 2009


Hello Arun,

Yes, the new VM works with Python 26. And therefore the Mapnik Python  
2.6 bindings now work.

And with this small fix (which I've been waiting to make), the demo  
application now works perfectly:

http://trac.osgeo.org/osgeo/changeset/2684

Thanks!

Dane


On Oct 16, 2009, at 5:07 AM, Arun Sharma Tecnics wrote:

> Hello Dane,
>
> Could you please help us by trying again "python" command from new  
> instance vm rather then using existing '20-74'. ?
>
>
> Arun Sharma
> Click2try
>
> Dane Springmeyer wrote:
>>
>> Running `strace python` gives an Illegal Instruction:
>>
>> http://dpaste.com/107722/
>>
>> I wonder if the read-only user mode is the culprit.
>>
>> Dane
>>
>>
>> On Oct 15, 2009, at 9:51 AM, Dane Springmeyer wrote:
>>
>>> I just tried the latest VM '20-74' and now see a Segmentation  
>>> Fault when running the default python.
>>>
>>> Open a terminal and type 'python' and this is what you get:
>>>
>>> user at osgeo-gisvm20-74:~$ python
>>> Segmentation fault
>>>
>>> but python2.5 works:
>>> user at osgeo-gisvm20-74:~$ python2.5
>>> >>> # all good...
>>>
>>> Really odd, I've never seen a segfault like this with python after  
>>> just starting the interpreter.
>>>
>>> Dane
>>>
>>> On Oct 15, 2009, at 9:00 AM, Aneel wrote:
>>>
>>>> Hello OSGeo Team,
>>>>
>>>> We have fixed issues and latest click2try-GISVM (osgeo- 
>>>> gisvm20-74) is available for testing at www.click2try.com.
>>>>
>>>> Know Issue: (Reported to Jody)
>>>> /usr/bin/udig: line 29:  3026 Segmentation fault      $PRGDIR/ 
>>>> udig_internal -data ~/uDigWorkspace $@
>>>>
>>>> Please let us know if any more issues after testing.
>>>>
>>>> Thanks & Regards
>>>> Aneel
>>>> click2try
>>>>
>>>> On Thu, 2009-10-15 at 12:32 +0530, Aneel wrote:
>>>>>
>>>>> Hello Team,
>>>>>
>>>>> Maintenance and bug fix activity is going on click2try-GISVM.  
>>>>> Please
>>>>> don't try the GISVM on click2try for some time. Once we are done  
>>>>> with
>>>>> maintenance activity, we will post update on this mailing list.
>>>>>
>>>>> Regards
>>>>> Aneel
>>>>> On Thu, 2009-10-15 at 14:47 +1100, Cameron Shorter wrote:
>>>>> > Arun,
>>>>> > I've lost track of where geonetwork is up to. I think you had  
>>>>> it fixed,
>>>>> > and Simon/Jeroen were just updating the automated script for  
>>>>> future.
>>>>> >
>>>>> > Simon, are you able to confirm this?
>>>>> >
>>>>> > arun.s at tecnics.com wrote:
>>>>> > > Hello Cameron,
>>>>> > >
>>>>> > > After reviewing this mail , i think there is something more  
>>>>> to be done
>>>>> > > to fix this in click2try vm (not sure).
>>>>> > >
>>>>> > > It will be good if (any) steps we need to do on click2try to  
>>>>> fix this
>>>>> > > issue then please inform us.
>>>>> > >
>>>>> > > FYI , we have already applied the steps metioned by Jeron on  
>>>>> currently
>>>>> > > running vm.
>>>>> > >
>>>>> > > Arun Sharma
>>>>> > > Click2try
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >  
>>>>> ------------------------------------------------------------------------
>>>>> > > *From*: "Simon Pigot" <Simon.Pigot at csiro.au>
>>>>> > > *Sent*: Thursday, October 15, 2009 6:33 AM
>>>>> > > *To*: "Cameron Shorter" <cameron.shorter at lisasoft.com>
>>>>> > > *Subject*: Re: [Live-demo] Does your application work on the  
>>>>> click2try
>>>>> > > GISVM?
>>>>> > >
>>>>> > > What puzzles me about all this is that the changes Jeroen  
>>>>> has made to
>>>>> > > the shortcut scripts were actually the way in which the  
>>>>> shortcut scripts
>>>>> > > were originally submitted!
>>>>> > >
>>>>> > > Cameron, the chown command is in the install_geonetwork.sh  
>>>>> already!
>>>>> > >
>>>>> > > The problems seem to have been caused by a decision someone  
>>>>> made to
>>>>> > > change the uid/gid of user/password (when? how? why?) - is  
>>>>> it still
>>>>> > > necessary to run the scripts with a sudo to user?
>>>>> > >
>>>>> > > Cheers,
>>>>> > > Simon
>>>>> > >
>>>>> > >
>>>>> > > Cameron Shorter wrote:
>>>>> > > > Jeroen,
>>>>> > > > I hope that we can apply your fixes to the geonetwork  
>>>>> install scripts.
>>>>> > > > If you have not updated the install_geonetwork.sh , can  
>>>>> you please
>>>>> > > > describe the issue and fix in the issue tracker, so that  
>>>>> we can update
>>>>> > > > it before we go through the next release cycle.
>>>>> > > >
>>>>> > > >
>>>>> > > http://trac.osgeo.org/osgeo/query?group=status&component=LiveDVD&order=priority
>>>>> > > >
>>>>> > > > Jeroen Ticheler wrote:
>>>>> > > >
>>>>> > > >> Hi Aneel,
>>>>> > > >> These are the changes I did:
>>>>> > > >>
>>>>> > > >> from the root of the geonetwork application:
>>>>> > > >>
>>>>> > > >> sudo chown -R user:user *
>>>>> > > >>
>>>>> > > >> In the shortcuts that start and stop GeoNetwork I removed  
>>>>> the first
>>>>> > > >> part of the command, just leaving the part:
>>>>> > > >>
>>>>> > > >> /usr/lib/geonetwork/bin/start-geonetwork.sh
>>>>> > > >>
>>>>> > > >> or
>>>>> > > >>
>>>>> > > >> /usr/lib/geonetwork/bin/stop-geonetwork.sh
>>>>> > > >>
>>>>> > > >> That's all.
>>>>> > > >> Ciao,
>>>>> > > >> Jeroen
>>>>> > > >>
>>>>> > > >> ____________________________________________________
>>>>> > > >> Jeroen Ticheler
>>>>> > > >> De Braakweg 12a
>>>>> > > >> 7524 PH Enschede
>>>>> > > >> Tel/Fax: +31 (0)53 7370049
>>>>> > > >> Mobile: +31 (0)6 81286572
>>>>> > > >> http://www.ticheler.net
>>>>> > > >>
>>>>> > > >> Please consider the environment before printing this email.
>>>>> > > >>
>>>>> > > >> On Oct 14, 2009, at 1:11 PM, Aneel wrote:
>>>>> > > >>
>>>>> > > >>
>>>>> > > >>> Hello Jeroen,
>>>>> > > >>>
>>>>> > > >>> Please give us the steps you did to fix these issues.  
>>>>> Whatever you
>>>>> > > doing
>>>>> > > >>> is specific to particular instance only. We have to fix  
>>>>> them at
>>>>> > > >>> application level to make permanent.
>>>>> > > >>>
>>>>> > > >>> Regards
>>>>> > > >>> Aneel
>>>>> > > >>> click2try
>>>>> > > >>>
>>>>> > > >>>
>>>>> > > >>> On Wed, 2009-10-14 at 13:05 +0200, Jeroen Ticheler wrote:
>>>>> > > >>>
>>>>> > > >>>> Last thing, I also fixed the start and stop shortcuts.  
>>>>> They should
>>>>> > > >>>> point directly to the start and stop scripts and not go  
>>>>> through the
>>>>> > > >>>> launchhelper script.
>>>>> > > >>>> Greetings,
>>>>> > > >>>> Jeroen
>>>>> > > >>>>
>>>>> > > >>>> On Oct 14, 2009, at 12:46 PM, Aneel wrote:
>>>>> > > >>>>
>>>>> > > >>>>
>>>>> > > >>>>> Hello Jeroen,
>>>>> > > >>>>>
>>>>> > > >>>>> Maintenance and bug fix activity is going on click2try- 
>>>>> GISVM. Please
>>>>> > > >>>>> don't try the GISVM on click2try for some time.. Once  
>>>>> we have
>>>>> > > done with
>>>>> > > >>>>> maintenance activity, we will post update on this  
>>>>> mailing list.
>>>>> > > >>>>>
>>>>> > > >>>>>
>>>>> > > >>>>> Regards
>>>>> > > >>>>> Aneel
>>>>> > > >>>>> click2try
>>>>> > > >>>>>
>>>>> > > >>>>> On Wed, 2009-10-14 at 12:41 +0200, Jeroen Ticheler  
>>>>> wrote:
>>>>> > > >>>>>
>>>>> > > >>>>>> Hi Tom,
>>>>> > > >>>>>> I tried again several times today. I got some steps  
>>>>> further, but
>>>>> > > >>>>>> can't
>>>>> > > >>>>>> get on to the desktop :-( I use "user/user" as  
>>>>> account/pw but
>>>>> > > then I
>>>>> > > >>>>>> get an error as shown on the screenshot. Is there a  
>>>>> way to use SSH?
>>>>> > > >>>>>> Kind regards,
>>>>> > > >>>>>> Jeroen
>>>>> > > >>>>>>
>>>>> > > >>>>>> ____________________________________________________
>>>>> > > >>>>>> Jeroen Ticheler
>>>>> > > >>>>>> De Braakweg 12a
>>>>> > > >>>>>> 7524 PH Enschede
>>>>> > > >>>>>> Tel/Fax: +31 (0)53 7370049
>>>>> > > >>>>>> Mobile: +31 (0)6 81286572
>>>>> > > >>>>>> http://www.ticheler.net
>>>>> > > >>>>>>
>>>>> > > >>>>>> Please consider the environment before printing this  
>>>>> email.
>>>>> > > >>>>>>
>>>>> > > >>>>>> On Oct 14, 2009, at 1:22 AM, Tom Callaghan wrote:
>>>>> > > >>>>>>
>>>>> > > >>>>>>
>>>>> > > >>>>>>> Hi Jaroen,
>>>>> > > >>>>>>>
>>>>> > > >>>>>>> Maybe I can help you with your connection issues.  
>>>>> The message
>>>>> > > >>>>>>> "Public Internet Access: Yes, Not available" refers  
>>>>> to something
>>>>> > > >>>>>>> that has not yet been set up for this VM. This is  
>>>>> not a
>>>>> > > problem and
>>>>> > > >>>>>>> you should still be able to access the VM. When you  
>>>>> attempted to
>>>>> > > >>>>>>> connect, had you highlighted the VM osgeo-gisvm20-25  
>>>>> and click2ed
>>>>> > > >>>>>>> the LAUNCH button? If so, what happens? Do you see a  
>>>>> light purple
>>>>> > > >>>>>>> screen with a progress bar across the top? Do you  
>>>>> receive a
>>>>> > > message
>>>>> > > >>>>>>> for installing a click2try java applet? Does a frame  
>>>>> with a page
>>>>> > > >>>>>>> not found appear on the left side of the screen with  
>>>>> a title bar
>>>>> > > >>>>>>> "quickstart guide"?
>>>>> > > >>>>>>>
>>>>> > > >>>>>>> Tom
>>>>> > > >>>>>>>
>>>>> > > >>>>>>>
>>>>> > > >>>>>>> From: Jeroen Ticheler [mailto:Jeroen at Ticheler.net]
>>>>> > > >>>>>>> Sent: Tuesday, October 13, 2009 5:41 PM
>>>>> > > >>>>>>> To: Aneel
>>>>> > > >>>>>>> Cc: Cameron Shorter; Ricardo Pinho; Tom Callaghan;  
>>>>> Arun Sharma
>>>>> > > >>>>>>> Tecnics
>>>>> > > >>>>>>> Subject: Re: [Live-demo] Does your application work  
>>>>> on the
>>>>> > > click2try
>>>>> > > >>>>>>> GISVM?
>>>>> > > >>>>>>>
>>>>> > > >>>>>>> Hi Aneel,
>>>>> > > >>>>>>> I tried to connect and have a look. I can't get  
>>>>> access, maybe
>>>>> > > >>>>>>> because someone else is using the VM, is that  
>>>>> correct? I read
>>>>> > > >>>>>>> "Public Internet Access: Yes, Not available" and I  
>>>>> see one user
>>>>> > > >>>>>>> online.
>>>>> > > >>>>>>>
>>>>> > > >>>>>>> Concerning the problem, the first two lines are  
>>>>> normal for a very
>>>>> > > >>>>>>> first time startup. The following three lines are  
>>>>> not and indicate
>>>>> > > >>>>>>> that the permissions of the account running the  
>>>>> application don't
>>>>> > > >>>>>>> allow writing to the logs directory. Most likely the  
>>>>> same is true
>>>>> > > >>>>>>> for some other directories that GeoNetwork needs to  
>>>>> be able to
>>>>> > > write
>>>>> > > >>>>>>> to. I suggest reviewing the privileges of the  
>>>>> process owner to
>>>>> > > >>>>>>> ensure that write privileges are given to the  
>>>>> GeoNetwork
>>>>> > > application
>>>>> > > >>>>>>> folders.
>>>>> > > >>>>>>> Let me know if I can help further.
>>>>> > > >>>>>>> Kind regards,
>>>>> > > >>>>>>> Jeroen
>>>>> > > >>>>>>> ps. I will be on my way to Sydney from Thursday  
>>>>> morning onwards
>>>>> > > >>>>>>> (Amsterdam time zone).
>>>>> > > >>>>>>>
>>>>> > > >>>>>>> On Oct 13, 2009, at 8:54 PM, Aneel wrote:
>>>>> > > >>>>>>>
>>>>> > > >>>>>>>
>>>>> > > >>>>>>>
>>>>> > > >>>>>>>
>>>>> > > >>>>>>> Issue2: (GeoNetwork - it doesn't work)
>>>>> > > >>>>>>> Launching /usr/lib/geonetwork/bin/start-geonetwork.sh
>>>>> > > >>>>>>> rm: cannot remove `logs/*request.log*': No such file  
>>>>> or directory
>>>>> > > >>>>>>> rm: cannot remove `logs/output.log': No such file or  
>>>>> directory
>>>>> > > >>>>>>> mv: cannot stat `logs/geonetwork.log.*': No such  
>>>>> file or directory
>>>>> > > >>>>>>> mv: cannot stat `logs/intermap.log.*': No such file  
>>>>> or directory
>>>>> > > >>>>>>> mv: cannot stat `logs/geoserver.log.*': No such file  
>>>>> or directory
>>>>> > > >>>>>>>
>>>>> > > >>>>>>>
>>>>> > > >>>>>>
>>>>> > > >>>>>
>>>>> > > >>>>>
>>>>> > > >>>
>>>>> > > >>>
>>>>> > > >
>>>>> > > >
>>>>> > > >
>>>>> > >
>>>>> > >
>>>>> >
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Live-demo mailing list
>>>>> Live-demo at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/live-demo
>>>>>
>>>> _______________________________________________
>>>> Live-demo mailing list
>>>> Live-demo at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/live-demo
>>>
>>> _______________________________________________
>>> Live-demo mailing list
>>> Live-demo at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/live-demo
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/live-demo/attachments/20091016/937fa37c/attachment-0001.html


More information about the Live-demo mailing list