Skip to content

Results email is getting mixed results from multiple ebooks, & I suspect not reporting failure #18

@rtonsing

Description

@rtonsing
Processing file: 420.txt
Owner of file: pterodactyl
420 goes to 4/2/

Copying to [inferno.pglaf.org](http://inferno.pglaf.org/)...
Success!

Copying to [aleph.pglaf.org](http://aleph.pglaf.org/)...
Traceback (most recent call last):
  File "/home/htdocs/dopull/updatehosts.py", line 195, in <module>
    main()
  File "/home/htdocs/dopull/updatehosts.py", line 188, in main
    run_python_script_via_ssh(host, f"{MIRROR_BIN}/gitpull.py", sargs)
  File "/home/htdocs/dopull/updatehosts.py", line 41, in run_python_script_via_ssh
    output = run_ssh_command(host, remote_command, arguments=script_args, timeout=TIMEOUT)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/htdocs/dopull/updatehosts.py", line 58, in run_ssh_command
    result = [subprocess.run](http://subprocess.run/)(
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, [process.args](http://process.args/),
[subprocess.CalledProcessError](http://subprocess.calledprocesserror/): Command '['ssh', 'aleph.pglaf.org', 'python3 /home/gbnewby/.bin/gitpull.py --norepo --createdirs 420 ~/ftp/4/2/']' returned non-zero exit status 1.
Got 1 exit status, this file did not go!
Processing file: [78665.json](http://78665.json/)
Owner of file: pterodactyl
Copied [78665.json](http://78665.json/) to ibiblio to trigger ebook indexing.
78665 goes to 7/8/6/6/

Copying to [inferno.pglaf.org](http://inferno.pglaf.org/)...
Success!

Copying to [aleph.pglaf.org](http://aleph.pglaf.org/)...
Success!

Copying to [readingroo.ms](http://readingroo.ms/)...
Success!

Success updating mirrors!

Moving [78665.json](http://78665.json/) to DONE directory

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions