Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when following the packing and recording simultaneously instructions #9

Open
ikreymer opened this issue Apr 27, 2019 · 1 comment · May be fixed by #10
Open

Error when following the packing and recording simultaneously instructions #9

ikreymer opened this issue Apr 27, 2019 · 1 comment · May be fixed by #10

Comments

@ikreymer
Copy link

Hi, nice working in creating this prototype!
I was trying to follow the instructions for doing the recording + packing option:

reprounzip dj live-record http://localhost:3000 /path/to/target

and this resulted in the following exception:

Traceback (most recent call last):
  File "/home/ubuntu/reprozip-web/py37/bin/reprounzip", line 11, in <module>
    load_entry_point('reprounzip==1.0.13', 'console_scripts', 'reprounzip')()
  File "/home/ubuntu/reprozip-web/py37/lib/python3.7/site-packages/reprounzip/main.py", line 144, in main
    args.func(args)
  File "/home/ubuntu/reprozip-web/py37/lib/python3.7/site-packages/reprozip_web-0.1-py3.7.egg/reprounzip/unpackers/dj.py", line 494, in live_record
    record(args)
  File "/home/ubuntu/reprozip-web/py37/lib/python3.7/site-packages/reprozip_web-0.1-py3.7.egg/reprounzip/unpackers/dj.py", line 452, in record
    WARCPacker.no_second_pass(args.pack[0])
AttributeError: 'Namespace' object has no attribute 'pack'
quoideneuf added a commit to quoideneuf/reprozip-web that referenced this issue Apr 28, 2019
@quoideneuf
Copy link
Contributor

Thanks @ikreymer - The commit above should fix this. It looks like something that just broke along the way, as the live-record feature isn't one we exercised very much.

@quoideneuf quoideneuf linked a pull request May 20, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants