Discussion:
Syntax errors installing dev75604 on Windows 7
Mark Lawrence
2014-01-12 13:46:59 UTC
Permalink
Problems listed below but is there a way that I can flag them up to make
your lives easier?

c:\Python27\Scripts>easy_install.exe
C:\Users\Mark\Desktop\wxPython_Phoenix-3.0.1.dev75604-py2.7-win32.egg
Processing wxPython_Phoenix-3.0.1.dev75604-py2.7-win32.egg
creating
c:\python27\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py2.7-win32.egg
Extracting wxPython_Phoenix-3.0.1.dev75604-py2.7-win32.egg to
c:\python27\lib\site-packages
File
"c:\python27\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py2.7-win32.egg\wx\tools\pywxrc.py",
line 295
print(self.templates.FILE_HEADER, file=outputFile)
^
SyntaxError: invalid syntax

c:\Python33\Scripts>easy_install.exe
C:\Users\Mark\Desktop\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg
Processing wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg
creating
c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg
Extracting wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg to
c:\python33\lib\site-packages
File
"c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg\wx\lib\evtmgr.py",
line 83
raise 'Cannot register the macro, '+`event`+'. Register instead
the individual events.'
^
SyntaxError: invalid syntax

File
"c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg\wx\lib\graphics.py",
line 946
raise ValueError, "Invalid parameters passed to Add"
^
SyntaxError: invalid syntax

File
"c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg\wx\lib\rpcMixin.py",
line 166
raise evt.rpcStatus.result[0],evt.rpcStatus.result[1]
^
SyntaxError: invalid syntax

File
"c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg\wx\lib\colourchooser\intl.py",
line 21
except Exception, strerror:
^
SyntaxError: invalid syntax

File
"c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg\wx\lib\pdfviewer\dcgraphics.py",
line
393
self.isfilled = parent._context.GetBrush().GetStyle() <>
wx.BRUSHSTYLE_TRANSPARENT
^
SyntaxError: invalid syntax

File
"c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg\wx\lib\pdfviewer\viewer.py",
line 1047
num = ((85L**4) * c1) + ((85**3) * c2) + ((85**2) * c3) + (85*c4) + c5
^
SyntaxError: invalid syntax

File
"c:\python33\lib\site-packages\wxPython_Phoenix-3.0.1.dev75604-py3.3-win32.egg\wx\lib\pubsub\examples\multithreadloop.py",
line 121
except Exception, exc:
^
SyntaxError: invalid syntax
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence
--
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/groups/opt_out.
Metallicow
2014-01-12 15:19:57 UTC
Permalink
Post by Mark Lawrence
Problems listed below but is there a way that I can flag them up to make
your lives easier?
It seems a few things got missed or maybe slipped back in.
Not sure what you mean by flag, but if you are looking to help out, Robin
prefers patch files(WinMerge can make these) or Pull REQz(these are done on
GitHub if you have an account)
If you don't have any clue as to how to do that, we can stick this mail on
the TODO list for one of us to look at here soon.

Pretty small list or traces. Looks like PY3 stuff for the most part. Looks
like most are easy fixs.
--
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/groups/opt_out.
Metallicow
2014-01-12 15:30:41 UTC
Permalink
BTW, if you didn't know it, all an .egg file is a renamed .zip, so you can
extract it with a application such as 7-Zip.
--
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/groups/opt_out.
Mark Lawrence
2014-01-12 15:40:38 UTC
Permalink
Post by Metallicow
BTW, if you didn't know it, all an .egg file is a renamed .zip, so you
can extract it with a application such as 7-Zip.
I have 7-Zip but is there any plan to use the wheel format which pip can
handle, as I was unpleasantly surprised to read here
http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install
that pip can't handle the egg format?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence
--
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/groups/opt_out.
Metallicow
2014-01-12 15:51:19 UTC
Permalink
Post by Mark Lawrence
Post by Metallicow
BTW, if you didn't know it, all an .egg file is a renamed .zip, so you
can extract it with a application such as 7-Zip.
I have 7-Zip but is there any plan to use the wheel format which pip can
handle, as I was unpleasantly surprised to read here
http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install
that pip can't handle the egg format?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
I believe Robin is looking into it.
--
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/groups/opt_out.
Metallicow
2014-01-12 16:12:07 UTC
Permalink
https://github.com/RobinD42/Phoenix/pull/50
handles everything but the PY2 trace.

Also looks like pubsub needs to be rereviewed for PY3 stuff.
--
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/groups/opt_out.
schoenborno
2014-02-14 06:46:33 UTC
Permalink
Post by Metallicow
https://github.com/RobinD42/Phoenix/pull/50
handles everything but the PY2 trace.
Also looks like pubsub needs to be rereviewed for PY3 stuff.
Note that as documented on http://pubsub.sf.net/installation.html, pubsub
works from python 2.6 to 3.4 and gets regression-tested automatically every
time I do a commit, for all versions of python listed in that table, on all
OS listed there.

Oliver
--
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/groups/opt_out.
Robin Dunn
2014-01-13 08:44:36 UTC
Permalink
Post by Mark Lawrence
Post by Metallicow
BTW, if you didn't know it, all an .egg file is a renamed .zip, so you
can extract it with a application such as 7-Zip.
I have 7-Zip but is there any plan to use the wheel format which pip can
handle, as I was unpleasantly surprised to read here
http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install
that pip can't handle the egg format?
I can easily switch. I stuck with eggs so far since I didn't think the
switch over to the wheel format was real widespread yet. Since pip and
setuptools are supporting the format now I guess the time has come.
I'll make the switch when I have some time to get the wheel package
installed on the build machines.
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
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/groups/opt_out.
Metallicow
2014-01-13 11:42:15 UTC
Permalink
Post by Mark Lawrence
Post by Mark Lawrence
Post by Metallicow
BTW, if you didn't know it, all an .egg file is a renamed .zip, so you
can extract it with a application such as 7-Zip.
I have 7-Zip but is there any plan to use the wheel format which pip can
handle, as I was unpleasantly surprised to read here
http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install
Post by Mark Lawrence
that pip can't handle the egg format?
I can easily switch. I stuck with eggs so far since I didn't think the
switch over to the wheel format was real widespread yet. Since pip and
setuptools are supporting the format now I guess the time has come.
I'll make the switch when I have some time to get the wheel package
installed on the build machines.
--
Robin Dunn
Software Craftsman
http://wxPython.org
Well, I wouldn't start play favorites with types of ditros just yet
Robin....
An argument of what the benefits of each format are...,
levied against
the old-style format, that many may still understand(the format) is reliant
upon,
should be the first step.

Now... I'm not too familiar with the whl format ATM(Is it Uncompressable
with 7z, etc...?)...,
But providing a standard compression format of distro, such as zip, rar,
7z, tar, gz, etc..
should still be in the gameplan.
Maybe some more documented infos about the different formats on the
download page is necessary... or at least a helpful link.

Also remember... pip doesn't work for everyone, and It also requires a
internet connection. pip is more often broken by this fact, in times of
need, so it is wise to provide a standard alternative DL archive structure
also.
--
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/groups/opt_out.
Metallicow
2014-01-13 12:02:30 UTC
Permalink
As far as .whl format...
Where would be a good archive/repo/etc links to test on...
Ex: Standard/Common py Libs most folks use..

I would like to make sure how
"seems new compression formats are slow to taking"
is effected here on old hardware.
--
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/groups/opt_out.
Robin Dunn
2014-01-15 08:16:25 UTC
Permalink
Post by Metallicow
Post by Mark Lawrence
Post by Metallicow
BTW, if you didn't know it, all an .egg file is a renamed .zip,
so you
Post by Mark Lawrence
Post by Metallicow
can extract it with a application such as 7-Zip.
I have 7-Zip but is there any plan to use the wheel format which
pip can
Post by Mark Lawrence
handle, as I was unpleasantly surprised to read here
http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install
<http://www.pip-installer.org/en/latest/other-tools.html#pip-compared-to-easy-install>
Post by Mark Lawrence
that pip can't handle the egg format?
I can easily switch. I stuck with eggs so far since I didn't think the
switch over to the wheel format was real widespread yet. Since pip and
setuptools are supporting the format now I guess the time has come.
I'll make the switch when I have some time to get the wheel package
installed on the build machines.
--
Robin Dunn
Software Craftsman
http://wxPython.org
Well, I wouldn't start play favorites with types of ditros just yet
Robin....
An argument of what the benefits of each format are...,
levied against
the old-style format, that many may still understand(the format) is
reliant upon,
should be the first step.
Now... I'm not too familiar with the whl format ATM(Is it Uncompressable
with 7z, etc...?)...,
But providing a standard compression format of distro, such as zip, rar,
7z, tar, gz, etc..
should still be in the gameplan.
https://pypi.python.org/pypi/wheel
http://www.python.org/dev/peps/pep-0427/

"""
A wheel is a ZIP-format archive with a specially formatted file name and
the .whl extension. It contains a single distribution nearly as it would
be installed according to PEP 376 with a particular installation scheme.
Although a specialized installer is recommended, a wheel file may be
installed by simply unpacking into site-packages with the standard
'unzip' tool while preserving enough information to spread its contents
out onto their final paths at any later time.
"""
Post by Metallicow
Also remember... pip doesn't work for everyone, and It also requires
a internet connection. pip is more often broken by this fact, in
times of need, so it is wise to provide a standard alternative DL
archive structure also.
A wheel file is that general purpose archive structure. A prebuilt wheel
file can be installed with pip (or easy_install I think) if you have new
enough versions of them, or it can be installed with the wheel command.
Pip can also download source archives and make a wheel from it,
similar to how it can download and install the packages directly. It's
a pretty simple and flexible system.

Be sure to update both pip and setuptools to the latest versions (and
get rid of distribute if you were using it before it merged back into
setuptools) and then install the wheel package. Then you're all set.
--
Robin Dunn
Software Craftsman
http://wxPython.org
--
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/groups/opt_out.
Mark Lawrence
2014-01-12 15:36:18 UTC
Permalink
Post by Mark Lawrence
Problems listed below but is there a way that I can flag them up to make
your lives easier?
It seems a few things got missed or maybe slipped back in.
Not sure what you mean by flag, but if you are looking to help out,
flag up - to mention something so that people know about it
Post by Mark Lawrence
Robin prefers patch files(WinMerge can make these) or Pull REQz(these
are done on GitHub if you have an account)
If you don't have any clue as to how to do that, we can stick this mail
on the TODO list for one of us to look at here soon.
I don't have any clue but I'm happy to learn if it helps.
Post by Mark Lawrence
Pretty small list or traces. Looks like PY3 stuff for the most part.
Looks like most are easy fixs.
Agreed.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence
--
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/groups/opt_out.
Metallicow
2014-01-12 15:47:07 UTC
Permalink
Post by Mark Lawrence
I don't have any clue but I'm happy to learn if it helps.
I can take a look at it in a few hours here. I already have everything
setup so as to make things as painless as possible.

But yes, learning how to make a basic patch file would probably be a good
thing for you to know how to do.
You dont have to learn this stuff if you don't want to, but the traces are
helpful and shows devs what still needs worked on.
And since it is recent build, I can see exactly where the traces are in my
fork.

So, yes... Thanks for "flagging it up". Bug reporting is often
ignored/forgotten by general users.
--
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/groups/opt_out.
Loading...