Discussion:
Phoenix Python3.4.1 Win32XPSP3 - Pyslices 0.9.8 crashes
DevPlayer
2014-05-26 17:48:35 UTC
Permalink
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32
bit (Intel)] on win32
wx.version = '3.0.1.dev76531 msw (phoenix)'
Microsoft Windows XP SP 3

Pyslices 0.9.8

If you:
1. import wx
2. In the Namespace tab at the bottom expand locals() in the tree
3. and in the tree control when I expand "wx" under locals() Pyslices.exe
crashes.

Separately selecting text in a slice and then using "Ctrl C" (and Ctrl+P"
does not copy(and paste) the selected text into the windows clipboard (at
least as something notepad.exe would recognize)
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Metallicow
2014-05-27 06:47:29 UTC
Permalink
Post by DevPlayer
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32
bit (Intel)] on win32
wx.version = '3.0.1.dev76531 msw (phoenix)'
Microsoft Windows XP SP 3
Pyslices 0.9.8
1. import wx
2. In the Namespace tab at the bottom expand locals() in the tree
3. and in the tree control when I expand "wx" under locals() Pyslices.exe
crashes.
Separately selecting text in a slice and then using "Ctrl C" (and Ctrl+P"
does not copy(and paste) the selected text into the windows clipboard (at
least as something notepad.exe would recognize)
The clipboard issue has finally been addressed. You are few commits
behind. Update for the clipboard issues :)
As far as py slices, don't know... try upgrading first to where I am atm
fixing my menuitem workarounds.
http://wx.ibaku.net/changelog/?t=2&c=250 r76589 ish
The py package recently saw some more PY3 updates. The auto-completion
should be working now also.
... was wx imported issue? or maybe overload...? I know the tree likes to
be a bit sluggish because of all the infos it snakes at times, but never
had a crash.
Was it a hard crash or did it give you any info?
Currently building XP Pro SP4 1/2 disk images for linux SteathVM and SP3+,
so any meaningful testing will be a few days as I haven't integrated PY3
installs into them yet.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
DevPlayer
2014-05-27 21:33:24 UTC
Permalink
Post by Metallicow
The clipboard issue has finally been addressed.
Thanks updated - works.

Was it a hard crash or did it give you any info?
The app crashed hard. The WinXP Debug button only closed the WinXP
app-crash dialog with no debug info.

It also crashes when trying to expand "filling" and "slicesshell" but not
"notebook" or the other keys that are shown when just starting pyslices.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Metallicow
2014-06-08 21:00:54 UTC
Permalink
OK, finally got sometime to do a bit of testing. Here are the results and a
possible start as to where to start looking to fix the big.

Installed python 27 and 34 and 7z extracted the wxPhoenix snapshot wheels
to each respective sitepackages directory.
Checked system PATH to not include python path and renamed py.exe and
pyw.exe launchers to python.exe and pythonw.exe in the WINDOWS dir, so
'python file.py' works right with shebangs right off the bat.

Append a 3 to the PySlices.py shebang so we get phoenix on py34.

I managed to get it to not crash with some changes made after spitting the
output trace. I didn't get much but here is a start.

import wx and Ctrl+Return to update the namespace tree and clicked on wx to
expand tree item: gives this.

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Python34\Lib\site-packages\wx\py>python PySlices.py
wxPyDeprecationWarning: Accessing deprecated property. Use altDown instead.
d[key] = getattr(obj, key)
wxPyDeprecationWarning: Accessing deprecated property. Use controlDown
instead.
d[key] = getattr(obj, key)
wxPyDeprecationWarning: Accessing deprecated property. Use metaDown instead.
d[key] = getattr(obj, key)
wxPyDeprecationWarning: Accessing deprecated property. Use shiftDown
instead.
d[key] = getattr(obj, key)
Ok. by the trace that leads me here. The obvious thing by the trace is it
is using something phoenix doesn't support or the deprecation it doesn't
like.

... can't find any obvious deprecation in the code atm by a quick search,
so lets go a little further...

modify line 129 in filling.py try to raise an exc instead of pass
silently.(This really needs a comment as to why it passes silently and or
what to expect Error-wise - This is majorly bad zen here, especially when
done in the py suite files)
d[key] = getattr(obj, key)
raise exc
this strangely makes it not crash when trying to expand wx tree item...
and got this:

C:\Python34\Lib\site-packages\wx\py>python PySlices.py
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 77, in
OnItemExpanding
self.addChildren(item)
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 154, in
addChildren
self.SetItemHasChildren(branch, self.objHasChildren(child))
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 105, in
objHasChildren
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 131, in
objGetChildren
raise exc
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 129, in
objGetChildren
d[key] = getattr(obj, key)
AttributeError: __abstractmethods__
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dev Player
2014-06-09 23:09:25 UTC
Permalink
__abstractmethods__; hmmm, haven't read up on them.
Post by Metallicow
OK, finally got sometime to do a bit of testing. Here are the results and
a possible start as to where to start looking to fix the big.
Installed python 27 and 34 and 7z extracted the wxPhoenix snapshot wheels
to each respective sitepackages directory.
Checked system PATH to not include python path and renamed py.exe and
pyw.exe launchers to python.exe and pythonw.exe in the WINDOWS dir, so
'python file.py' works right with shebangs right off the bat.
Append a 3 to the PySlices.py shebang so we get phoenix on py34.
I managed to get it to not crash with some changes made after spitting the
output trace. I didn't get much but here is a start.
import wx and Ctrl+Return to update the namespace tree and clicked on wx
to expand tree item: gives this.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Python34\Lib\site-packages\wx\py>python PySlices.py
wxPyDeprecationWarning: Accessing deprecated property. Use altDown instead.
d[key] = getattr(obj, key)
wxPyDeprecationWarning: Accessing deprecated property. Use controlDown
instead.
d[key] = getattr(obj, key)
wxPyDeprecationWarning: Accessing deprecated property. Use metaDown instead.
d[key] = getattr(obj, key)
wxPyDeprecationWarning: Accessing deprecated property. Use shiftDown
instead.
d[key] = getattr(obj, key)
Ok. by the trace that leads me here. The obvious thing by the trace is it
is using something phoenix doesn't support or the deprecation it doesn't
like.
... can't find any obvious deprecation in the code atm by a quick search,
so lets go a little further...
modify line 129 in filling.py try to raise an exc instead of pass
silently.(This really needs a comment as to why it passes silently and or
what to expect Error-wise - This is majorly bad zen here, especially when
done in the py suite files)
d[key] = getattr(obj, key)
raise exc
this strangely makes it not crash when trying to expand wx tree item...
C:\Python34\Lib\site-packages\wx\py>python PySlices.py
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 77, in
OnItemExpanding
self.addChildren(item)
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 154, in
addChildren
self.SetItemHasChildren(branch, self.objHasChildren(child))
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 105, in
objHasChildren
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 131, in
objGetChildren
raise exc
File "C:\Python34\lib\site-packages\wx\py\filling.py", line 129, in
objGetChildren
d[key] = getattr(obj, key)
AttributeError: __abstractmethods__
--
You received this message because you are subscribed to the Google Groups
"wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Werner
2014-06-10 07:20:31 UTC
Permalink
Hi,
Post by Metallicow
OK, finally got sometime to do a bit of testing. Here are the results
and a possible start as to where to start looking to fix the big.
Installed python 27 and 34 and 7z extracted the wxPhoenix snapshot
wheels to each respective sitepackages directory.
You are aware that you can install it with 'pip' and it will
automatically get the latest version which is available for the Python
version you are running pip from.

pip install -U --pre -f http://wxpython.org/Phoenix/snapshot-builds/
wxPython_Phoenix

Werner
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Metallicow
2014-06-10 12:43:57 UTC
Permalink
Post by Werner
Hi,
Post by Metallicow
OK, finally got sometime to do a bit of testing. Here are the results
and a possible start as to where to start looking to fix the big.
Installed python 27 and 34 and 7z extracted the wxPhoenix snapshot
wheels to each respective sitepackages directory.
You are aware that you can install it with 'pip' and it will
automatically get the latest version which is available for the Python
version you are running pip from.
pip install -U --pre -f http://wxpython.org/Phoenix/snapshot-builds/
wxPython_Phoenix
Werner
Yes, but one thing to consider also is that you can't get old daily build
versions from it once it passes so many builds.
Pinpointing my changes and the archived version helps out quite a bit
better with diff viewer.
I just download the snapshot I drop in and save it, so no dumb build borks
my workflow.
pip isn't smart like that. Sometimes manual is better(almost always). plus
pip isn't bain. One of these days, maybe pip will figure this out and
incorporate similar features. Then I might use it more.
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...