[GRASS-dev] GRASS GIS packaged without GUI
Rashad M
mohammedrashadkm at gmail.com
Thu Jan 2 12:48:40 PST 2014
Hi Vaclav,
This seems to be the thread.
http://osgeo-org.1560.x6.nabble.com/grass70-problem-with-gui-td5093509.html
As per Martin's suggestion if this error is tracked in error.log then
atleast we know the grass-gui is broken.
On Thu, Jan 2, 2014 at 9:42 PM, Rashad M <mohammedrashadkm at gmail.com> wrote:
> Hi vaclav,
>
> here is the control file[1]. I think this should be fixed in packaging.
> grass virtual package includes grass-gui package. Failure in building
> grass-gui probably "xml or version key error" may result in the above
> behavious. In that case a patch can be applied when building deb file so
> that if wxpython dir is not found it can show a better error message. One
> thing can be fixed is checking the error message from parsing like i said
> above keyErorr['version']. There is a better complete error message a while
> ago in grass-dev list.
>
>
> [1]
> http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/view/head:/control
>
>
> On Thu, Jan 2, 2014 at 3:49 PM, Vaclav Petras <wenzeslaus at gmail.com>wrote:
>
>> Hi,
>>
>> I used only the standard Ubuntu repository, Ubuntu 13.10, no ubuntugis,
>> no grass-ppa.
>>
>> Just to understand, what change have you done? Can the change be viewed
>> somewhere? Do you think that it should be fixed while packaging and not in
>> GRASS (e.g., because it is hard to tell if it is a real error or just
>> missing package)?
>>
>> Vaclav
>>
>> On Thu, Jan 2, 2014 at 3:09 AM, Rashad M <mohammedrashadkm at gmail.com>wrote:
>>
>>> Hi Vaclav,
>>>
>>> I had made some changes in control script to fix this behaviour some
>>> time ago. Could tell which version of Ubuntu you are using and thee ppa.
>>> FYI, I had updated only grass-ppa[1] not in the ubuntugis
>>>
>>> [1] https://launchpad.net/~grass/+archive/grass-stable
>>>
>>>
>>> On Wed, Jan 1, 2014 at 10:47 PM, Vaclav Petras <wenzeslaus at gmail.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> when installing incomplete GRASS GIS 6.4.3 from packages on Ubuntu I
>>>> get the following error when I start using `grass` command:
>>>>
>>>> Starting GRASS ...
>>>> python: can't open file '/usr/lib/grass64/etc/wxpython/gis_set.py':
>>>> [Errno 2] No such file or directory
>>>> Received EXIT message from GUI.
>>>> GRASS is not started. Bye.
>>>>
>>>> It is caused by the fact that I have installed grass-core and not
>>>> grass-gui, so I have modules and `grass` command but I don't have any GUI.
>>>>
>>>> Although, packaging is what caused the problem, it seems that it is our
>>>> problem since we claim that GRASS is usable without GUI or don't we?
>>>>
>>>> Once user reads `grass -h` he or she can realize that `grass -text`
>>>> could start and it of course starts. The problem is that when grass-gui
>>>> package is not available, text interface should start (should be the
>>>> default or fallback), but once grass-gui is installed GUI should be the
>>>> default option.
>>>>
>>>> Besides the start, modules do not have their GUIs:
>>>>
>>>> g.region --ui
>>>> python: can't open file
>>>> '/usr/lib/grass64/etc/wxpython/gui_core/forms.py': [Errno 2] No such file
>>>> or directory
>>>>
>>>> This is not so critical error, just a better error message would be
>>>> nice. Maybe, the better error message would be enough also at start up.
>>>> Something, like "Have you installed GRASS GIS with GUI?"
>>>>
>>>> I haven't checked the source code but I guess that it is the same for
>>>> all versions including trunk.
>>>>
>>>> Vaclav
>>>>
>>>> _______________________________________________
>>>> grass-dev mailing list
>>>> grass-dev at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Rashad
>>>
>>
>>
>
>
> --
> Regards,
> Rashad
>
--
Regards,
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140102/a0e045f0/attachment.html>
More information about the grass-dev
mailing list