473,379 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

PyPE 2.1 run problem

Hello,

I have downloaded the PyPE2.1-win-unicode.zip, after unzip it with winzip
into PyPE2.1-win-unicode dierctory on window XP. I try to run "pype.exe"
by double
click on it, but nothing has happen, then when I run it with "run as..."
using the right click button.
I have the following Message in the pype.exe.log

Traceback (most recent call last):
File "pype.py", line 30, in ?
File "configuration.pyc", line 129, in ?
WindowsError: [Errno 267] The directory name is invalid:
'E:\\Downloads\\Python\\PyPE\\PyPE2.1-win-unicode\\library.zip/*.*'

I also copy the "PyPE2.1-win-unicode" directory into
"C:\Python24\Lib\site-packages" and run it, but it behaves the same !!

Then I downloaded the source code and unzip it into "PyPe2.1-src", and run
"python pype.py" in a command window.
The progroam detected I have an older version of wxPython 2.5.5 and askes
me do I want to download the newer version
2.6.1. Which I did.

After downlowd the wxPython 2.6.1 (win-unicode" version). I installed it
into Python 2.4.1, then re-run PyPE.
i.e re-issue "python pype.py" in a command window." I have the following
traceback Error message:

[ Wed Aug 17 09:32:32 2005 ] Loading history from C:\Documents and
Settings\gbr02333\.pype\history.txt

Traceback (most recent call last):

File "pype.py", line 3926, in ?

main()

File "pype.py", line 3916, in main

filehistory.root = root = app.frame = MainWindow(None, -1, "PyPE",
sys.argv[1+opn:])

File "pype.py", line 438, in __init__

self.loadHistory()

File "pype.py", line 1152, in loadHistory

self.config[nam][k] = dict(v)

TypeError: iteration over non-sequence
I wonder does anyone using PyPE2.1 on Windown XP SP2 and have the same
problem? Can any one help
with the problem? Thanks in advance !

Tony Ha.
Aug 17 '05 #1
2 2010

to*****@philips.com wrote:
Hello,

I have downloaded the PyPE2.1-win-unicode.zip, after unzip it with winzip
into PyPE2.1-win-unicode dierctory on window XP. I try to run "pype.exe"
by double
click on it, but nothing has happen, then when I run it with "run as..."
using the right click button.
I have the following Message in the pype.exe.log

Traceback (most recent call last):
File "pype.py", line 30, in ?
File "configuration.pyc", line 129, in ?
WindowsError: [Errno 267] The directory name is invalid:
'E:\\Downloads\\Python\\PyPE\\PyPE2.1-win-unicode\\library.zip/*.*'

I also copy the "PyPE2.1-win-unicode" directory into
"C:\Python24\Lib\site-packages" and run it, but it behaves the same !!

Then I downloaded the source code and unzip it into "PyPe2.1-src", and run
"python pype.py" in a command window.
The progroam detected I have an older version of wxPython 2.5.5 and askes
me do I want to download the newer version
2.6.1. Which I did.

After downlowd the wxPython 2.6.1 (win-unicode" version). I installed it
into Python 2.4.1, then re-run PyPE.
i.e re-issue "python pype.py" in a command window." I have the following
traceback Error message:

[ Wed Aug 17 09:32:32 2005 ] Loading history from C:\Documents and
Settings\gbr02333\.pype\history.txt

Traceback (most recent call last):

File "pype.py", line 3926, in ?

main()

File "pype.py", line 3916, in main

filehistory.root = root = app.frame = MainWindow(None, -1, "PyPE",
sys.argv[1+opn:])

File "pype.py", line 438, in __init__

self.loadHistory()

File "pype.py", line 1152, in loadHistory

self.config[nam][k] = dict(v)

TypeError: iteration over non-sequence
I wonder does anyone using PyPE2.1 on Windown XP SP2 and have the same
problem? Can any one help
with the problem? Thanks in advance !

Tony Ha.


I have the following reply from the creator of PyPE (Josiah Carlson).
The
solution for running PyPE2.1 from the source is:

"replacing line 1152 with the following 4 lines:

if isinstance(v, dict):
self.config[nam][k] = dict(v)
else:
self.config[nam][k] = v "

Once I done the replacement as suggested above, PyPE2.1 can run from
the
source now. Thanks Josiah !

Aug 18 '05 #2
> Once I done the replacement as suggested above, PyPE2.1 can run from
the source now. Thanks Josiah !


No problem.
I have downloaded the PyPE2.1-win-unicode.zip, after unzip it with winzip
into PyPE2.1-win-unicode dierctory on window XP. I try to run "pype.exe"
by double
click on it, but nothing has happen, then when I run it with "run as..."
using the right click button.
I have the following Message in the pype.exe.log

Traceback (most recent call last):
File "pype.py", line 30, in ?
File "configuration.pyc", line 129, in ?
WindowsError: [Errno 267] The directory name is invalid:
'E:\\Downloads\\Python\\PyPE\\PyPE2.1-win-unicode\\library.zip/*.*'

I also copy the "PyPE2.1-win-unicode" directory into
"C:\Python24\Lib\site-packages" and run it, but it behaves the same !!


I have a solution to that one too...turns out that it was a problem
with PyPE trying to use a home directory inside of the library.zip file
if it couldn't find your platform's home directory. I have fixed it to
be aware of being py2exe'd. Try PyPE 2.1.1, available via
sourceforge.net (remember to verify those hashes!)

- Josiah

Aug 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
11
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class...
0
by: Refky Wahib | last post by:
Hi I need Technical Support I finished a Great project using .Net and SQL Server and .Net Mobile Control My Business case is to implement this Program to accept about 1 Million concurrent...
117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
by: Josiah Carlson | last post by:
daniel <daniel.huangfei@gmail.comwrote: I don't normally troll python-list, so sorry if this gets to you late, but to answer your question; there are sample macros in the macros/samples...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.