d-note icon indicating copy to clipboard operation
d-note copied to clipboard

Getting error in d-note.ini

Open drdisconnect872 opened this issue 5 years ago • 0 comments

I'm not able to generate the # generate_dnote_hashes getting below error.

root@localhost:/var/www/d-note# generate_dnote_hashes Traceback (most recent call last): File "/usr/local/bin/generate_dnote_hashes", line 4, in import('pkg_resources').run_script('dnote==1.0.1', 'generate_dnote_hashes') File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 658, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1438, in run_script exec(code, namespace, namespace) File "/usr/local/lib/python2.7/dist-packages/dnote-1.0.1-py2.7.egg/EGG-INFO/scripts/generate_dnote_hashes", line 31, in data_dir = os.path.expanduser(cfgs['dnote']['data_dir']) KeyError: 'dnote' root@localhost:/var/www/d-note#

How to resolve it.

My Config: Server: Ubuntu 18.04 LTS

drdisconnect872 avatar Nov 07 '20 16:11 drdisconnect872