Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25594 - [grass] depends on python2, so GUI cannot be started

Attached to Project: Community Packages
Opened by accountkiller (rekado) - Tuesday, 16 August 2011, 00:04 GMT
Last edited by Thomas Dziedzic (tomd123) - Sunday, 21 August 2011, 04:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thomas Dziedzic (tomd123)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The GRASS GUI depends on python2, but will attempt to run it with python3. Symlinking /usr/bin/python2 to /usr/bin/python fixes this. grass must be patched to use python2 instead.

Additional info:
* package version: 6.4.1-2

Steps to reproduce:
run `grass64 -gui` and see it fail.
This task depends upon

Closed by  Thomas Dziedzic (tomd123)
Sunday, 21 August 2011, 04:42 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Added message in post_install about relogin.
Comment by Thomas Dziedzic (tomd123) - Tuesday, 16 August 2011, 02:09 GMT
it doesn't fail for me
please be more specific.
give me an error to work with, otherwise I can not help you
Comment by accountkiller (rekado) - Tuesday, 16 August 2011, 23:03 GMT
This is what I get when running grass64 without symlinking python2 to python:

% grass64

WELCOME TO GRASS Version 6.4.1 2011

1) Have at your side all available GRASS tutorials

2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps

3) Check the GRASS webpages for feedback mailinglists and more:
http://www.grass-gis.org
http://grass.osgeo.org

Hit RETURN to continue

Starting GRASS ...
File "/opt/grass-6.4.1/etc/wxpython/gis_set.py", line 466
except StandardError, e:
^
SyntaxError: invalid syntax
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue...
^CUser break
Comment by Thomas Dziedzic (tomd123) - Wednesday, 17 August 2011, 00:18 GMT
I can't reproduce this, are you adding any locations? please provide all details
Comment by accountkiller (rekado) - Wednesday, 17 August 2011, 02:05 GMT
This is really all there is. I installed GRASS two days ago for the very first time. My system is up to date. All I did was executing grass64 from the command line. Nothing fancy or otherwise unusual. Oh, and I installed the wxpython package which is required for the GUI.
Comment by Thomas Dziedzic (tomd123) - Wednesday, 17 August 2011, 02:56 GMT
have you relogged in since the last time you installed grass?
Comment by accountkiller (rekado) - Wednesday, 17 August 2011, 03:26 GMT
no, I haven't. I must have missed that in the installation remarks. Will do this tonight and report back.
Comment by Thomas Dziedzic (tomd123) - Wednesday, 17 August 2011, 04:37 GMT
there was no message in the post_install so I added it in pkgrel 3 so that there wont be future confusion.
Please let me know if relogging in fixed it or not.
Comment by Thomas Dziedzic (tomd123) - Saturday, 20 August 2011, 17:51 GMT
status?
Comment by accountkiller (rekado) - Sunday, 21 August 2011, 04:12 GMT
Just got around to test it. Logging out and in again fixes this.

Loading...