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

Output Folder is empty after convert #19

Open
Creightonho opened this issue Apr 16, 2024 · 0 comments
Open

Output Folder is empty after convert #19

Creightonho opened this issue Apr 16, 2024 · 0 comments

Comments

@Creightonho
Copy link

There is an error found inside the log, any advise on this to solve?

2024-04-16 14:31:14 INFO DirectFire.Converter.main: converter starting
2024-04-16 14:31:14 INFO DirectFire.Converter.main: source format is netscreen
2024-04-16 14:31:14 INFO DirectFire.Converter.main: loading source configuration from /home/cvghk/Desktop/cfg.txt
2024-04-16 14:31:14 INFO DirectFire.Converter.main: running configuration parser
2024-04-16 14:31:14 INFO DirectFire.Converter.parse: loading parser module for netscreen
2024-04-16 14:31:14 INFO DirectFire.Converter.parse: loaded parser module for netscreen
2024-04-16 14:31:14 INFO DirectFire.Converter.parse: starting parse of source configuration
2024-04-16 14:31:14 INFO DirectFire.Converter.parsers.netscreen: parser module started
2024-04-16 14:31:14 INFO DirectFire.Converter.parsers.netscreen: parse system
2024-04-16 14:31:14 INFO DirectFire.Converter.parsers.netscreen: parse system - domain
2024-04-16 14:31:14 INFO DirectFire.Converter.parsers.netscreen: parse interfaces
2024-04-16 14:31:14 INFO DirectFire.Converter.parsers.netscreen: parse zones
2024-04-16 14:31:14 ERROR Traceback with variables (most recent call last):
File "/home/cvghk/DirectFire_Converter/converter.py", line 237, in main
.
. # Run configuration parser
.
. logger.info("DirectFire.Converter.main: running configuration parser")
.
> parsed_data = parse(
. src_format=src_format, src_config=src_config, routing_info=routing_info
. )
.
. logger.info("DirectFire.Converter.main: configuration parser finished")
.
src_format = 'netscreen'
dst_format = 'data'
routing_info = None
config_file = <_io.TextIOWrapper name='/home/cvghk/Desktop/cfg.txt' mode='r' encoding='UTF-8'>
src_config =

Regards,
Creighton

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

No branches or pull requests

1 participant