aarddict's function invoked through command line are broken #16

Closed
itkach opened this Issue Apr 10, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@itkach
Member

itkach commented Apr 10, 2011

Invoking aarddict on the command line with --verify, --identify or --metadata options results in errors:

$ aarddict -v ~/Downloads/wordnet-3.0-1.html.aar 
Traceback (most recent call last):
  File "/home/itkach/env-aard/bin/aarddict", line 9, in <module>
    load_entry_point('aarddict==0.9.1.dev', 'gui_scripts', 'aarddict')()
  File "/home/itkach/env-aard/aarddict/aarddict/__init__.py", line 97, in main
    d = dictionary.Dictionary(file_name)
AttributeError: 'module' object has no attribute 'Dictionary'

$ aarddict -i ~/Downloads/wordnet-3.0-1.html.aar 
/home/itkach/Downloads/wordnet-3.0-1.html.aar:
Traceback (most recent call last):
  File "/home/itkach/env-aard/bin/aarddict", line 9, in <module>
    load_entry_point('aarddict==0.9.1.dev', 'gui_scripts', 'aarddict')()
  File "/home/itkach/env-aard/aarddict/aarddict/__init__.py", line 80, in main
    header = dictionary.Header(f)
AttributeError: 'module' object has no attribute 'Header'

$ aarddict -m ~/Downloads/wordnet-3.0-1.html.aar 
Traceback (most recent call last):
  File "/home/itkach/env-aard/bin/aarddict", line 9, in <module>
    load_entry_point('aarddict==0.9.1.dev', 'gui_scripts', 'aarddict')()
  File "/home/itkach/env-aard/aarddict/aarddict/__init__.py", line 119, in main
    d = dictionary.Dictionary(file_name)
AttributeError: 'module' object has no attribute 'Dictionary'

@ghost ghost assigned itkach Apr 10, 2011

@itkach

This comment has been minimized.

Show comment
Hide comment
@itkach

itkach Apr 10, 2011

Member

Fixed in e6f4a74

Member

itkach commented Apr 10, 2011

Fixed in e6f4a74

@itkach itkach closed this Apr 10, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment