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

[helpme] No module named 'doesntnote' #9

Open
vsoch opened this issue May 29, 2020 · 2 comments
Open

[helpme] No module named 'doesntnote' #9

vsoch opened this issue May 29, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@vsoch
Copy link
Collaborator

vsoch commented May 29, 2020

What were you trying to do?

Testing the new identifier string - includes:

  • exception class name
  • an md5 of functions not including datalad
  • md5 of functions including datalad

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 ⭐

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

Error Message 📛

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

WTF Output 📂

DataLad 0.10.3.1.dev3394 WTF (datalad, python, system, environment, configuration, location, extensions, metadata_extractors, dependencies, dataset)

WTF

configuration <SENSITIVE, report disabled by configuration>

datalad

  • full_version: 0.10.3.1.dev3394-g7d329-dirty
  • version: 0.10.3.1.dev3394

dataset

  • id: None
  • metadata: <SENSITIVE, report disabled by configuration>
  • 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': {'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 vsoch added the bug Something isn't working label May 29, 2020
@vsoch
Copy link
Collaborator Author

vsoch commented May 29, 2020

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

@yarikoptic
Copy link
Member

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants