question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for "9995:9995/tcp"

See original GitHub issue
Traceback (most recent call last):
  File "/usr/local/bin/container-transform", line 9, in <module>
    load_entry_point('container-transform==1.1.4', 'console_scripts', 'container-transform')()
  File "/usr/local/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/container_transform-1.1.4-py3.5.egg/container_transform/client.py", line 64, in transform
    output = converter.convert(verbose)
  File "/usr/local/lib/python3.5/site-packages/container_transform-1.1.4-py3.5.egg/container_transform/converter.py", line 57, in convert
    output_transformer
  File "/usr/local/lib/python3.5/site-packages/container_transform-1.1.4-py3.5.egg/container_transform/converter.py", line 90, in _convert_container
    output[output_name] = emit_func(ingest_func(container.get(input_name)))
  File "/usr/local/lib/python3.5/site-packages/container_transform-1.1.4-py3.5.egg/container_transform/compose.py", line 138, in ingest_port_mappings
    return [self._parse_port_mapping(mapping) for mapping in port_mappings]
  File "/usr/local/lib/python3.5/site-packages/container_transform-1.1.4-py3.5.egg/container_transform/compose.py", line 138, in <listcomp>
    return [self._parse_port_mapping(mapping) for mapping in port_mappings]
  File "/usr/local/lib/python3.5/site-packages/container_transform-1.1.4-py3.5.egg/container_transform/compose.py", line 105, in _parse_port_mapping
    'container_port': int(parts[1]),
ValueError: invalid literal for int() with base 10: '9995/tc'

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cmrigneycommented, Jun 29, 2017

I’m also experiencing this issue.

0reactions
iTaybbcommented, Mar 12, 2019

The parser won’t parse - 7000:7000/tcp correctly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for "9995:9995/tcp" · Issue #158 · kubernetes/kompose
It looks like there is a bug in how Kompose parses ports. It is not expecting that it could be in 'host:container:proto" format....
Read more >
TIBCO LogLogic® Enterprise Virtual Appliance
TIBCO Documentation and Support Services. How to Access TIBCO Documentation. Documentation for TIBCO products is available on the TIBCO Product ...
Read more >
Setting up Network UPS tools - AJ's Blog
Fortunately NUT supports most consumer UPS devices that have a usb port. ... PRINT_METRICS_AND_EXIT=false # ports: # - "9995:9995/tcp" ...
Read more >
apm2.2.2快速安装参考 - CSDN博客
0.0.0.0:9995->9995/tcp,:::9995->9995/tcp, 0.0.0.0:9995->9995/udp ... yum -y install mysql mysql-server mysql-devel service mysqld start ...
Read more >
第四章Docker方式安装Pinpoint - 年少纵马且长歌- 博客园
Command (m for help): n Partition type: p primary (0 primary, ... 0.0.0.0:9995->9995/tcp,:::9995->9995/tcp, 0.0.0.0:9995->9995/udp ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found