Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

TypeError: '<' not supported between instances of 'NoneType' and 'str' #50

Open
KaKi87 opened this issue May 28, 2018 · 2 comments
Open

Comments

@KaKi87
Copy link

KaKi87 commented May 28, 2018

Hi,

Here is my configuration :

  • Discurses 0.3.3 (latest)
  • Debian 9.4 Stretch (latest)
  • Python 3.6.5 (latest)
  • Pip 10.0.1 (latest)
  • Discord token saved in /root/.config/discurses.yaml

But it doesn't work.

gnoring exception in on_ready                                                                                                               
Traceback (most recent call last):                                                                                                          
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/discord/client.py", line 307, in _run_event                                 
    yield from getattr(self, event)(*args, **kwargs)                                                                                        
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/discurses/discord.py", line 52, in on_ready                                 
    self.ui.on_ready()                                                                                                                      
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/discurses/ui/main.py", line 152, in on_ready                                
    self.set_tab(0)                                                                                                                         
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/discurses/ui/main.py", line 137, in set_tab                                 
    self.discord, [], None, name=str(tab + 1)))                                                                                             
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/discurses/ui/chat.py", line 46, in __init__                                 
    self.w_server_tree = ServerTree(self)                                                                                                   
  File "/root/.pyenv/versions/3.6.5/lib/python3.6/site-packages/discurses/ui/server_tree.py", line 15, in __init__                          
    key=lambda s: s.name):                                                                                                                  
TypeError: '<' not supported between instances of 'NoneType' and 'str'                                                                      

sans titre 3

Could you help me please ?

Thanks !

@Ge0 Ge0 added the bug label May 28, 2018
@jerbob
Copy link

jerbob commented Jun 24, 2018

I am having the same issue.

  • Discurses 0.3.3 (latest)
  • Arch Linux
  • Python 3.6.5 (latest)
  • Pip 10.0.1 (latest)

I am also using a pyenv installation of Python 3.6.5

@thecaralice
Copy link

Have the same

  • Discurses 0.3.5
  • Linux Mint 19.1
  • Python 3.6.5
  • Pip 9.0.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants