Python-spe-users digest, Vol 1 #12 - 5 msgs

python-spe-users-request-tdrK/[email protected] Thu, 18 Aug 2005 16:56:11 +0200
Newsgroups gmane.comp.python.spe.user
Message-ID <[email protected]>
Send Python-spe-users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.berlios.de/mailman/listinfo/python-spe-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Python-spe-users digest..."


Today's Topics:

   1. SPE .7.5b - possible shell issue? (Peter Schott)
   2. Re: no shortcuts in the windows start menu (SPE - Stani's Python Editor)
   3. Re: SPE .7.5b - possible shell issue? & new windows installers (SPE - Stani's Python Editor)
   4. Error Running Spe in Linux Ubuntu (Mario Lacunza)
   5. Re: Error Running Spe in Linux Ubuntu (SPE - Stani's Python Editor)

--__--__--

Message: 1
Date: Wed, 17 Aug 2005 06:01:40 -0700 (PDT)
From: Peter Schott <paschott-/[email protected]>
To: python-spe-users-tdrK/[email protected]
Subject: [spe-users] SPE .7.5b - possible shell issue?
Reply-To: [email protected]

Trying to delete text from the Shell to clean it up a little bit and
noted that I can't run or even type anything in the shell unless I undo
the delete/cut operation. Is this expected behaviour or am I doing
something I shouldn't? Main reason I'm doing this is to clear out some
results that I don't need in order to look over my code a little more
efficiently.

Thanks for your help.

-Pete Schott

--__--__--

Message: 2
Date: Wed, 17 Aug 2005 15:35:16 +0200
From: "SPE - Stani's Python Editor" <[email protected]>
To: python-spe-users-tdrK/[email protected]
Subject: Re: [spe-users] no shortcuts in the windows start menu
Reply-To: [email protected]

Weird, because that's how I build the installer. I suppose you mean:
etup.py bdist_wininst --install-script spe_wininst.py
(Just for other people who want to try.)

I think I understand now. Everyone is having problems using python2.4? I 
built the installer with python2.3, so I think that's the problem as it 
is a binary installer. Can anyone confirm that the shortcuts work for 
python2.3 or the opposite? If yes, I'll try to release both for 
python2.3 and 2.4.

Thanks,
Stani

Jose Galvez wrote:

> I just got the installer to work with the post script working, now I 
> have the shortcuts installed.  What I did was rebuild the windows dist 
> with this command (after downloading the source version): setup.py 
> bdist_wininst --insatll-script spe_wininst.py
> then when I ran the compiled installer it ran the post installer 
> script correctly.
> Jose
>
> [email protected] wrote:
>
>>  
>>
>>> -------- Original Message --------
>>> Subject: Re: [spe-users] no shortcuts in the windows start menu
>>> From: "SPE - Stani's Python Editor" <[email protected]>
>>> Date: Mon, August 15, 2005 11:59 pm
>>> To: python-spe-users-tdrK/[email protected]
>>>
>>> Jose Galvez wrote:
>>>
>>>   
>>>
>>>> I just installed the windows version of SPE (0.7.5.b).  The package
>>>> got installed, but no shortcuts.  Should shortcuts have been created?
>>>>
>>>> Jose
>>>>
>>>>
>>>> _______________________________________________
>>>> Python-spe-users mailing list
>>>> [email protected]
>>>> http://lists.berlios.de/mailman/listinfo/python-spe-users
>>>>
>>>>     
>>>
>>> Yes, as it is in the Manual (see windows install). Didn't you get any
>>> error message? What are your specifications? Do the shortcuts work for
>>> other users?
>>> Stani
>>>   
>>
>> I'll check the manual to see what it should have done.  No I didn't get
>> any error messages, I'll try again from a command window to see if
>> something is being sent to the window that I am missing, I'll also
>> check the logs to see if there are any error messages there
>> Jose
>>
>>  
>>
>>> _______________________________________________
>>> Python-spe-users mailing list
>>> [email protected]
>>> http://lists.berlios.de/mailman/listinfo/python-spe-users
>>>   
>>
>>
>> _______________________________________________
>> Python-spe-users mailing list
>> [email protected]
>> http://lists.berlios.de/mailman/listinfo/python-spe-users
>>
>>
>>
>>  
>>
>
> _______________________________________________
> Python-spe-users mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/python-spe-users
>


--__--__--

Message: 3
Date: Wed, 17 Aug 2005 18:54:06 +0200
From: "SPE - Stani's Python Editor" <[email protected]>
To: [email protected]
Subject: Re: [spe-users] SPE .7.5b - possible shell issue? & new windows installers
Reply-To: [email protected]

Peter Schott wrote:

>Trying to delete text from the Shell to clean it up a little bit and
>noted that I can't run or even type anything in the shell unless I undo
>the delete/cut operation. Is this expected behaviour or am I doing
>something I shouldn't? Main reason I'm doing this is to clear out some
>results that I don't need in order to look over my code a little more
>efficiently.
>
>Thanks for your help.
>
>-Pete Schott
>_______________________________________________
>Python-spe-users mailing list
>[email protected]
>http://lists.berlios.de/mailman/listinfo/python-spe-users
>
>  
>
The shell is purely PyCrust. Please post your question on the wxPython
user list (http://www.wxpython.org/maillist.php), as there are the
PyCrust gurus! Thanks to Jose Galvez, there is now a working windows
installer for Python 2.4 users, which will create shortcuts.

Stani


--__--__--

Message: 4
From: Mario Lacunza <[email protected]>
To: Lista Spe <python-spe-users-tdrK/[email protected]>
Date: Thu, 18 Aug 2005 02:32:15 -0500
Subject: [spe-users] Error Running Spe in Linux Ubuntu
Reply-To: [email protected]


--=-X+Ps+0L+YiIfs49JiojH
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Hello,

I receipt this error when a try to run Spe:

root@Laptop-Ubuntu:/usr/lib/python2.4/site-packages/_spe # sudo python
SPE.py 
Traceback (most recent call last):
  File "SPE.py", line 1, in ?
    import info
  File "/usr/lib/python2.4/site-packages/_spe/info.py", line 111, in ?
    print '\nSpe Warning: Spe was developped on wxPython v%s, but v%s
was found.'%(INFO['wxVersion'],wxV)
NameError: name 'wxV' is not defined

My Config:
Linux Ubuntu 5.04
wxPython2.6.1

-- 
Saludos / Best regards 
Mario Lacunza Vásquez 
Desarrollador de Sistemas - Webmaster 
Teléfono: 51-1-242-0058 
Celular: 51-1-93-100-386 (Tim)
Website: http://www.lacunza.tk 
Email: [email protected] 
Blog:http://mlacunza.blogspot.com 
Messenger MSN : [email protected]
Yahoo Messenger: [email protected] 
Lima - Peru

--=-X+Ps+0L+YiIfs49JiojH
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
Hello,<BR>
<BR>
I receipt this error when a try to run Spe:<BR>
<BR>
root@Laptop-Ubuntu:/usr/lib/python2.4/site-packages/_spe # sudo python SPE.py <BR>
Traceback (most recent call last):<BR>
&nbsp; File &quot;SPE.py&quot;, line 1, in ?<BR>
&nbsp;&nbsp;&nbsp; import info<BR>
&nbsp; File &quot;/usr/lib/python2.4/site-packages/_spe/info.py&quot;, line 111, in ?<BR>
&nbsp;&nbsp;&nbsp; print '\nSpe Warning: Spe was developped on wxPython v%s, but v%s was found.'%(INFO['wxVersion'],wxV)<BR>
NameError: name 'wxV' is not defined<BR>
<BR>
My Config:<BR>
Linux Ubuntu 5.04<BR>
wxPython2.6.1<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Saludos / Best regards 
Mario Lacunza V&#225;squez 
Desarrollador de Sistemas - Webmaster 
Tel&#233;fono: 51-1-242-0058 
Celular: 51-1-93-100-386 (Tim)
Website: <A HREF="http://www.lacunza.tk">http://www.lacunza.tk</A>&nbsp;
Email: <A HREF="mailto:[email protected]">[email protected]</A>&nbsp;
Blog:<A HREF="http://mlacunza.blogspot.com">http://mlacunza.blogspot.com</A>&nbsp;
Messenger MSN : <A HREF="mailto:[email protected]">[email protected]</A>
Yahoo Messenger: <A HREF="mailto:[email protected]">[email protected]</A>&nbsp;
Lima - Peru
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-X+Ps+0L+YiIfs49JiojH--


--__--__--

Message: 5
Date: Thu, 18 Aug 2005 14:26:55 +0200
From: "SPE - Stani's Python Editor" <[email protected]>
To: python-spe-users-tdrK/[email protected]
Subject: Re: [spe-users] Error Running Spe in Linux Ubuntu
Reply-To: [email protected]

This is a multi-part message in MIME format.
--------------020608030400080300070307
Content-Type: multipart/alternative;
 boundary="------------020500090403060905050805"


--------------020500090403060905050805
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Fixed for SPE 0.7.5.c. Anyway this is the info.py file.
Mario Lacunza wrote:

> Hello,
>
> I receipt this error when a try to run Spe:
>
> root@Laptop-Ubuntu:/usr/lib/python2.4/site-packages/_spe # sudo python 
> SPE.py
> Traceback (most recent call last):
>   File "SPE.py", line 1, in ?
>     import info
>   File "/usr/lib/python2.4/site-packages/_spe/info.py", line 111, in ?
>     print '\nSpe Warning: Spe was developped on wxPython v%s, but v%s 
> was found.'%(INFO['wxVersion'],wxV)
> NameError: name 'wxV' is not defined
>
> My Config:
> Linux Ubuntu 5.04
> wxPython2.6.1
>
>-- 
>Saludos / Best regards 
>Mario Lacunza Vásquez 
>Desarrollador de Sistemas - Webmaster 
>Teléfono: 51-1-242-0058 
>Celular: 51-1-93-100-386 (Tim)
>Website: http://www.lacunza.tk 
>Email: [email protected] <mailto:[email protected]> 
>Blog:http://mlacunza.blogspot.com 
>Messenger MSN : [email protected] <mailto:[email protected]>
>Yahoo Messenger: [email protected] <mailto:[email protected]> 
>Lima - Peru
>        
>


--------------020500090403060905050805
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Fixed for SPE 0.7.5.c. Anyway this is the info.py file.<br>
Mario Lacunza wrote:
<blockquote cite="mid1124350336.8531.3.camel@Laptop-Ubuntu" type="cite">
  <meta http-equiv="Context-Type" content="text/html; charset=utf-8">
Hello,<br>
  <br>
I receipt this error when a try to run Spe:<br>
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:root@Laptop-Ubuntu:/usr/lib/python2.4/site-packages/_spe">root@Laptop-Ubuntu:/usr/lib/python2.4/site-packages/_spe</a> # sudo python
SPE.py <br>
Traceback (most recent call last):<br>
  File "SPE.py", line 1, in ?<br>
    import info<br>
  File "/usr/lib/python2.4/site-packages/_spe/info.py", line 111, in ?<br>
    print '\nSpe Warning: Spe was developped on wxPython v%s, but v%s
was found.'%(INFO['wxVersion'],wxV)<br>
NameError: name 'wxV' is not defined<br>
  <br>
My Config:<br>
Linux Ubuntu 5.04<br>
wxPython2.6.1<br>
  <br>
  <table>
    <tbody>
      <tr>
        <td>
        <pre>-- 
Saludos / Best regards 
Mario Lacunza Vásquez 
Desarrollador de Sistemas - Webmaster 
Teléfono: 51-1-242-0058 
Celular: 51-1-93-100-386 (Tim)
Website: <a href="http://www.lacunza.tk">http://www.lacunza.tk</a> 
Email: <a href="mailto:[email protected]">[email protected]</a> 
Blog:<a href="http://mlacunza.blogspot.com">http://mlacunza.blogspot.com</a> 
Messenger MSN : <a href="mailto:[email protected]">[email protected]</a>
Yahoo Messenger: <a href="mailto:[email protected]">[email protected]</a> 
Lima - Peru
        </pre>
        </td>
      </tr>
    </tbody>
  </table>
</blockquote>
<br>
</body>
</html>

--------------020500090403060905050805--

--------------020608030400080300070307
Content-Type: text/x-python;
 name="info.py"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="info.py"

import os,sys

PLATFORM                    = sys.platform
WIN                         = PLATFORM.startswith('win')
DARWIN                      = PLATFORM.startswith('darwin')

path                        = os.path.dirname(__file__)

#---Append sm
if path not in sys.path:
    sys.path.append(path)
import sm.osx

INFO={
    'author'            : "www.stani.be",
    'author_email'      : '[email protected]',
    'blenderVersion'    : "2.35",
    'date'              : "5-8-2005",
    'donate'            : "If you enjoy SPE, consider a (small) donation.",
    'doc'               : "%(titleFull)s\n\n%(description)s\n\n%(links)s\n\n%(requirements)s\n\n%(copyright)s",
    'license'           : 'GPL',
    'location'          : path,
    'pyVersion'         : "2.3",
    'pyVersionC'        : sys.version.split(' ')[0],
    'scripts'           : ['spe','spe_wininst.py'],
    'smLocation'        : os.path.join(path,'sm'),
    'title'             : "SPE",
    'url'               : 'http://www.stani.be/python/spe/blog',
    'forums'            : '',
    'userPath'          : sm.osx.userPath('.spe'),
    'version'           : "0.7.5.c",
    'wxVersion'         : "2.6.1.0.",
}


INFO['defaults']     = os.path.join(INFO['location'],'defaults.cfg')
INFO['defaultsUser'] = os.path.join(INFO['userPath'],'defaults.cfg')

INFO['titleFull']    = "%(title)s %(version)s"%INFO

INFO['links']=\
"""Homepage : %s
Donwloads: http://www.stani.be/python/spe/page_blender
Forum    : http://www.stani.be/python/spe/page_forum
Lists    : http://www.stani.be/python/spe/page_mailman"""%INFO['url']

INFO['description']=\
"""Stani's Python Editor

Spe is a python IDE with auto-indentation, auto completion, call tips, syntax
coloring, syntax highlighting, class explorer, source index, auto todo list,
sticky notes, integrated pycrust shell, python file browser, recent file
browser, drag&drop, context help, ... Special is its blender support with a
blender 3d object browser and its ability to run interactively inside blender.
Spe is extensible with boa.

Wanted: wxpython programmers to extend spe's features, feel free to do a proposal.

For more information, see spe/doc/manual.html"""%INFO

INFO['requirements']=\
"""Python   v%(pyVersion)s      required
wxPython v%(wxVersion)s required
Blender  v%(blenderVersion)s     optional"""%INFO

INFO['copyright']=\
"""Copyright (C)%(author)s (%(date)s)

This library is released under the GPL, except from the sm.* library.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
"""%INFO

INFO['contribute'] = """There are different ways to contribute:
    
- %s (or convince your boss)
- Let your company sponsor SPE (see manual)
- SPE needs documentation writers and screenshot takers for manual
- Contribute code (eg wxPython panels) & patches
- Promote SPE in newsgroups, press, blogs, ...
- Subscribe to mailing lists
- Translate manual
- Report bugs in the bug tracker"""%INFO['donate']

WILDCARD = "Python (*.py;*.pyw;*.tpy)|*.py;*.pyw;*.tpy|All files (*)|*"
WILDCARD_EXTENDED = WILDCARD+'|Python All(*.py;*.pyw;*.tpy;*.pyc;*.pyd;*.pyo)|*.py;*.pyw;*.tpy;*.pyc;*.pyd;*.pyo|Text (*.txt;*.rtf;*.htm;*.html;*.pdf)|*.txt;*.rtf;*.htm;*.html;*.pdf|Bitmap (*.jpg;*.jpeg;*.bmp;*.tif;*.tiff;*.png;*.pic)|*.jpg;*.jpeg;*.bmp;*.tif;*.tiff;*.png;*.pic|Vector (*.dxf;*.dwg;*.svg;*.swf;*.vrml;*.wrl)|*.dxf;*.dwg;*.svg;*.swf;*.vrml;*.wrl'


__doc__=INFO['doc']%INFO

def copy():
    return INFO.copy()

#---wx
try:
    import wx
    INFO['wxVersionC']  = '.'.join([str(x)for x in wx.VERSION])
    if INFO['wxVersionC']!=INFO['wxVersion']:
        print '\nSpe Warning: Spe was developped on wxPython v%s, but v%s was found.'%(INFO['wxVersion'],INFO['wxVersionC'])
        print 'If you experience any problems please install wxPython v%s\n'%INFO['wxVersion']
    INFO['encoding']    = wx.GetDefaultPyEncoding()
    WX_ERROR = False
except ImportError:
    print "Spe Error: Please install the right version of wxPython: %s"%INFO['wxVersion']
    WX_ERROR = True

--------------020608030400080300070307--


--__--__--

_______________________________________________
Python-spe-users mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/python-spe-users


End of Python-spe-users Digest