Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: '<' not supported between instances of 'NoneType' and 'int' #36

Closed
arthurlutz opened this issue Jan 30, 2020 · 2 comments
Closed
Milestone

Comments

@arthurlutz
Copy link

ERROR    [MainThread] mopidy.__main__ '<' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 143, in main
    return args.command.run(args, proxied_config)
  File "/usr/local/lib/python3.7/dist-packages/mopidy_local/commands.py", line 102, in run
    limit=args.limit,
  File "/usr/local/lib/python3.7/dist-packages/mopidy_local/commands.py", line 224, in _scan_metadata
    elif result.duration < MIN_DURATION_MS:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
  File "/usr/bin/mopidy", line 11, in <module>
    load_entry_point('Mopidy==3.0.1', 'console_scripts', 'mopidy')()
  File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 143, in main
    return args.command.run(args, proxied_config)
  File "/usr/local/lib/python3.7/dist-packages/mopidy_local/commands.py", line 102, in run
    limit=args.limit,
  File "/usr/local/lib/python3.7/dist-packages/mopidy_local/commands.py", line 224, in _scan_metadata
    elif result.duration < MIN_DURATION_MS:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
# python3 -m pip list | grep Local
Mopidy-Local              3.1.0         
arthurlutz added a commit to arthurlutz/mopidy-local that referenced this issue Jan 30, 2020
@arthurlutz
Copy link
Author

arthurlutz commented Jan 30, 2020

Fixed by #35 when it will be integrated.

@jodal jodal added this to the v3.1.1 milestone Jan 31, 2020
@jodal
Copy link
Member

jodal commented Jan 31, 2020

Fixed by #35.

@jodal jodal closed this as completed Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants