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

jsnap2py is broken in pip3.6 #327

Closed
nskalis opened this issue Oct 3, 2018 · 1 comment
Closed

jsnap2py is broken in pip3.6 #327

nskalis opened this issue Oct 3, 2018 · 1 comment
Assignees
Labels

Comments

@nskalis
Copy link

nskalis commented Oct 3, 2018

Description of Issue/Question

jsnap2py breaks when it is installed via pip3.6

Setup

not relevant, even the --version is not working

Steps to Reproduce Issue

pip3.6 install jsnapy

Versions Report

$ jsnap2py --version
  File "/usr/bin/jsnap2py", line 30
    msg = "{{%s_%s}}" % (data)
                             ^
TabError: inconsistent use of tabs and spaces in indentation

Could you please fix it ? And please confirm once the fix is available in pip3.6 ?

@nskalis nskalis changed the title jsnap2py is broken in pip3.6 | TabError: inconsistent use of tabs and spaces in indentation jsnap2py is broken in pip3.6 Oct 3, 2018
@nskalis
Copy link
Author

nskalis commented Oct 6, 2018

when the tab issue gets resolved, then there is another issue:

$ jsnap2py -i jsnap.interfaces.conf -o jsnapy.interfaces.yaml
Traceback (most recent call last):
  File "/usr/bin/jsnap2py", line 125, in <module>
    if len(inputs) > 0:
TypeError: object of type 'map' has no len()

which is resolved by

inputs = list(map(msg_change, inputs))

in line 123

chidanandpujar added a commit to chidanandpujar/jsnapy that referenced this issue Jun 12, 2024
Fixed Juniper#327
Fixed Juniper#330 commented out deletion test results
chidanandpujar added a commit to chidanandpujar/jsnapy that referenced this issue Jun 12, 2024
Fixed Juniper#327
Fixed Juniper#330 commented out deletion test results
chidanandpujar added a commit to chidanandpujar/jsnapy that referenced this issue Jul 17, 2024
Fixed Juniper#327
Fixed Juniper#330 commented out deletion test results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants