Re: Problem trying to run wxglade

Christoph Robbert <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
Hey,

this is a known bug in the Version 7.0. This version forgets to create 
the logging folder. You have to create this directory by hand. According 
to your error message, wxglade wants to log to the directory:
'C:\\Users\\SO-PHI\\AppData\\Roaming\\wxglade'
Create the directory named 'wxglade' in the directory
'C:\\Users\\SO-PHI\\AppData\\Roaming' and wxglade should start fine.

Regards,
Christoph Robbert

Am 21.01.2015 um 12:22 schrieb Claudia Ruiz de Galarreta:
> Hello,
> I am a super-newbee to wxGlade...I was very happy to discover such a 
> GUI to create widgets but after installing the last .exe version 
> through sourceforge, I'm completely unable to run it. I am working 
> with Windows 8 - 64bits and the Enthough Canopy Environment, and I got 
> this error:
>
> Welcome to Canopy's interactive data-analysis environment!
>  with pylab-backend set to: qt
> Type '?' for more information.
>
> In [74]: %run "C:/Program Files (x86)/wxGlade/wxglade.pyw"
> ---------------------------------------------------------------------------
> IOError                                   Traceback (most recent call 
> last)
> C:\Users\SO-PHI\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.1975.win-x86_64\lib\site-packages\IPython\utils\py3compat.pyc 
> in execfile(fname, glob, loc)
>     195             else:
>     196                 filename = fname
> --> 197             exec compile(scripttext, filename, 'exec') in 
> glob, loc
>     198     else:
>     199         def execfile(fname, *where):
>
> C:\Program Files (x86)\wxGlade\wxglade.pyw in <module>()
>      11
>      12 #run the main function
> ---> 13 wxglade.run_main()
>
> C:\Program Files (x86)\wxGlade\wxglade.py in run_main()
>     321
>     322     # initialise wxGlade (first stage)
> --> 323     init_stage1()
>     324
>     325     # print versions
>
> C:\Program Files (x86)\wxGlade\wxglade.py in init_stage1()
>     186         filename=config.log_file,
>     187         encoding='utf-8',
> --> 188         level='INFO',
>     189         )
>     190     atexit.register(log.deinit)
>
> C:\Program Files (x86)\wxGlade\log.py in init(filename, encoding, level)
>     379             maxBytes=100 * 1024,
>     380             encoding=encoding,
> --> 381             backupCount=1,
>     382             )
>     383         file_logger.setFormatter(file_formatter)
>
> C:\Users\SO-PHI\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.1975.win-x86_64\lib\logging\handlers.pyc 
> in __init__(self, filename, mode, maxBytes, backupCount, encoding, delay)
>     115         if maxBytes > 0:
>     116             mode = 'a'
> --> 117         BaseRotatingHandler.__init__(self, filename, mode, 
> encoding, delay)
>     118         self.maxBytes = maxBytes
>     119         self.backupCount = backupCount
>
> C:\Users\SO-PHI\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.1975.win-x86_64\lib\logging\handlers.pyc 
> in __init__(self, filename, mode, encoding, delay)
>      62         if codecs is None:
>      63             encoding = None
> ---> 64         logging.FileHandler.__init__(self, filename, mode, 
> encoding, delay)
>      65         self.mode = mode
>      66         self.encoding = encoding
>
> C:\Users\SO-PHI\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.1975.win-x86_64\lib\logging\__init__.pyc 
> in __init__(self, filename, mode, encoding, delay)
>     901             self.stream = None
>     902         else:
> --> 903             StreamHandler.__init__(self, self._open())
>     904
>     905     def close(self):
>
> C:\Users\SO-PHI\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.1975.win-x86_64\lib\logging\__init__.pyc 
> in _open(self)
>     926             stream = open(self.baseFilename, self.mode)
>     927         else:
> --> 928             stream = codecs.open(self.baseFilename, self.mode, 
> self.encoding)
>     929         return stream
>     930
>
> C:\Users\SO-PHI\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.4.1.1975.win-x86_64\lib\codecs.pyc 
> in open(filename, mode, encoding, errors, buffering)
>     879             # Force opening of the file in binary mode
>     880             mode = mode + 'b'
> --> 881     file = __builtin__.open(filename, mode, buffering)
>     882     if encoding is None:
>     883         return file
>
> IOError: [Errno 2] No such file or directory: 
> 'C:\\Users\\SO-PHI\\AppData\\Roaming\\wxglade\\wxglade.log'
>
> could you please help me with this?
> Thank you a lot!
> Claudia
>
> -- 
> [Institut d'Astrophysique Spatilae Orsay]
>
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
>
>
> _______________________________________________
> wxGlade-general mailing list
> wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/wxglade-general

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.