Re: Issue bootstrapping Python - troubleshooting steps?

2024-08-06 Thread Barry Scott via Python-list
> On 6 Aug 2024, at 02:49, Piper McCorkle via Python-list > wrote: > > $ /tmp/sources/Python-3.12.4/configure --enable-shared --with-system-expat > --enable-optimizations --prefix= I assume that you must provide a value for --prefix. The linux default would be --prefix=/usr Barry -- htt

Issue bootstrapping Python - troubleshooting steps?

2024-08-05 Thread Piper McCorkle via Python-list
Hi! I'm working on a Linux From Scratch sort of system, and part of that is bootstrapping Python. I'm running into an error message in the compilation though - could anyone help me with next steps on troubleshooting the error? Error: > ./_bootstrap_python /tmp/sources/Python-3.

Re: Troubleshooting

2019-12-13 Thread Akkana Peck
Michael Torrie writes: > On 12/12/19 6:33 PM, Python wrote: > > What happened exactly? Did you download the official installer from > > python.org, then click on next, next, next, checking the box (if it's > > still there about updating PATH)? There is nothing more to do. > > I've seen github bug

Re: Troubleshooting

2019-12-12 Thread Karsten Hilbert
On Thu, Dec 12, 2019 at 06:40:32PM -0600, catherine morris wrote: > Good evening, > > My son is trying to download python 3.8.0 on my PC, which has Windows 10, > and it won't install properly. I'm not tech savvy and have no idea where to > start. No offense, but, how old is your son ? Karsten --

Re: Troubleshooting

2019-12-12 Thread Michael Torrie
On 12/12/19 8:03 PM, Python wrote: >> Just when I think Windows 10 is a pretty decent system, I encounter >> something inexplicable like this. > > We've gone through that before, haven't we? Yup, Several times. The good news is her son finally got it installed by launching the installer from exp

Re: Troubleshooting

2019-12-12 Thread Python
Le 13/12/2019 à 03:53, Michael Torrie a écrit : On 12/12/19 6:33 PM, Python wrote: catherine morris wrote: Good evening, My son is trying to download python 3.8.0 on my PC, which has Windows 10, and it won't install properly. I'm not tech savvy and have no idea where to start. What happened

Re: Troubleshooting

2019-12-12 Thread Michael Torrie
On 12/12/19 6:33 PM, Python wrote: > catherine morris wrote: >> Good evening, >> >> My son is trying to download python 3.8.0 on my PC, which has Windows 10, >> and it won't install properly. I'm not tech savvy and have no idea where to >> start. > > What happened exactly? Did you download the off

Re: Troubleshooting

2019-12-12 Thread Python
catherine morris wrote: Good evening, My son is trying to download python 3.8.0 on my PC, which has Windows 10, and it won't install properly. I'm not tech savvy and have no idea where to start. What happened exactly? Did you download the official installer from python.org, then click on next,

Re: Troubleshooting

2019-12-12 Thread Michael Torrie
On 12/12/19 5:40 PM, catherine morris wrote: > Good evening, > > My son is trying to download python 3.8.0 on my PC, which has Windows 10, > and it won't install properly. I'm not tech savvy and have no idea where to > start. > > Catherine Morris I just learned today that Python is officially av

Troubleshooting

2019-12-12 Thread catherine morris
Good evening, My son is trying to download python 3.8.0 on my PC, which has Windows 10, and it won't install properly. I'm not tech savvy and have no idea where to start. Catherine Morris -- https://mail.python.org/mailman/listinfo/python-list

Re: troubleshooting

2016-04-04 Thread Steven D'Aprano
On Tue, 5 Apr 2016 02:03 am, Sk. Amirul Islam wrote: > i recently installed the application but when i ran it it gave a 'runtime > error". i even reinstalled it. but it gives the same error everytime i > try. im eclosing a screenshot of the error . thank you Hi. Which application are you talking

Re: troubleshooting

2016-04-04 Thread Igor Korot
Hi, On Mon, Apr 4, 2016 at 12:03 PM, Sk. Amirul Islam wrote: > i recently installed the application but when i ran it it gave a 'runtime > error". i even reinstalled it. but it gives the same error everytime i try. > im eclosing a screenshot of the error . thank you Attachments are not going thr

troubleshooting

2016-04-04 Thread Sk. Amirul Islam
i recently installed the application but when i ran it it gave a 'runtime error". i even reinstalled it. but it gives the same error everytime i try. im eclosing a screenshot of the error . thank you -- https://mail.python.org/mailman/listinfo/python-list

Re: JSON Object to CSV File Troubleshooting

2015-06-23 Thread Sahlusar
On Tuesday, June 23, 2015 at 2:35:50 AM UTC-4, Denis McMahon wrote: > On Sun, 21 Jun 2015 16:56:27 -0700, Sahlusar wrote: > > > Here is an example XML document that I am working with: > > > You are welcome to contribute and provide me with feedback. Thank you > > for your continued feedback and g

Re: JSON Object to CSV File Troubleshooting

2015-06-22 Thread Denis McMahon
On Sun, 21 Jun 2015 16:56:27 -0700, Sahlusar wrote: > Here is an example XML document that I am working with: > You are welcome to contribute and provide me with feedback. Thank you > for your continued feedback and guidance. Your XML is invalid! You have a closing MO tag with no opening tag. >

Re: JSON Object to CSV File Troubleshooting

2015-06-22 Thread Chris Angelico
On Mon, Jun 22, 2015 at 9:33 AM, Denis McMahon wrote: > This is the sort of data conversion code I generally turn out in a day or > so, it's hardly rocket science as long as you have a clear description of > what is required. If you don't have a clear description of what is > required, you have to

Re: JSON Object to CSV File Troubleshooting

2015-06-21 Thread Sahlusar
On Sunday, June 21, 2015 at 7:34:47 PM UTC-4, Denis McMahon wrote: > On Mon, 22 Jun 2015 00:55:11 +0300, Joonas Liik wrote: > > > In xml for instance this is valid: > > > > > 1 > > > > .. and so is this: > > > > 1 2 > > > > What the OP needs to do is sit down with the XML and work out how

Re: JSON Object to CSV File Troubleshooting

2015-06-21 Thread Sahlusar
On Sunday, June 21, 2015 at 5:56:00 PM UTC-4, Waffle wrote: > On 21 June 2015 at 17:38, Sahlusar wrote: > > > > [snip] > > I do agree with you Denis that this is an unconventional approach. I was > > wondering then that perhaps I should add additional functionality at the > > XML to JSON step? S

Re: JSON Object to CSV File Troubleshooting

2015-06-21 Thread Denis McMahon
On Mon, 22 Jun 2015 00:55:11 +0300, Joonas Liik wrote: > In xml for instance this is valid: > > 1 > > .. and so is this: > > 1 2 > What the OP needs to do is sit down with the XML and work out how it needs to be represented in CSV terms, and then code that transformation, but it appears

Re: JSON Object to CSV File Troubleshooting

2015-06-21 Thread Joonas Liik
On 21 June 2015 at 17:38, Sahlusar wrote: > > [snip] > I do agree with you Denis that this is an unconventional approach. I was > wondering then that perhaps I should add additional functionality at the XML > to JSON step? So far, with JSON objects without nested lists (as values) I > have been

Re: JSON Object to CSV File Troubleshooting

2015-06-21 Thread Denis McMahon
On Sun, 21 Jun 2015 07:38:13 -0700, Sahlusar wrote: > It is difficult to explain this to someone asynchronously and without an > in person meeting. Moreover, the strict guidelines for disclosing > information make it difficult for me to explain the client's > requirements and the problems that the

Re: JSON Object to CSV File Troubleshooting

2015-06-21 Thread Sahlusar
It is difficult to explain this to someone asynchronously and without an in person meeting. Moreover, the strict guidelines for disclosing information make it difficult for me to explain the client's requirements and the problems that they face. I do agree with you Denis that this is an uncon

Re: JSON Object to CSV File Troubleshooting

2015-06-21 Thread Sahlusar
On Sunday, 21 June 2015 02:54:48 UTC-4, Denis McMahon wrote: > On Thu, 18 Jun 2015 18:47:30 -0700, Sahlusar wrote: > > > I have a conundrum regarding JSON objects and converting them to CSV: > > I think your conundrum is that you've taken on a coding task beyond your > abilities to comprehend,

Re: JSON Object to CSV File Troubleshooting

2015-06-20 Thread Denis McMahon
On Thu, 18 Jun 2015 18:47:30 -0700, Sahlusar wrote: > I have a conundrum regarding JSON objects and converting them to CSV: I think your conundrum is that you've taken on a coding task beyond your abilities to comprehend, and as a result not only can you not code it, you can't even adequately d

Re: JSON Object to CSV File Troubleshooting

2015-06-20 Thread Denis McMahon
On Thu, 18 Jun 2015 18:47:30 -0700, Sahlusar wrote: > I have a conundrum regarding JSON objects and converting them to CSV: > > Context > > I am converting XML files to a JSON object (please see snippet below) > and then finally producing a CSV file. Here is a an example JSON object: This is wh

Re: JSON Object to CSV File Troubleshooting

2015-06-18 Thread Steve Hayes
On Thu, 18 Jun 2015 18:47:30 -0700 (PDT), Sahlusar wrote: >Good Evening, > >I have a conundrum regarding JSON objects and converting them to CSV: That's the THIRD time you've asked this, in three separate threads. Why don't you read the answers you were given the first time? [follow-ups set]

JSON Object to CSV File Troubleshooting

2015-06-18 Thread Sahlusar
Good Evening, I have a conundrum regarding JSON objects and converting them to CSV: Context I am converting XML files to a JSON object (please see snippet below) and then finally producing a CSV file. Here is a an example JSON object: "PAC": {

Help Troubleshooting

2010-03-12 Thread Victor Subervi
Hi; I'm running Pexpect (no discussion list) with the following code: #! /usr/bin/python import pexpect def runVpopmail(whatdo, acct, domain, newpw, oldpw=''): if whatdo == 'vadduser': child = pexpect.spawn('/home/vpopmail/bin/%s %...@%s %s' % (whatdo, acct, domain, newpw)) elif whatdo ==

Re: Troubleshooting garbage collection issues

2007-11-28 Thread [EMAIL PROTECTED]
Thanks for the thoughts - much appreciated! The threaded super-goat was indeed the offender. A very aggressive QA tester got us enough of a pattern to identify the offending module: pyOpenSSL. After looking at it closely, we found there are problems with its thread handling. In particular, the G

Re: Troubleshooting garbage collection issues

2007-11-18 Thread Hendrik van Rooyen
(Dave) wrote: 8<- description of horrible problem -- Faced with this, I would: 1 - identify the modules that import gc to separate the sheep from the goats. 2 - do my best to change gc importing goats back to sheep. 3 - amongst the remaining goats, identify the ones

Re: Troubleshooting garbage collection issues

2007-11-18 Thread Rhamphoryncus
On Nov 17, 10:34 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi folks - wondering if anyone has any pointers on troubleshooting > garbage collection. My colleagues and I are running into an > interesting problem: > > Intermittently, we get into a situati

Troubleshooting garbage collection issues

2007-11-17 Thread [EMAIL PROTECTED]
Hi folks - wondering if anyone has any pointers on troubleshooting garbage collection. My colleagues and I are running into an interesting problem: Intermittently, we get into a situation where the garbage collection code is running in an infinite loop. The data structures within the garbage

Re: Troubleshooting installing new package

2007-09-19 Thread nickel_and_dime_2death
On Sep 13, 8:10 pm, "Gheorghe Postelnicu" <[EMAIL PROTECTED]> wrote: > Hi, > > I have Python 2.5 installed on WinXP and I am trying to install a new > package. I ran thesetup.pybuild and I get the following message: > > C:\packages\reedsolomon-0.1>setup.pybuild > running build > running build_ext >

Troubleshooting installing new package

2007-09-13 Thread Gheorghe Postelnicu
Hi, I have Python 2.5 installed on WinXP and I am trying to install a new package. I ran the setup.py build and I get the following message: C:\packages\reedsolomon-0.1>setup.py build running build running build_ext error: Python was built with Visual Studio 2003; extensions must be built with a

Extension causes segmentation fault -- suggestions on troubleshooting?

2006-12-06 Thread R. Steve McKown
Hello, I'm writing a C extension for cygwin python to access a vendor supplied DLL that allows one to set the general purpose IO (gpio) pins of the Silicon Labs' cp2103 USB/serial chip. We communicate to the device using the vendor's virtual com port driver, but the gpio pins allow us access t

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-20 Thread Trent Mick
[chuck wrote] > What is Komodo written in? Komodo is based on the Mozilla framework, so in many ways it is similar to Firefox and Thunderbird. Komodo also includes PyXPCOM -- Python bindings to Mozilla's XPCOM (cross-platform component object model) system for componentizing parts of the framework

Re: PythonWin troubleshooting

2005-12-18 Thread chuck
Oh my gosh - thank you, thank. I must have had thousands of these entries in my registry. I've blown it away and at least at initial testing, appears to have solved the problem. I should have gone poking around the the bug database. Next time I will. -- http://mail.python.org/mailman/listinfo

Re: PythonWin troubleshooting

2005-12-17 Thread Greg Chapman
On 13 Dec 2005 14:27:48 -0800, "chuck" <[EMAIL PROTECTED]> wrote: > >After some use the problems have re-appeared with the "ActivePython >2.3.5.236" distro. I think the problem is related to some sort of >shell hook as it goofs up not only PythonWin, but other windows >applications and windows it

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-17 Thread chuck
Yeah but is it 'fast'. What is Komodo written in? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-16 Thread Brendan
I use Komodo now, and love it. It has all the features you'd expect: code completion, object browsing, folding, docstring previews etc. Of course it's the only full-featured, native and stable Python IDE currently available for the mac (SPE is close), so my choice is limited. Brendan Martin

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-16 Thread SPE - Stani's Python Editor
Thanks Tim, SPE is written in Python and uses wxPython for its user interface and is being actively developed. In case you want to know more: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, UML viewer, syntax highlighting, class explorer, source index, auto

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-16 Thread Tim Arnold
"chuck" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Apparently not too many people use or are interested in PythonWin. I'm > giving up on it. It used to work pretty good. > > I'm lucky that I have found PyScripter (http://www.mmm-experts.com/) a > python IDE for the windows pl

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-15 Thread limodou
15 Dec 2005 18:03:27 -0800, Martin Miller <[EMAIL PROTECTED]>: > You might want to also to consider the Komodo IDE from ActiveState (the > same company that produces ActivePython and hosts the ASPN Cookbook). > This isn't an endorsement -- I have no experience with it -- but its > feature set look

Re: Python IDE (was: PythonWin troubleshooting)

2005-12-15 Thread Martin Miller
You might want to also to consider the Komodo IDE from ActiveState (the same company that produces ActivePython and hosts the ASPN Cookbook). This isn't an endorsement -- I have no experience with it -- but its feature set looks good [see http://activestate.com/Products/Komodo]. If someone with

Python IDE (was: PythonWin troubleshooting)

2005-12-15 Thread chuck
Apparently not too many people use or are interested in PythonWin. I'm giving up on it. It used to work pretty good. I'm lucky that I have found PyScripter (http://www.mmm-experts.com/) a python IDE for the windows platform which is much more stable and has more features that PythonWin. If you

Re: PythonWin troubleshooting

2005-12-13 Thread chuck
Thanks for the suggestions but I have all of the MFC dll's. In fact I have Visual Studio 2003 installed on the box. However my mfc42.dll is different than the size stated on that link. In fact the download is a different size that what is stated on the link. -- http://mail.python.org/mailman/l

Re: PythonWin troubleshooting

2005-12-13 Thread chuck
chuck wrote: > Sticking with 2.4.2 I reverted to win32 ext 204 and problems were the > same or worse. Then I uninstalled both, removed the dangling py*24.dll > and then installed "ActivePython 2.3.5.236". All the problems went > away. > > I hate to go back to 2.3 cause there are some nice update

Re: PythonWin troubleshooting

2005-12-13 Thread Sibylle Koczian
chuck schrieb: > Sticking with 2.4.2 I reverted to win32 ext 204 and problems were the > same or worse. Then I uninstalled both, removed the dangling py*24.dll > and then installed "ActivePython 2.3.5.236". All the problems went > away. > > I hate to go back to 2.3 cause there are some nice upda

Re: PythonWin troubleshooting

2005-12-13 Thread chuck
Sticking with 2.4.2 I reverted to win32 ext 204 and problems were the same or worse. Then I uninstalled both, removed the dangling py*24.dll and then installed "ActivePython 2.3.5.236". All the problems went away. I hate to go back to 2.3 cause there are some nice updates in the 2.4 library that

Re: PythonWin troubleshooting

2005-12-13 Thread Colin J. Williams
chuck wrote: > Build 205 for the win32 ext. > I have been having similar problems with build 205. Colin W. -- http://mail.python.org/mailman/listinfo/python-list

Re: PythonWin troubleshooting

2005-12-12 Thread chuck
Build 205 for the win32 ext. -- http://mail.python.org/mailman/listinfo/python-list

PythonWin troubleshooting

2005-12-12 Thread chuck
Having problems with PythonWin on Windows XP SP1. Shortly after startup and trying to debug I see: LoadBarState failed - LoadBarState failed (with win32 exception!) Things go down hill quickly from there. From there I see stuff like: [Dbg]>>> Traceback (most recent call last): File "C:\Pytho

Re: Troubleshooting: re.finditer() creates object even when no match found

2004-12-18 Thread Michael Hoffman
Steven Bethard wrote: first, iterable = peek(iterable) I really like this as a general solution to a problem that bothers me occasionally. IMHO it's much better than having UndoFiles or similar things lying about for every use case. Thanks! -- Michael Hoffman -- http://mail.python.org/mailman/li

Re: Troubleshooting: re.finditer() creates object even when no match found

2004-12-18 Thread Steven Bethard
Nick Coghlan wrote: Nick Coghlan wrote: Chris Lasher wrote: Hello, I really like the finditer() method of the re module. I'm having difficulty at the moment, however, because finditer() still creates a callable-iterator oject, even when no match is found. This is undesirable in cases where I would

Re: Troubleshooting: re.finditer() creates object even when no match found

2004-12-17 Thread Nick Coghlan
Nick Coghlan wrote: Chris Lasher wrote: Hello, I really like the finditer() method of the re module. I'm having difficulty at the moment, however, because finditer() still creates a callable-iterator oject, even when no match is found. This is undesirable in cases where I would like to circumvent e

Re: Troubleshooting: re.finditer() creates object even when no match found

2004-12-17 Thread Nick Coghlan
Chris Lasher wrote: Hello, I really like the finditer() method of the re module. I'm having difficulty at the moment, however, because finditer() still creates a callable-iterator oject, even when no match is found. This is undesirable in cases where I would like to circumvent execution of code mea

Re: Troubleshooting: re.finditer() creates object even when nomatch found

2004-12-17 Thread Fredrik Lundh
Chris Lasher wrote: > That's odd that there's no built-in method to do this. It seems like > it would be a common task. if you do this a lot, maybe you shouldn't use finditer? iterators are designed to give you the next item (if any) when you're ready to deal with it... if that's not what you w

Re: Troubleshooting: re.finditer() creates object even when no match found

2004-12-17 Thread Steven Bethard
Chris Lasher wrote: Is there any way to request a feature like this from the RE module keepers, whomever they may be? The most direct way would be to go to Python at sourceforge[1] and make a feature request to add peek to itertools. (This is probably the most reasonable location for it.) Reque

RE: Troubleshooting: re.finditer() creates object even when nomatch found

2004-12-17 Thread Robert Brewer
Chris Lasher wrote: > That's odd that there's no built-in method to do this. It seems like > it would be a common task. Is there any way to request a feature like > this from the RE module keepers, whomever they may be? The best way to request such a feature would be to write a patch. ;) FuManCh

Re: Troubleshooting: re.finditer() creates object even when no match found

2004-12-17 Thread Chris Lasher
Thanks Steve, That's odd that there's no built-in method to do this. It seems like it would be a common task. Is there any way to request a feature like this from the RE module keepers, whomever they may be? In the meantime, may I use your code, with accredation to you? Thanks, Chris -- http://ma

Re: Troubleshooting: re.finditer() creates object even when no match found

2004-12-17 Thread Steven Bethard
Chris Lasher wrote: I know that if I place a finditer() object in an iterative for loop, the loop will not execute, but is there some way I can test to see if the object contains no matches in the first place? Basically, you want to peek into an interable. See my recipes: http://aspn.activestate.c

Troubleshooting: re.finditer() creates object even when no match found

2004-12-17 Thread Chris Lasher
Hello, I really like the finditer() method of the re module. I'm having difficulty at the moment, however, because finditer() still creates a callable-iterator oject, even when no match is found. This is undesirable in cases where I would like to circumvent execution of code meant to parse out data