Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: VERSION.TXT
Post: RE: VERSION.TXT

Thanks, Jeff. It kind of looks like it's still in the discussion stage, but I could probably find an example on the web somewhere. For now, I'll just leave it alone, as it doesn't seem like it's ter...
tharpa General Coding Help 3 2,326 Apr-24-2020, 05:31 PM
    Thread: VERSION.TXT
Post: VERSION.TXT

I have a project that contains an empty file called VERSION.TXT. Is this a standard kind of a file? It sounds like it is, but I can't find any relevant info about it.
tharpa General Coding Help 3 2,326 Apr-24-2020, 05:02 PM
    Thread: could not build an URI from the schemaLocation
Post: could not build an URI from the schemaLocation

I have inherited a Python script from my predecessor. However, it is failing with the error in the subject line. One thing that is making it difficult to debug (via logging statements) is its use of t...
tharpa Web Scraping & Web Development 0 1,973 Jan-29-2020, 08:13 PM
    Thread: Where is a file
Post: RE: Where is a file

(Dec-31-2019, 03:16 PM)michael1789 Wrote: Search the file in File Explorer. You can cut and paste the path from there.Well, I am on Linux, but I have tried the equivalent of that find . -iname 'xmls...
tharpa General Coding Help 4 2,371 Dec-31-2019, 06:37 PM
    Thread: Where is a file
Post: Where is a file

Part of an error message I am receiving says Error:File "src/lxml/xmlschema.pxi", line 86, in lxml.etree.XMLSchema.__init__ lxml.etree.XMLSchemaParseError: Element '{http://www.w3.org/2001/XMLSchema}e...
tharpa General Coding Help 4 2,371 Dec-31-2019, 01:48 PM
    Thread: () "" ("") Basic help
Post: RE: () "" ("") Basic help

This isn't an answer, more just a general comment. At first your answer did seem unclear, and then I flashed back on when I first started doing programming, and I thought at the time that there shoul...
tharpa General Coding Help 4 2,027 Nov-25-2019, 08:09 PM
    Thread: Listing groups
Post: Listing groups

Suppose I see a line of code like elif m.group('status').lower() in ['stopped', 'failed']:And I want to see all statuses that are available. I tried logging.warning('m.groups = ' + ' '.join(str(m.grou...
tharpa General Coding Help 2 2,583 Nov-25-2019, 07:53 PM
    Thread: Mock call to subprocess.Popen failing with StopIteration
Post: RE: subprocess.Popen failing with StopIteration

(Nov-07-2019, 10:23 PM)Gribouillis Wrote: So the title of the thread is incorrect, it should be 'mocked call to subprocess.Popen failing...'.It doesn't look like I'm able to change the title, but as...
tharpa General Coding Help 7 5,947 Nov-08-2019, 04:10 PM
    Thread: Mock call to subprocess.Popen failing with StopIteration
Post: RE: subprocess.Popen failing with StopIteration

Yes, the line before it is about application code. Error:File "/usr1/tsmith/git/gg_database.py", line 89, in get_database_size_via_subprocess p = subprocess.Popen(command, shell=True, stdout=sub...
tharpa General Coding Help 7 5,947 Nov-07-2019, 09:29 PM
    Thread: Mock call to subprocess.Popen failing with StopIteration
Post: RE: subprocess.Popen failing with StopIteration

(Nov-07-2019, 08:57 PM)Gribouillis Wrote: StopIteration is the normal exception sent by an iterator at the end of its iteration. It means that the iterable 'effect' was exhausted. If it was not int...
tharpa General Coding Help 7 5,947 Nov-07-2019, 09:09 PM
    Thread: Mock call to subprocess.Popen failing with StopIteration
Post: Mock call to subprocess.Popen failing with StopIte...

A unit test that I have inherited is now failing on p = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE) logging.warning('Not hitting here.')with a traceback of Error:File "/usr1/tsmith...
tharpa General Coding Help 7 5,947 Nov-07-2019, 08:44 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020