Java JMS and python
Hi, We are not a java shop and we are trying to interface with an API that is "JMS only". We asked if it supported activeMQ or STOMP and they replied that it is Sun JMS only. So what does that mean if we want to communicate with it from python or similar? Curious if anyone else has been down this path... Regards, Sam -- https://mail.python.org/mailman/listinfo/python-list
No module named 'gi'
Hello all, I am coming up with this error when, after installing Dropbox, I try to run Dropbox on my machine (kubuntu 18.04): $ dropbox start -i Starting Dropbox...Traceback (most recent call last): File "/usr/bin/dropbox", line 1452, in start download() File "/usr/bin/dropbox", line 294, in download import gi ModuleNotFoundError: No module named 'gi' My machine does apparently have gi, however: $ sudo find / -name "gi" /usr/lib/python3/dist-packages/gi /usr/lib/python2.7/dist-packages/gi /usr/share/locale/l10n/gi /usr/share/kf5/locale/countries/gi And this is confirmed through apt: $ apt show python-gi Package: python-gi Version: 3.26.1-2ubuntu1 I read a discussion on a stack exchange where someone suggested to make sure not to have a conda environment enabled. At one point on this machine I was playing around with Python (using PyCharm), and installed Anaconda (with pip), using it as an environment. The directory where it lived was deleted, and I am wondering if there is some remnant on this machine that is causing my issue. NOTE: I tested the installation of dropbox on a virtual machine of the same distro (Kubuntu 18.04) which was never molested with Anaconda, and it worked just fine. I do apparently have a remnant: $ which conda /home/jon/.local/bin/conda $ ll /home/jon/.local/bin/conda -rwxrwxr-x 1 jon jon 223 Jun 22 2019 /home/jon/.local/bin/conda* $ conda ERROR: The install method you used for conda--probably either `pip install conda` or `easy_install conda`--is not compatible with using conda as an application. If your intention is to install conda as a standalone application, currently supported install methods include the Anaconda installer and the miniconda installer. You can download the miniconda installer from https://conda.io/miniconda.html If this is indeed my issue, how can I go about convincing this machine that conda should not be considered to be valid? Thank you for following me thus far, I appreciate any suggestions! Jon -- https://mail.python.org/mailman/listinfo/python-list
Re: Java JMS and python
On Tue, Apr 14, 2020 at 11:20 AM Sam wrote: > > Hi, > > We are not a java shop and we are trying to interface with an API that > is "JMS only". We asked if it supported activeMQ or STOMP and they > replied that it is Sun JMS only. So what does that mean if we want to > communicate with it from python or similar? Curious if > anyone else has been down this path... > I don't know what JMS is, but have you tried searching PyPI for it? Worst case, most of these sorts of protocols (if I'm reading you correctly) are built on top of things that Python *does* understand (TCP/IP, or HTTP, or somesuch), so you should be able to reimplement the protocol yourself. But try PyPI first. ChrisA -- https://mail.python.org/mailman/listinfo/python-list
Re: No module named 'gi' [SOLVED]
On 4/13/20 8:46 PM, Jon Danniken wrote: Hello all, I am coming up with this error when, after installing Dropbox, I try to run Dropbox on my machine (kubuntu 18.04): SNIP Well it looks like I solved this issue with $pip uninstall conda. Sometimes I just have to ask a question before my brain lets me have the answer. Thanks, Jon -- https://mail.python.org/mailman/listinfo/python-list
Re: Java JMS and python
Hi There is a tool for that (I didn't use it): https://docs.spring.io/spring-python/1.2.x/sphinx/html/jms.html Hope it works for you. Julio El lun., 13 de abr. de 2020 a la(s) 22:44, Chris Angelico ([email protected]) escribió: > > On Tue, Apr 14, 2020 at 11:20 AM Sam wrote: > > > > Hi, > > > > We are not a java shop and we are trying to interface with an API that > > is "JMS only". We asked if it supported activeMQ or STOMP and they > > replied that it is Sun JMS only. So what does that mean if we want to > > communicate with it from python or similar? Curious if > > anyone else has been down this path... > > > > I don't know what JMS is, but have you tried searching PyPI for it? > > Worst case, most of these sorts of protocols (if I'm reading you > correctly) are built on top of things that Python *does* understand > (TCP/IP, or HTTP, or somesuch), so you should be able to reimplement > the protocol yourself. But try PyPI first. > > ChrisA > -- > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list
Re: Java JMS and python
On 4/13/20 9:51 PM, Julio Oña wrote: Hi There is a tool for that (I didn't use it): https://docs.spring.io/spring-python/1.2.x/sphinx/html/jms.html Hope it works for you. Julio El lun., 13 de abr. de 2020 a la(s) 22:44, Chris Angelico ([email protected]) escribió: On Tue, Apr 14, 2020 at 11:20 AM Sam wrote: Hi, We are not a java shop and we are trying to interface with an API that is "JMS only". We asked if it supported activeMQ or STOMP and they replied that it is Sun JMS only. So what does that mean if we want to communicate with it from python or similar? Curious if anyone else has been down this path... I don't know what JMS is, but have you tried searching PyPI for it? Worst case, most of these sorts of protocols (if I'm reading you correctly) are built on top of things that Python *does* understand (TCP/IP, or HTTP, or somesuch), so you should be able to reimplement the protocol yourself. But try PyPI first. ChrisA -- https://mail.python.org/mailman/listinfo/python-list I had high hopes for the spring for python project.. but looks like it is dead? Most docs for it point to dates of 2009 and all the source links point to dead websites. Regards, Sam -- https://mail.python.org/mailman/listinfo/python-list
