Hi Annina I think I have a solution. There are two issues:
1) "The PATH problem": You can copy the ili2c.jar to one of the following directories: * /usr/bin * /bin * /usr/sbin * /sbin If you are on your own computer this should not be a problem. You don't need to do this for the JRE. 2) There is a little bug in the interlis plugin. It needs to know weather it is a windows machine or not. It uses a python method for this and counts the word "win" in the OS name returned by the python method. Since python knows Mac OS X as "Darwin" [1] it will recognize it as a windows machine.... I cc this email to Marco, the author of the plugin. @Marco: Can you replace line 63 of interlisdialog.py with "if(osString == "win32" or osString == "cygwin"):" ? [1]: http://docs.python.org/library/sys.html regards Stefan Mit freundlichem Gruss Stefan Ziegler Leiter Aufsicht Kanton Solothurn Bau- und Justizdepartement Amt für Geoinformation Rötistrasse 4 4501 Solothurn Telefon 032 627 75 96 Telefax 032 627 75 98 [email protected] http://www.so.ch > -----Ursprüngliche Nachricht----- > Von: Annina Hirschi Wyss [mailto:[email protected]] > Gesendet am: Samstag, 9. Oktober 2010 11:46 > An: [email protected] > Cc: William Kyngesburye > Betreff: Re: [Qgis-user] INTERLIS plugin on mac > > Thanks for your help, William, > > I'm quite discouraged... Hope getting some help from the > plugin developer > > On Oct 8, 2010, at 9:57 PM, William Kyngesburye wrote: > > > On Oct 8, 2010, at 2:33 PM, Annina Hirschi Wyss wrote: > > > >> > >> On Oct 8, 2010, at 7:04 PM, William Kyngesburye wrote: > >> > >>> On Oct 8, 2010, at 11:32 AM, Annina Hirschi Wyss wrote: > >>> > >>>> Hi List, > >>>> > >>>> I can't get the INTERLIS plugin to work on my OSX > 10.6.4, QGIS 1.5.0 (Framework install from KyngChaos). It > says it can't find the JRE, so I set the JAVA_HOME variable > and path, but no change... > >>>> > >>>> Am I missing something, or did someone make similar experiences? > >>> > >>> Do you need model support? From what the dialog says for > loading Interlis data, Java is needed for model support, > implying that will still read interlis data without it. > >> Yes I'd like to. but even if i try to load an interlis xml > without a model, it's not selectable in the "choose"-window > > > > I don't know about this, it sounds like a problem with the > operation of the plugin. > > > >>> > >>> Adding the JRE path to the environment is yet another > case where OS X applications do not get any of the shell > environment (ie set in your .bash_profile). There is a > hidden, little documented (if at all) method to get > environment into an application, but I don't like to > encourage it because it's clunky to use (hidden file, and no > GUI unless you install 3rd party software). > >> do you mean the /etc/paths-file? Or is it more complex? > >> > > That's also just for the shell. > > > > If you really, really, really want to use this hidden > environment thing, install the RCEnvironment preference pane. > > > > > > ----- > > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> > > http://www.kyngchaos.com/ > > > > "We are at war with them. Neither in hatred nor revenge and > with no particular pleasure I shall kill every ___ I can > until the war is over. That is my duty." > > > > "Don't you even hate 'em?" > > > > "What good would it do if I did? If all the many millions > of people of the allied nations devoted an entire year > exclusively to hating the ____ it wouldn't kill one ___ nor > shorten the war one day." > > > > <Ha, ha> "And it might give 'em all stomach ulcers." > > > > - Tarzan, on war > > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
