Code Monkey home page Code Monkey logo

cell's People

Contributors

ask avatar auvipy avatar brennaheaps avatar dudalev avatar rumineykova avatar thedrow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cell's Issues

Throws error on cell.Actor import

In experimenting with the library, I noticed that

import cell; cell.Actor causes ImportError. It appears to be an issue with Kombu?

/home/matt/.virtualenvs/cardforcoin/src/cell-master/cell/__init__.pyc in __getattr__(self, name)
     32     def __getattr__(self, name):
     33         if name in object_origins:
---> 34             module = __import__(object_origins[name], None, None, [name])
     35             for extra_name in all_by_module[module.__name__]:
     36                 setattr(self, extra_name, getattr(module, extra_name))

/home/matt/.virtualenvs/cardforcoin/src/cell-master/cell/actors.py in <module>()
     23 from cell.exceptions import WrongNumberOfArguments
     24 from .results import AsyncResult
---> 25 from .utils import cached_property, enum, shortuuid, setattr_default
     26 
     27 __all__ = ['Actor']

/home/matt/.virtualenvs/cardforcoin/src/cell-master/cell/utils/__init__.py in <module>()
      7 from collections import namedtuple
      8 
----> 9 from kombu.five import map, filter, zip
     10 from kombu.utils import cached_property, symbol_by_name  # noqa
     11 

ImportError: cannot import name filter

My kombu version is 3.0.22- maybe it's not supported? Perhaps there's a tested version I can downgrade to?

Inconsistency error sending a message

I have an actor that I've spawned from a celery-acquired connection. I get the following error when I try to send a message

InconsistencyError: 
Cannot route message for exchange 'cl.Importer': Table empty or key no longer exists.
Probably the key ('_kombu.binding.cl.Importer') has been removed from the Redis database.

To replicate,

class Importer(cell.Actor):
    class state(cell.Actor.state):
        def import(self, batch):
            pass

from kombu import Connection

connection = Connection('redis://localhost:6379/0')
actor_agent = dAgent(connection)
importer = actor_agent.spawn(Importer)
importer.send('import', {})

Set up CI

We need to enable Travis on this repository and write the .travis.yml configuration file.

Can't get examples to work

I just tried the framework with the latest stable celery version. I followed the instructions as per the documentation. But, they don't seem to work.
As shown in the Demo video, the actor did not get registered in celery when i called spawn method of agent. May be that is why i got "cell.exceptions.NoReplyError: No reply received within time constraint"
after calling "get" on AsyncResult.
Please help.

Cell examples don't work

Kombu updated their APIs. 'ipublish' is deprecated.
This is the error message:
ImportError: cannot import name 'ipublish'

Is this an official Celery project or just an experiment?

Thanks in advance,
DD.

Integrate cell with Celery

Hi Ask,

As we discussed in IRC, I will help you with integration, but I have some questions.

  • You said that the plan is to replace pidbox with cell, but can we do the same thing for a regular tasks?
  • Could you please make an outline what should be done before you can merge?

Thanks!

Resolve Import Error from Kombu when importing Actor from cell.actors

Following import error is being raised whenever tried to import Actor from cell.actors
ImportError: cannot import name 'ipublish' from 'kombu.common

Tried to check source files and adopt the code, only to find another problem with importing Agent from cell.agents. As per the cell documentation, creation of dAgent is required as an import from cell.agents. But, as per latest code, there's no dAgent class, but probably would've changed to Agent

Python environments tried and tested are: 3.7-3.9. All these environments fail.

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.