GithubHelp home page GithubHelp logo

chatkit-server-python's People

Contributors

aspatari avatar zikphil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatkit-server-python's Issues

Exception raised when imported

Hi, django raises an exception when i add from pusher_chatkit import PusherChatKit and from pusher_chatkit.backends import RequestsBackend when i import this library . The exception raised is django.core.exceptions.ImproperlyConfigured: The included URLconf 'coincard.urls' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.

Difficulty using the library

I would like to try your application on a project using django and React. But I cannot understand from the description in readme how to use it correctly. What do I need to do for connect the pusher to an existing project?

  1. What do I need to pass to a function data = chatkit.create_user(...) instead of a three-dot?
  2. When I try to run the script I get an error
Traceback (most recent call last):
  File "quickstart.py", line 7, in <module>
    RequestsBackend
  File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/pusher_chatkit.py", line 20, in __init__
    self.client = PusherChatKitClient(backend, instance_locator)
  File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/client.py", line 13, in __init__
    self.host = self.instance_locator[1] + '.pusherplatform.io'
IndexError: list index out of range
  1. The first time I started up, I got an error
Traceback (most recent call last):
  File "quickstart.py", line 1, in <module>
    from pusher_chatkit import PusherChatKit
  File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/__init__.py", line 1, in <module>
    from .pusher_chatkit import PusherChatKit
  File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/pusher_chatkit.py", line 5, in <module>
    from pusher_chatkit.backends import RequestsBackend
  File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/backends/__init__.py", line 2, in <module>
    from .Tornado import TornadoBackend
  File "/home/y700/Env/google-test/lib/python3.7/site-packages/pusher_chatkit/backends/Tornado.py", line 2, in <module>
    import tornado
ModuleNotFoundError: No module named 'tornado'

I installed tornado, but my application on Django, does your application have to use Tornado definitely?

Wouldn't it be a problem for you to help me deal with these questions?

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.