Package Details: lm 0.4-3

Git Clone URL: https://aur.archlinux.org/lm.git (read-only)
Package Base: lm
Description: List Movies. Grab metadata fromIMDB and interact with opensubtitles
Upstream URL: https://github.com/RedRise/lm
Licenses: GPL3
Submitter: Francois_B
Maintainer: Francois_B
Last Packager: Francois_B
Votes: 10
Popularity: 0.009389
First Submitted: 2012-02-26 17:43
Last Updated: 2015-06-10 01:37

Latest Comments

GraysonPeddie commented on 2015-12-18 02:14

I'm not able to run lm:

[grayson@htpc ~]$ lm
Traceback (most recent call last):
File "/usr/bin/lm", line 1492, in <module>
files = LM.get_files(args)
File "/usr/bin/lm", line 1234, in get_files
real_path, True, *self.file_ext ) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 97, in filelist
for f in os.listdir(dir):
OSError: [Errno 20] Not a directory: '/home/grayson/.gnupg/S.dirmngr'

So I renamed the files from S.dirmngr and S.gpg-agent to respected files with .bak extension (S.dirmngr.bak and S.gpg-agent.bak) and I get this:

Traceback (most recent call last):
File "/usr/bin/lm", line 1492, in <module>
files = LM.get_files(args)
File "/usr/bin/lm", line 1234, in get_files
real_path, True, *self.file_ext ) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 97, in filelist
for f in os.listdir(dir):
OSError: [Errno 20] Not a directory: '/home/grayson/.gnupg/S.dirmngr.bak'

I moved the respective files somewhere else and I get this:

[grayson@htpc ~]$ lm
Traceback (most recent call last):
File "/usr/bin/lm", line 1492, in <module>
files = LM.get_files(args)
File "/usr/bin/lm", line 1234, in get_files
real_path, True, *self.file_ext ) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 97, in filelist
for f in os.listdir(dir):
OSError: [Errno 20] Not a directory: '/home/grayson/.src/S.gpg-agent.bak'

Delete the two files and...

[grayson@htpc ~]$ lm
Traceback (most recent call last):
File "/usr/bin/lm", line 1492, in <module>
files = LM.get_files(args)
File "/usr/bin/lm", line 1234, in get_files
real_path, True, *self.file_ext ) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 108, in filelist
result.extend( filelist( f, True, *ext) )
File "/usr/bin/lm", line 97, in filelist
for f in os.listdir(dir):
OSError: [Errno 20] Not a directory: '/home/grayson/.config/google-chrome/SingletonSocket'

Okay... I don't get why the lm program with the description "List Movies. Grab metadata fromIMDB and interact with opensubtitles" and lm is trying to scan for the entire /home/grayson directory, expecting every file to be a directory?

(sigh) I'm not a programmer, but I might examine the source code to figure out what's wrong... Hmm...