[issue1674] pythonw.exe crashes when run as non-administrator on Windows XP Pro

2007-12-20 Thread Eric Moyer

New submission from Eric Moyer:

I installed the python-2.5.1.msi stable package from the python.org
website using a super-user account on my system.  I installed "for all
users" and used the default location and chose to install everything,
not omitting any component.

After installation, I moved the startup menu folder to be a sub-menu of
my Programming startup menu folder.  Then I ran IDLE and typed in a few
recipes from the itertools package to ensure that everything worked. 
Then I logged out and logged back in with my normal user account.  In my
normal account, the three startup menu items "IDLE (Python GUI)",
"Module Docs", and "Python (command line)" all crash.  The first two
crash with a window titled "pythonw.exe - Application Error".  The last
one opens an empty command prompt window before dying with a window
titled "python.exe - Application Error".  All the error windows have the
text, "The application failed to initialize properly (0xc022). Click
on OK to terminate the application"

Since it works when I am logged in as an administrator, my guess is that
the error has something to do with windows security.

--
components: IDLE, Installation, Interpreter Core, Windows
messages: 58896
nosy: Mr.E
severity: major
status: open
title: pythonw.exe crashes when run as non-administrator on Windows XP Pro
type: crash
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1674>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1674] pythonw.exe crashes when run as non-installer on Windows XP Pro

2007-12-20 Thread Eric Moyer

Eric Moyer added the comment:

I tried adding my normal account to the administrators group and that
did not fix the problem.

And my system:
I am running fully patched Windows XP professional SP 2 on a Presario
V2000 (AMD Turion 64 ML-37 with 480 MB ram (the other 32 MB RAM is used
by the video card))

--
title: pythonw.exe crashes when run as non-administrator on Windows XP Pro -> 
pythonw.exe crashes when run as non-installer on Windows XP Pro

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1674>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1674] pythonw.exe crashes when run in one particular account on Windows XP Pro

2007-12-20 Thread Eric Moyer

Eric Moyer added the comment:

I tried rolling back the computer and installing it on my normal account
with added super-user privileges and though the install succeeded, I
still couldn't run it.  However, the normal super-user could run it just
fine.

Looks like this is some weird misconfiguration on my normal account. 
I'd delete this report if I could now, because it looks like this bug
will be irreproducible.

--
title: pythonw.exe crashes when run as non-installer on Windows XP Pro -> 
pythonw.exe crashes when run in one particular account on Windows XP Pro

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1674>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31553] Extend json.tool to handle jsonlines (with a flag)

2017-09-22 Thread Eric Moyer

New submission from Eric Moyer:

json.tool should have the ability to format jsonlines data. It is a very 
commonly used format in many industries. Right now when given jsonlines (for 
example):

echo -e '{"ingredients":["frog", "water", "chocolate", "glucose"]} | python 
-m json.tool

Works. But:

echo -e '{"ingredients":["frog", "water", "chocolate", 
"glucose"]}\n{"ingredients":["chocolate","steel bolts"]}' | python -m json.tool

Reports an error: "Extra data: line 2 column 1 - line 3 column 1 (char 58 - 
100)"

I propose that the above behavior be retained but:

echo -e '{"ingredients":["frog", "water", "chocolate", 
"glucose"]}\n{"ingredients":"chocolate","steel bolts"}' | python3.7 -m 
json.tool --jsonlines

Should print:
{
"ingredients": [
"frog",
"water",
"chocolate",
"glucose"
]
}
{
"ingredients": [
"chocolate",
"steel bolts"
]
}

If someone else agrees this is an appropriate enhancement, I can start work on 
a PR in a couple of weeks.

--
components: Library (Lib)
messages: 302755
nosy: Eric Moyer
priority: normal
severity: normal
status: open
title: Extend json.tool to handle jsonlines (with a flag)
type: enhancement
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue31553>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31553] Extend json.tool to handle jsonlines (with a flag)

2017-09-25 Thread Eric Moyer

Eric Moyer added the comment:

I planned to write the PR myself, on the principle of "it's my itch, I
should scratch it." But if you think it is better for someone else to write
it, you know the codebase better than I, and you know how long a PR takes
to review/fix. My intention is to help. I'll do whatever is easier for you.

On Sep 24, 2017 10:01 PM, "Raymond Hettinger" 
wrote:

>
> Raymond Hettinger added the comment:
>
> Eric, did you want to write the PR yourself or would you like for Lisa to
> bring it to fruition?   If you're going to do it yourself, Lisa will serve
> as the primary reviewer (with either Ezio or me doing the final sign-off).
>
> --
> assignee:  -> lisroach
> nosy: +lisroach
>
> ___
> Python tracker 
> <https://bugs.python.org/issue31553>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue31553>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com