[GRASS-dev] [GRASS GIS] #2389: Error in Grass-gis 7.1. svn

#2389: Error in Grass-gis 7.1. svn
----------------------+-----------------------------------------------------
Reporter: Faraslis | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Default | Version: unspecified
Keywords: | Platform: MSWindows 7
      Cpu: x86-32 |
----------------------+-----------------------------------------------------
I install the grass-gis 7 beta 3. But when I try to launch i receive
the message
---------------------------------------------
nul=open <os.devnull, 'w'>
IOerror: [Errno 2] No such file or directory : 'nul'
--------------------------------------------------------

Also for the grass-gis 7 beta 2 and beta 1 I receive the same error
message

My pc is win 7 32 bit

regards
Giannis

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2389&gt;
GRASS GIS <http://grass.osgeo.org>

#2389: Error in Grass-gis 7.1. svn
----------------------+-----------------------------------------------------
Reporter: Faraslis | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: unspecified
Keywords: wingrass | Platform: MSWindows 7
      Cpu: x86-32 |
----------------------+-----------------------------------------------------
Changes (by martinl):

  * keywords: => wingrass
  * milestone: 7.1.0 => 7.0.0

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2389#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2389: Error in Grass-gis 7.1. svn
----------------------+-----------------------------------------------------
Reporter: Faraslis | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: unspecified
Keywords: wingrass | Platform: MSWindows 7
      Cpu: x86-32 |
----------------------+-----------------------------------------------------

Comment(by neteler):

Can you please try a fresh installer?

http://wingrass.fsv.cvut.cz/grass70/

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2389#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2389: Error in Grass-gis 7.1. svn
--------------------------------+-------------------------------------------
Reporter: Faraslis | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: unspecified
Keywords: wingrass, grass.py | Platform: MSWindows 7
      Cpu: x86-32 |
--------------------------------+-------------------------------------------
Changes (by neteler):

  * keywords: wingrass => wingrass, grass.py
  * component: Default => Startup

Comment:

Replying to [ticket:2389 Faraslis]:
> -------------------------------------------------------- [[BR]]
> nul=open <os.devnull, 'w'> [[BR]]
> IOerror: [Errno 2] No such file or directory : 'nul' [[BR]]
> -------------------------------------------------------- [[BR]]

@devs, for the record:

{{{
grep -n 'nul = open' ./lib/init/grass.py
409: nul = open(os.devnull, 'w')
540: nul = open(os.devnull, 'w')
1184: nul = open(os.devnull, 'w')
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2389#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2389: Error in Grass-gis 7.1. svn
--------------------------------+-------------------------------------------
Reporter: Faraslis | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: unspecified
Keywords: wingrass, grass.py | Platform: MSWindows 7
      Cpu: x86-32 |
--------------------------------+-------------------------------------------

Comment(by glynn):

Replying to [comment:3 neteler]:

> -------------------------------------------------------- [[BR]]
> nul=open <os.devnull, 'w'> [[BR]]
> IOerror: [Errno 2] No such file or directory : 'nul' [[BR]]
> -------------------------------------------------------- [[BR]]

Apparently, it's possible for the service implementing the null device
('nul' pseudo-file) to be stopped or to malfunction.

The status can be checked via the control panel. Start the Device Manager
(Control Panel > Hardware and Sound > Device Manager), select View > Show
hidden devices, then under Non-Plug and Play Drivers, there should be an
entry for "Null".

The corresponding registry key is

`HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null`

The Start and Type values should both be 1.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2389#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#2389: Error in Grass-gis 7.1. svn
--------------------------------+-------------------------------------------
Reporter: Faraslis | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: unspecified
Keywords: wingrass, grass.py | Platform: MSWindows 7
      Cpu: x86-32 |
--------------------------------+-------------------------------------------

Comment(by neteler):

Does the problem persist with RC1?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2389#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#2389: Error in Grass-gis 7.1. svn
--------------------------------+-------------------------------------------
Reporter: Faraslis | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Startup | Version: unspecified
Keywords: wingrass, grass.py | Platform: MSWindows 7
      Cpu: x86-32 |
--------------------------------+-------------------------------------------

Comment(by messer):

Actually, I also experienced this bug on a win7 64bit notebook. I tried
winGRASS beta3, RC1 earlier and today (23rd Feb) the stable 7.0.0 version.
The 'Null' entry in Plug and Play Drivers and values in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Null were also
checked and everything looked ok.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2389#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>