EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

goekhan
Hello everyone,

I installed the epd-7.2-2-win-x86_64 and it put shortcuts for Mayavi, QtConsole and Pylab on my desktop. Now Mayavi and QtConsole don´t open. There are no error messages.

On double clicking Mayavi I see a start window for a blink. In the taskmanager I see a pythonw.exe terminating itself. With QtConsole I don´t see any window, just the process therminating.

Any idea what the problem might be?
Reply | Threaded
Open this post in threaded view
|

Re: EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

goekhan
The 32 bit version does not work either.  Exactly the same behaviour :-(

I uninstalled the 64 bit beforehand.
Reply | Threaded
Open this post in threaded view
|

Re: EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

goekhan
This is the output from the 32 bit edition:

goekhan wrote
C:\Python27\Scripts>mayavi2.exe
Traceback (most recent call last):
  File "C:\Python27\Scripts\mayavi2-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Python27\Lib\site-packages\mayavi\scripts\mayavi2.py", line 649, in m
ain
    mayavi.main(sys.argv[1:])
  File "C:\Python27\Lib\site-packages\mayavi\plugins\app.py", line 192, in main
    self.setup_logger()
  File "C:\Python27\Lib\site-packages\mayavi\plugins\app.py", line 199, in setup
_logger
    setup_logger(logger, 'mayavi.log', mode=self.log_mode)
  File "C:\Python27\Lib\site-packages\mayavi\plugins\app.py", line 70, in setup_
logger
    logger.info("logfile is: '%s'", os.path.abspath(path))
  File "C:\Python27\lib\logging\__init__.py", line 1132, in info
    self._log(INFO, msg, args, **kwargs)
  File "C:\Python27\lib\logging\__init__.py", line 1250, in _log
    self.handle(record)
  File "C:\Python27\lib\logging\__init__.py", line 1260, in handle
    self.callHandlers(record)
  File "C:\Python27\lib\logging\__init__.py", line 1300, in callHandlers
    hdlr.handle(record)
  File "C:\Python27\lib\logging\__init__.py", line 744, in handle
    self.emit(record)
  File "C:\Python27\Lib\site-packages\pyface\splash_screen_log_handler.py", line
 38, in emit
    self._splash_screen.text = str(record.getMessage()) + '...'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 23: ordinal
 not in range(128)
Reply | Threaded
Open this post in threaded view
|

Re: EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

goekhan
*Sigh* I reinstalled to 64 bit, this time not for all users, only for me. Things stay the same. Anyone an idea? Where is the unicode error? Is the "ö" in my name (Gökhan) causing this?

Same error:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 23: ordinal
 not in range(128)


full log mayavi:

C:\Python27\Scripts>mayavi2.exe
Traceback (most recent call last):
  File "C:\Python27\Scripts\mayavi2-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Python27\Lib\site-packages\mayavi\scripts\mayavi2.py", line 649, in m
ain
    mayavi.main(sys.argv[1:])
  File "C:\Python27\Lib\site-packages\mayavi\plugins\app.py", line 192, in main
    self.setup_logger()
  File "C:\Python27\Lib\site-packages\mayavi\plugins\app.py", line 199, in setup
_logger
    setup_logger(logger, 'mayavi.log', mode=self.log_mode)
  File "C:\Python27\Lib\site-packages\mayavi\plugins\app.py", line 70, in setup_
logger
    logger.info("logfile is: '%s'", os.path.abspath(path))
  File "C:\Python27\lib\logging\__init__.py", line 1132, in info
    self._log(INFO, msg, args, **kwargs)
  File "C:\Python27\lib\logging\__init__.py", line 1250, in _log
    self.handle(record)
  File "C:\Python27\lib\logging\__init__.py", line 1260, in handle
    self.callHandlers(record)
  File "C:\Python27\lib\logging\__init__.py", line 1300, in callHandlers
    hdlr.handle(record)
  File "C:\Python27\lib\logging\__init__.py", line 744, in handle
    self.emit(record)
  File "C:\Python27\Lib\site-packages\pyface\splash_screen_log_handler.py", line
 38, in emit
    self._splash_screen.text = str(record.getMessage()) + '...'
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 23: ordinal
 not in range(128)


for QtConsole, nothing happens...no output either:

C:\Python27\Scripts>ipython-qtconsole.exe
C:\Python27\Scripts>ipython-qtconsole.exe -pylab
Reply | Threaded
Open this post in threaded view
|

Re: EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

Gael Varoquaux
On Wed, Mar 28, 2012 at 09:06:10AM -0700, goekhan wrote:
> *Sigh* I reinstalled to 64 bit, this time not for all users, only for me.
> Things stay the same. Anyone an idea? Where is the unicode error? Is the "ö"
> in my name (Gökhan) causing this?

My bet is that it is :$

G
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

Robert Kern
In reply to this post by goekhan
On Wed, Mar 28, 2012 at 5:06 PM, goekhan <[hidden email]> wrote:
> *Sigh* I reinstalled to 64 bit, this time not for all users, only for me.
> Things stay the same. Anyone an idea? Where is the unicode error? Is the "ö"
> in my name (Gökhan) causing this?
>
> Same error:
>
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xf6 in position 23:
> ordinal
>  not in range(128)

Well that's embarrassing. Does this fix things for you?

https://github.com/enthought/pyface/pull/31

--
Robert Kern
Enthought
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

goekhan
Thanks Robert, but the fix didn´t do it.

Instead now I created a new user account with ascii-characters only. Now even IpythonConsole works.

Cheers!
Reply | Threaded
Open this post in threaded view
|

Re: EPD 64 bit on Win7, Mayavi and QtConsole don´t start.

Robert Kern
On Mon, Apr 9, 2012 at 5:24 PM, goekhan <[hidden email]> wrote:
> Thanks Robert, but the fix didn´t do it.

Do you get the same log message? I know that you have worked around
the problem and would like to get to your own work, but I really would
like to fix this for good so that no one else runs into it. Would you
mind modifying the code a little to get some more informative output?

    try:
        self._splash_screen.text = unicode(record.getMessage()) + u'...'
    except Exception, e:
        print '%s: %s' % (type(e).__name__, e)
        print repr(record.getMessage())
        raise


and then show us the output? Thank you.

--
Robert Kern
Enthought
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev