Code Monkey home page Code Monkey logo

git-pijul's People

Contributors

ganwell avatar nightscape avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

nightscape

git-pijul's Issues

create command crashed

I was most of the way through importing a large repository (WordPress from July) when git-pijul crashed.

$ git-pijul create --name wpdev
Using head: ed2bf69b0f4da6a88cf7e2cd5b8ac10720bd8cd7 (trunk)
Using base: 5190215645328199b11a076bd718461d941a6ec3 ('--root')
 93%|████████████████████████████████████████████████▏   | 42522/45871 [15:18:10<1:12:18,  1.30s/it]
Traceback (most recent call last):
  File "/home/aye/.local/bin/git-pijul", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 572, in create
    run_it(head, base, name)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 338, in run_it
    runner.run()
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 383, in run
    self.step(prev, rev)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 400, in step
    log, author, timestamp = self.prepare(prev, rev)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 395, in prepare
    log, author, date = parse_log(log)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 220, in parse_log
    return "\n".join(out), res["author"], parse_date(res["date"])
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 202, in parse_date
    return datetime.strptime(" ".join(date.split(" ")[:-1]), "%a %b %d %H:%M:%S %Y")
  File "/usr/lib/python3.10/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.10/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data 'Add timezone abbreviation to wp-date' does not match format '%a %b %d %H:%M:%S %Y'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 76, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwd(), sys.argv[0]))
FileNotFoundError: [Errno 2] No such file or directory

Original exception was:
Traceback (most recent call last):
  File "/home/aye/.local/bin/git-pijul", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 572, in create
    run_it(head, base, name)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 338, in run_it
    runner.run()
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 383, in run
    self.step(prev, rev)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 400, in step
    log, author, timestamp = self.prepare(prev, rev)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 395, in prepare
    log, author, date = parse_log(log)
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 220, in parse_log
    return "\n".join(out), res["author"], parse_date(res["date"])
  File "/home/aye/.local/lib/python3.10/site-packages/git_pijul.py", line 202, in parse_date
    return datetime.strptime(" ".join(date.split(" ")[:-1]), "%a %b %d %H:%M:%S %Y")
  File "/usr/lib/python3.10/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.10/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data 'Add timezone abbreviation to wp-date' does not match format '%a %b %d %H:%M:%S %Y'

The original SVN changeset with that timezone message is https://core.trac.wordpress.org/changeset/49083 which is WordPress/wordpress-develop@7cca745 in GitHub.

Is there something about the % in the message?
What state is my repo left in?
A nit: why doesn't the progress number match the changeset number?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.