You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kerry Bonin (JIRA)" <qp...@incubator.apache.org> on 2010/06/17 19:58:22 UTC

[jira] Created: (QPID-2676) Python egg doesn't work on Windows platform...

Python egg doesn't work on Windows platform...
----------------------------------------------

                 Key: QPID-2676
                 URL: https://issues.apache.org/jira/browse/QPID-2676
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: 0.7
         Environment: Python egg on Windows
            Reporter: Kerry Bonin


Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Kerry Bonin (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kerry Bonin updated QPID-2676:
------------------------------

    Attachment: stack_trace.txt

Stack trace for Windows problem

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>         Attachments: setup.py, stack_trace.txt
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim reassigned QPID-2676:
--------------------------------

    Assignee: Rafael H. Schloming

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>            Assignee: Rafael H. Schloming
>         Attachments: setup.py, stack_trace.txt
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Closed: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Kerry Bonin (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kerry Bonin closed QPID-2676.
-----------------------------

    Resolution: Invalid

After spending some time to come up to speed on Python to attempt to validate what my Python team was telling me, I have come to the conclusion that my Python team was wrong.  Our Python lead had a failure on his box, but it was due to a corrupted Python installation, and I had not been informed that no other members had ever attempted to validate.  My sincere apologies for posting this issue, and I will personally validate any information from my Python team before posting it here again.

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>            Assignee: Rafael H. Schloming
>         Attachments: setup.py, stack_trace.txt
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879900#action_12879900 ] 

Rafael H. Schloming commented on QPID-2676:
-------------------------------------------

Can you provide more details on how it fails, e.g. a stack trace?

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>         Attachments: setup.py
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880947#action_12880947 ] 

Rafael H. Schloming commented on QPID-2676:
-------------------------------------------

I attempted to duplicate this problem on a windows system I have access to, and it seemed to work fine. I was able to produce an egg using your modified setup.py and then I was able to install it with easy_install. Can we confirm that the stack trace is in fact related to the egg install?

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>            Assignee: Rafael H. Schloming
>         Attachments: setup.py, stack_trace.txt
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Issue Comment Edited: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Kerry Bonin (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882314#action_12882314 ] 

Kerry Bonin edited comment on QPID-2676 at 6/24/10 4:33 PM:
------------------------------------------------------------

Sorry for the delay - I was just told the error occurs on Windows 7 64-bit, which apparently worked fine using an earlier qpid dev build.  The error is the one I posted, something about an unknown url for the amqp-0-10.dtd.  I don't know enough Python to go much further myself.  The Python team here won't be able to look at this in the very near future, so I wanted to pass this on.  As to the question you raised - I'm now not sure if this in fact an egg issue, which is what I was originally told.

      was (Author: kbonin):
    Sorry for the delay - I was just told the error occurs on Windows 7 64-bit, which apparently worked fine using an earlier qpid dev build.  The error is the one I posted, something about an unknown url for the amqp-0-10.dtd.
  
> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>            Assignee: Rafael H. Schloming
>         Attachments: setup.py, stack_trace.txt
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880183#action_12880183 ] 

Rafael H. Schloming commented on QPID-2676:
-------------------------------------------

I'm slightly puzzled by what the stack trace has to do with eggs. Have you verified that this does not happen when you e.g. do an install from source? It would be useful to know if it's the egg environment specifically somehow causing the dtd lookup failure or if this is a more general problem.

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>         Attachments: setup.py, stack_trace.txt
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Kerry Bonin (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882314#action_12882314 ] 

Kerry Bonin commented on QPID-2676:
-----------------------------------

Sorry for the delay - I was just told the error occurs on Windows 7 64-bit, which apparently worked fine using an earlier qpid dev build.  The error is the one I posted, something about an unknown url for the amqp-0-10.dtd.

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>            Assignee: Rafael H. Schloming
>         Attachments: setup.py, stack_trace.txt
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2676) Python egg doesn't work on Windows platform...

Posted by "Kerry Bonin (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kerry Bonin updated QPID-2676:
------------------------------

    Attachment: setup.py

Attached updated setup.py

local changes:
- edit the setup.py to make it build an egg
- make it so that the setup.py will work whether setuptools is installed or not (ie distutils only will work, but if setuptools is installed it will use that instead).

The egg created with this fails on Windows.

> Python egg doesn't work on Windows platform...
> ----------------------------------------------
>
>                 Key: QPID-2676
>                 URL: https://issues.apache.org/jira/browse/QPID-2676
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Client
>    Affects Versions: 0.7
>         Environment: Python egg on Windows
>            Reporter: Kerry Bonin
>         Attachments: setup.py
>
>
> Patch to be attached to this JIRA to create a Python egg works on Mac & Ubuntu platforms, but on Windows it fails with an XML parsing error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org