Re: [GRASS-user] GRASS jumps to shell immediately after start

2015-03-09 Thread Micha Silver

  
  
Hi Michal
(keeping this on the list...)

On 03/09/2015 02:46 PM, Michal
  Zimmermann wrote:


  That works. I always thught you could run grass
from interactive shell, was I wrong?
  
  
  


You can definitely run GRASS from the shell, in text mode only. It's
been like that for a few years now - since about 1983  ;-)
How did you install? Maybe try running the Init.sh
(/usr/lib/grass64/etc/Init.sh) to follow error messages.
Also what shell are you running? I seem to recall seeing in the
original post zsh? Wonder if that could be the problem?



  
On Sun, Mar 8, 2015 at 10:21 PM, Micha
  Silver mi...@arava.co.il
  wrote:
  

  Weird
  Well, starting GRASS in text mode is really nothing more
  than setting some environment variables. I'd suggest you
  try to setup the environment manually, then try to run
  some modules. 
  Here's the explanation how to do this:
  http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Bash_examples_.28GNU.2FLinux.29
  

  
  
  On 03/08/2015 11:03 PM, Michal Zimmermann wrote:
  

  
  

  

  I
did, it always throws me out.


  Od:Micha Silver
  Odesláno:‎8. ‎3. ‎2015
22:02
  Komu:Michal Zimmermann; GRASS user list
  Předmět:Re: [GRASS-user]
GRASS jumps to shell immediately after start
  

Try to delete the file ".gislock" in the MAPSET
directory that you are trying to work with, then
start grass64.


On 03/08/2015 09:15 PM, Michal Zimmermann
  wrote:


  No I can't. But it seems grass is
running, because when i try to run it again in
the same location, it says concurrent use is not
allowed
.
  
  
On Sun, Mar 8, 2015 at
  8:11 PM, Micha Silver mi...@arava.co.il
  wrote:
  
 I guess you mean that the
  GRASS environment is not being setup? Can
  you run i.e. g.version ?
  

  
  On 03/08/2015 08:05 PM, Michal
Zimmermann wrote:
  

  
  

  
Hi, when I try to run
  grass (both 6.4 and 7.0) with
  -text interface, it immediately
  switches back to shell. I haven't
  found anything related to this
  issue, can anyone help me? Thanks
  
-- 
Michal Zimmermann (zimmi) 
  WWW: http://www.zimmi.cz
  


  

This mail was received via Mail-SeCure
System.



___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
This mail was received via Mail-SeCure System.



  
  

  




-- 
Michal Zimmermann (zimmi) 
  WWW: http://www.zimmi.cz
  
 

Re: [GRASS-user] GRASS jumps to shell immediately after start

2015-03-09 Thread Michal Zimmermann
trap echo 'User break!' ; exit 2 3 9 15

# Set the GISBASE variable
GISBASE=/usr/lib/grass64
export GISBASE

exec $GISBASE/etc/Init.sh $@


On Mon, Mar 9, 2015 at 2:43 PM, Micha Silver mi...@arava.co.il wrote:



 On 03/09/2015 03:32 PM, Michal Zimmermann wrote:

  Hi,
  when run with the command you sent, it gives the following output:

 Cleaning up temporary files ...
 Starting GRASS ...
 /usr/lib/grass64/etc/Init.sh: 409: /usr/lib/grass64/etc/Init.sh:
 /etc/clean_temp: not found
 /usr/lib/grass64/etc/Init.sh: 580: /usr/lib/grass64/etc/Init.sh:
 /etc/set_data: not found


 So something with the PATH is definitely not getting setup right.
 What are the contents of /usr/bin/grass64?


  I installed 6.4 from the official ubuntu repo and 7.0 comes from
 ubuntugis repo. init.sh is completely missing for v7.0.


 Yes, grass70 starts with a different script altogether (python)




 On Mon, Mar 9, 2015 at 2:29 PM, Micha Silver mi...@arava.co.il wrote:

  Hi Michal
 (keeping this on the list...)

 On 03/09/2015 02:46 PM, Michal Zimmermann wrote:

 That works. I always thught you could run grass from interactive shell,
 was I wrong?


 You can definitely run GRASS from the shell, in text mode only. It's been
 like that for a few years now - since about 1983  ;-)
 How did you install? Maybe try running the Init.sh
 (/usr/lib/grass64/etc/Init.sh) to follow error messages.
 Also what shell are you running? I seem to recall seeing in the original
 post zsh? Wonder if that could be the problem?



  On Sun, Mar 8, 2015 at 10:21 PM, Micha Silver mi...@arava.co.il wrote:

  Weird
 Well, starting GRASS in text mode is really nothing more than setting
 some environment variables. I'd suggest you try to setup the environment
 manually, then try to run some modules.
 Here's the explanation how to do this:

 http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Bash_examples_.28GNU.2FLinux.29



 On 03/08/2015 11:03 PM, Michal Zimmermann wrote:

   I did, it always throws me out.
  --
 Od:Micha Silver mi...@arava.co.il
 Odesláno:‎8. ‎3. ‎2015 22:02
 Komu:Michal Zimmermann zimm...@gmail.com; GRASS user list
 grass-user@lists.osgeo.org
 Předmět:Re: [GRASS-user] GRASS jumps to shell immediately after start

  Try to delete the file .gislock in the MAPSET directory that you are
 trying to work with, then start grass64.


 On 03/08/2015 09:15 PM, Michal Zimmermann wrote:

 No I can't. But it seems grass is running, because when i try to run it
 again in the same location, it says concurrent use is not allowed
 .

 On Sun, Mar 8, 2015 at 8:11 PM, Micha Silver mi...@arava.co.il wrote:

  I guess you mean that the GRASS environment is not being setup? Can
 you run i.e. g.version ?


 On 03/08/2015 08:05 PM, Michal Zimmermann wrote:

  Hi, when I try to run grass (both 6.4 and 7.0) with -text interface,
 it immediately switches back to shell. I haven't found anything related to
 this issue, can anyone help me? Thanks

 --
 Michal Zimmermann (zimmi)
 WWW: http://www.zimmi.cz

  This mail was received via Mail-SeCure System.


 ___
 grass-user mailing 
 listgrass-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user
 This mail was received via Mail-SeCure System.







 --
 Michal Zimmermann (zimmi)
 WWW: http://www.zimmi.cz

 This mail was received via Mail-SeCure System.




 This mail was received via Mail-SeCure System.
  =





 --
 Michal Zimmermann (zimmi)
 WWW: http://www.zimmi.cz

 This mail was received via Mail-SeCure System.





 --
 Michal Zimmermann (zimmi)
 WWW: http://www.zimmi.cz

 This mail was received via Mail-SeCure System.





-- 
Michal Zimmermann (zimmi)
WWW: http://www.zimmi.cz
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS jumps to shell immediately after start

2015-03-09 Thread Micha Silver

  
  


On 03/09/2015 03:32 PM, Michal
  Zimmermann wrote:


  

  Hi,
  
  when run with the command you sent, it gives the following
  output:
  
  Cleaning up temporary files ...
  Starting GRASS ...
  /usr/lib/grass64/etc/Init.sh: 409:
  /usr/lib/grass64/etc/Init.sh: /etc/clean_temp: not found
  /usr/lib/grass64/etc/Init.sh: 580:
  /usr/lib/grass64/etc/Init.sh: /etc/set_data: not found

  


So something with the PATH is definitely not getting setup right.
What are the contents of /usr/bin/grass64?


  


I installed 6.4 from the official ubuntu repo and 7.0 comes from
ubuntugis repo. init.sh is completely missing for v7.0.
  


Yes, grass70 starts with a different script altogether (python)


  


  
  
On Mon, Mar 9, 2015 at 2:29 PM, Micha
  Silver mi...@arava.co.il
  wrote:
  

  Hi Michal
  (keeping this on the list...)
  
  On 03/09/2015 02:46 PM, Michal Zimmermann wrote:
  
  
That works. I always thught you could run
  grass from interactive shell, was I wrong?



  
  
  You can definitely run GRASS from the shell, in text mode
  only. It's been like that for a few years now - since
  about 1983  ;-)
  How did you install? Maybe try running the Init.sh
  (/usr/lib/grass64/etc/Init.sh) to follow error messages.
  Also what shell are you running? I seem to recall seeing
  in the original post zsh? Wonder if that could be the
  problem?
  

  
  
  

  On Sun, Mar 8, 2015 at
10:21 PM, Micha Silver mi...@arava.co.il
wrote:

   Weird
Well, starting GRASS in text mode is really
nothing more than setting some environment
variables. I'd suggest you try to setup the
environment manually, then try to run some
modules. 
Here's the explanation how to do this:
http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Bash_examples_.28GNU.2FLinux.29

  


On 03/08/2015 11:03 PM, Michal
  Zimmermann wrote:

  


  

  
I
  did, it always throws me out.
  
  
Od:Micha Silver
Odesláno:‎8. ‎3. ‎2015
  22:02
Komu:Michal
Zimmermann; GRASS user list
Předmět:Re: [GRASS-user]
  GRASS jumps to shell immediately
  after start

  
  Try to delete the file ".gislock" in
  the MAPSET directory that you are
  trying to work with, then start
  grass64.
  
  
  On 03/08/2015 09:15 PM, Michal
Zimmermann wrote:
  
  
No I can't. But it
  seems grass is running, because
  when i try to run it again in the
  same location, it says concurrent
  use is not allowed
  .


  On Sun,
Mar 8, 2015 at 8:11 PM, 

Re: [GRASS-user] GRASS jumps to shell immediately after start

2015-03-09 Thread Michal Zimmermann
Hi,
when run with the command you sent, it gives the following output:

Cleaning up temporary files ...
Starting GRASS ...
/usr/lib/grass64/etc/Init.sh: 409: /usr/lib/grass64/etc/Init.sh:
/etc/clean_temp: not found
/usr/lib/grass64/etc/Init.sh: 580: /usr/lib/grass64/etc/Init.sh:
/etc/set_data: not found

I installed 6.4 from the official ubuntu repo and 7.0 comes from ubuntugis
repo. init.sh is completely missing for v7.0.


On Mon, Mar 9, 2015 at 2:29 PM, Micha Silver mi...@arava.co.il wrote:

  Hi Michal
 (keeping this on the list...)

 On 03/09/2015 02:46 PM, Michal Zimmermann wrote:

 That works. I always thught you could run grass from interactive shell,
 was I wrong?


 You can definitely run GRASS from the shell, in text mode only. It's been
 like that for a few years now - since about 1983  ;-)
 How did you install? Maybe try running the Init.sh
 (/usr/lib/grass64/etc/Init.sh) to follow error messages.
 Also what shell are you running? I seem to recall seeing in the original
 post zsh? Wonder if that could be the problem?



  On Sun, Mar 8, 2015 at 10:21 PM, Micha Silver mi...@arava.co.il wrote:

  Weird
 Well, starting GRASS in text mode is really nothing more than setting
 some environment variables. I'd suggest you try to setup the environment
 manually, then try to run some modules.
 Here's the explanation how to do this:

 http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Bash_examples_.28GNU.2FLinux.29



 On 03/08/2015 11:03 PM, Michal Zimmermann wrote:

   I did, it always throws me out.
  --
 Od:Micha Silver mi...@arava.co.il
 Odesláno:‎8. ‎3. ‎2015 22:02
 Komu:Michal Zimmermann zimm...@gmail.com; GRASS user list
 grass-user@lists.osgeo.org
 Předmět:Re: [GRASS-user] GRASS jumps to shell immediately after start

  Try to delete the file .gislock in the MAPSET directory that you are
 trying to work with, then start grass64.


 On 03/08/2015 09:15 PM, Michal Zimmermann wrote:

 No I can't. But it seems grass is running, because when i try to run it
 again in the same location, it says concurrent use is not allowed
 .

 On Sun, Mar 8, 2015 at 8:11 PM, Micha Silver mi...@arava.co.il wrote:

  I guess you mean that the GRASS environment is not being setup? Can you
 run i.e. g.version ?


 On 03/08/2015 08:05 PM, Michal Zimmermann wrote:

  Hi, when I try to run grass (both 6.4 and 7.0) with -text interface,
 it immediately switches back to shell. I haven't found anything related to
 this issue, can anyone help me? Thanks

 --
 Michal Zimmermann (zimmi)
 WWW: http://www.zimmi.cz

  This mail was received via Mail-SeCure System.


 ___
 grass-user mailing 
 listgrass-user@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user
 This mail was received via Mail-SeCure System.







 --
 Michal Zimmermann (zimmi)
 WWW: http://www.zimmi.cz

 This mail was received via Mail-SeCure System.




 This mail was received via Mail-SeCure System.
  =





 --
 Michal Zimmermann (zimmi)
 WWW: http://www.zimmi.cz

 This mail was received via Mail-SeCure System.





-- 
Michal Zimmermann (zimmi)
WWW: http://www.zimmi.cz
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS jumps to shell immediately after start

2015-03-09 Thread Micha Silver

  
  
That looks correct. I'm out of ideas...


On 03/09/2015 03:53 PM, Michal
  Zimmermann wrote:


  trap "echo 'User break!' ; exit" 2 3 9 15

# Set the GISBASE variable
GISBASE=/usr/lib/grass64
export GISBASE

exec "$GISBASE/etc/Init.sh" "$@"

  
  
On Mon, Mar 9, 2015 at 2:43 PM, Micha
  Silver mi...@arava.co.il
  wrote:
  
 

On 03/09/2015 03:32 PM, Michal Zimmermann wrote:

  
  

  
Hi,

 when run with the command you sent,
  it gives the following output:
  
  Cleaning up temporary files ...
  Starting GRASS ...
  /usr/lib/grass64/etc/Init.sh: 409:
  /usr/lib/grass64/etc/Init.sh: /etc/clean_temp: not
  found
  /usr/lib/grass64/etc/Init.sh: 580:
  /usr/lib/grass64/etc/Init.sh: /etc/set_data: not
  found


  
  
  So something with the PATH is definitely not getting setup
  right.
  What are the contents of /usr/bin/grass64?


  


I installed 6.4 from the official ubuntu repo and
7.0 comes from ubuntugis repo. init.sh is completely
missing for v7.0.
  


   Yes, grass70 starts with a different script
  altogether (python)
  

  
  

  
  


  On Mon, Mar 9, 2015 at
2:29 PM, Micha Silver mi...@arava.co.il
wrote:

   Hi Michal
(keeping this on the list...)

On 03/09/2015 02:46 PM, Michal
  Zimmermann wrote:


  That works. I always thught
you could run grass from interactive
shell, was I wrong?
  
  
  


You can definitely run GRASS from the shell,
in text mode only. It's been like that for a
few years now - since about 1983  ;-)
How did you install? Maybe try running the
Init.sh (/usr/lib/grass64/etc/Init.sh) to
follow error messages.
Also what shell are you running? I seem to
recall seeing in the original post zsh?
Wonder if that could be the problem?

  



  
On Sun, Mar
  8, 2015 at 10:21 PM, Micha Silver
  mi...@arava.co.il
  wrote:
  
 Weird
  Well, starting GRASS in text
  mode is really nothing more
  than setting some environment
  variables. I'd suggest you try
  to setup the environment
  manually, then try to run some
  modules. 
  Here's the explanation how to
  do this:
  http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Bash_examples_.28GNU.2FLinux.29
  

  
  
  On 03/08/2015 11:03
PM, 

Re: [GRASS-user] [Qgis-developer] QGIS and GRASS 7.0.0

2015-03-09 Thread Paolo Cavallini
Il 09/03/2015 00:38, Pedro Venâncio ha scritto:

 It looks really really great!

Awesome, chapeau!
Looking forward to see the crowdfunding.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user