Code Monkey home page Code Monkey logo

Comments (9)

RealJohnGalt avatar RealJohnGalt commented on August 21, 2024

I don't believe xmpp_logging_handler was fully or correctly installed. xmpp_logging_handler comes with an emitter module (https://github.com/Level-Up/xmpp_logging_handler/blob/master/xmpp_logging_handler/emitter.py). I just tested an uninstall and re-install to verify I got the file in my site-packages/xmpp_logging_handler/ directory.

Unfortunately, I can't recreate this. Perhaps you could try a pip3 uninstall and install of it again, watching out for any errors? In the uninstall list, you should also see the emitter module listed.

from avarice.

 avatar commented on August 21, 2024

Doing that now, I'll keep you posted on how it goes. Thank you

from avarice.

 avatar commented on August 21, 2024

Still fails, I uninstalled and reinstalled. Here is the successful installation of the XMPP logging handler

C:\Python34>pip3 install xmpp_logging_handler
Collecting xmpp-logging-handler
Downloading xmpp_logging_handler-1.0.2.tar.gz
Collecting xmpppy (from xmpp-logging-handler)
Downloading xmpppy-0.5.0rc1.tar.gz (59kB)
100% |################################| 61kB 758kB/s
Installing collected packages: xmpppy, xmpp-logging-handler
Running setup.py install for xmpppy
Running setup.py install for xmpp-logging-handler
Successfully installed xmpp-logging-handler-1.0.2 xmpppy-0.5.0rc1

Enabled XMPP and this is the result again.
Traceback (most recent call last):
File "C:\Avarice\avarice.py", line 4, in
import avarice
File "C:\Avarice\avarice.py", line 10, in
import notifier as no
File "C:\Avarice\notifier.py", line 10, in
from xmpp_logging_handler import XMPPHandler
File "C:\Python34\lib\site-packages\xmpp_logging_handler__init__.py", line 2,
in
from emitter import Send
ImportError: No module named 'emitter'

Could it be a formatting problem? My XMPP server the username is setup at as [email protected]

I've tried just the username and using the [email protected] with the same response.

from avarice.

RealJohnGalt avatar RealJohnGalt commented on August 21, 2024

It's not a formatting problem, it's actually a bad standalone package. It's not just you, sorry I missed this. I'm going to implement a different way of handling this and properly test it on a fresh system.

from avarice.

 avatar commented on August 21, 2024

Ahhh, okay, let me know if you need a hand testing. :)

from avarice.

RealJohnGalt avatar RealJohnGalt commented on August 21, 2024

Will do, I appreciate it. I'm about to go AFK so can't do this now. But I'll be removing this (broken) functionality from the main branch, and re-implementing it in the staging branch since that will need quite a bit of testing as a "pre-release" shortly (within a day) anyway :). It would also need rewriting to the new config format if I did it in the master branch. Here's a bit of a teaser for what's been done in that pre-release in the last few hours https://cloud.githubusercontent.com/assets/7730016/6883659/46c09d5c-d575-11e4-9b9f-00c87cd43449.png

Thank you again.

from avarice.

 avatar commented on August 21, 2024

Very nice, definitely looking forward to the new configuration utility.

from avarice.

RealJohnGalt avatar RealJohnGalt commented on August 21, 2024

XMPP slated for v5.0a2 (second v5.0 testing release, first to come soon).

from avarice.

RealJohnGalt avatar RealJohnGalt commented on August 21, 2024

The project is no longer being maintained, in favor of a new code base in a new language. See #43 for info.

from avarice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.