Uploaded image for project: 'AMQ Clients'
  1. AMQ Clients
  2. ENTMQCL-1076

[python] Example abstract_server.py is using relative import

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.0.B1
    • 2.2.0.B2
    • amqp-python-client
    • None
    • Hide

      Run example abstract_server.py.

      Show
      Run example abstract_server.py .
    • Yorba

      Exception when running example abstract_server.py:

      Traceback (most recent call last):
        File "./abstract_server.py", line 24, in <module>
          from .proton_server import Server
      ValueError: Attempted relative import in non-package
      

            astitcher Andrew Stitcher
            rkubis_kafka_devexp Radim Kubis
            Radim Kubis Radim Kubis
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: