datalad / datalad-helpme

Automated issue submission for datalad via helpme
0 stars 0 forks source link

[helpme] No module named 'doesntnote' #9

Open vsoch opened 4 years ago

vsoch commented 4 years ago

What were you trying to do?

Testing the new identifier string - includes:

Is there anything else you want to tell us

I think we are making a mistake not using the traceback hash in the identifier. :/


Metadata

Command :star:

/home/vanessa/anaconda3/bin/datalad --cmd search

Error Message :name_badge:

Traceback (most recent call last):
  File "<ipython-input-1-10d5d105a659>", line 2, in <module>
    import doesntnote
ModuleNotFoundError: No module named 'doesntnote'

WTF Output :open_file_folder:

DataLad 0.10.3.1.dev3394 WTF (datalad, python, system, environment, configuration, location, extensions, metadata_extractors, dependencies, dataset) # WTF ## configuration ## datalad - full_version: 0.10.3.1.dev3394-g7d329-dirty - version: 0.10.3.1.dev3394 ## dataset - id: None - metadata: - path: /home/vanessa/Desktop/Code/datalad - repo: GitRepo ## dependencies - appdirs: 1.4.3 - boto: 2.49.0 - cmd:annex: 7.20190819+git2-g908476a9b-1~ndall+1 - cmd:bundled-git: 2.20.1 - cmd:git: 2.20.1 - cmd:system-git: 2.23.0 - cmd:system-ssh: 7.6p1 - git: 3.1.1 - gitdb: 4.0.2 - humanize: 2.4.0 - iso8601: 0.1.12 - keyring: 21.2.1 - keyrings.alt: 3.4.0 - msgpack: 1.0.0 - requests: 2.23.0 - tqdm: 4.46.0 - wrapt: 1.12.1 ## environment - LANG: en_US.UTF-8 - PATH: /home/vanessa/anaconda3/bin:/home/vanessa/anaconda3/condabin:/home/vanessa/.rbenv/plugins/ruby-build/bin:/home/vanessa/.rbenv/shims:/home/vanessa/.rbenv/bin:/home/vanessa/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin ## extensions ## location - path: /home/vanessa/Desktop/Code/datalad - type: dataset ## metadata_extractors - annex: - load_error: None - module: datalad.metadata.extractors.annex - version: None - audio: - load_error: No module named 'mutagen' [audio.py::17] - module: datalad.metadata.extractors.audio - datacite: - load_error: None - module: datalad.metadata.extractors.datacite - version: None - datalad_core: - load_error: None - module: datalad.metadata.extractors.datalad_core - version: None - datalad_rfc822: - load_error: None - module: datalad.metadata.extractors.datalad_rfc822 - version: None - exif: - load_error: No module named 'exifread' [exif.py::16] - module: datalad.metadata.extractors.exif - frictionless_datapackage: - load_error: None - module: datalad.metadata.extractors.frictionless_datapackage - version: None - image: - load_error: None - module: datalad.metadata.extractors.image - version: None - xmp: - load_error: No module named 'libxmp' [xmp.py::20] - module: datalad.metadata.extractors.xmp ## python - implementation: CPython - version: 3.7.4 ## system - distribution: debian/buster/sid - encoding: - default: utf-8 - filesystem: utf-8 - locale.prefered: UTF-8 - max_path_length: 290 - name: Linux - release: 5.3.0-51-generic - type: posix - version: #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020
## Environment - **LANG**: en_US.UTF-8 - **DISPLAY**: :0 - **USER**: vanessa - **PWD**: /home/vanessa/Desktop/Code/datalad - **HOME**: /home/vanessa - **TERM**: xterm-256color - **SHELL**: /bin/bash - **PATH**: /home/vanessa/anaconda3/bin:/home/vanessa/anaconda3/condabin:/home/vanessa/.rbenv/plugins/ruby-build/bin:/home/vanessa/.rbenv/shims:/home/vanessa/.rbenv/bin:/home/vanessa/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin ## System ```python {'python': {'version': '3.7.4', 'implementation': 'CPython'}, 'system': {'type': 'posix', 'name': 'Linux', 'release': '5.3.0-51-generic', 'version': '#44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020', 'distribution': 'debian/buster/sid', 'encoding': OrderedDict([('default', 'utf-8'), ('filesystem', 'utf-8'), ('locale.prefered', 'UTF-8')])}} ```

generated by HelpMe HelpMe Github Issue: ModuleNotFoundError-others-c463633d9a2f139fcac43fd44d2ec25a-datald-bad8d099cd55b727e254f2663ffb0340

vsoch commented 4 years ago

Actually, the traceback includes my system path, so using in the hash probably isn't a great idea.

yarikoptic commented 4 years ago

right -- just take the modules' __name__. It should not matter where it resides on the file system (well -- it might but not for this). Also it would make it consistent across OSs (/ vs \ in the paths)