Skip to content

TypeError: '<=' not supported between instances of 'str' and 'int' #1940

@BrendanMartin

Description

@BrendanMartin

Downgraded dask and distributed to match cluster, but now getting this error:

client = Client('...')
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-2-8e04f6c9c428> in <module>()
----> 1 client = Client('...')

~\AppData\Roaming\Python\Python36\site-packages\distributed\client.py in __init__(self, address, loop, timeout, set_as_default, scheduler_file, security, asynchronous, name, heartbeat_interval, **kwargs)
    524                 self._heartbeat,
    525                 heartbeat_interval or config.get('client-heartbeat-interval', 5000),
--> 526                 io_loop=self.loop
    527         )
    528 

~\AppData\Roaming\Python\Python36\site-packages\distributed\utils.py in PeriodicCallback(callback, callback_time, io_loop)
   1183         return tornado.ioloop.PeriodicCallback(callback, callback_time)
   1184     else:
-> 1185         return tornado.ioloop.PeriodicCallback(callback, callback_time, io_loop)
   1186 
   1187 

~\Anaconda3\lib\site-packages\tornado\ioloop.py in __init__(self, callback, callback_time, io_loop)
   1008     def __init__(self, callback, callback_time, io_loop=None):
   1009         self.callback = callback
-> 1010         if callback_time <= 0:
   1011             raise ValueError("Periodic callback must have a positive callback_time")
   1012         self.callback_time = callback_time

TypeError: '<=' not supported between instances of 'str' and 'int'

I tried downgrading tornado, but no version seemed to fix the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions