I have followed this link https://github.com/webnotes/erpnext/wiki/Migrating-your-erpnext-instance-to-wsgi to migrate one of our test erpnext instance to wsgi. When I ran ./lib/wnf.py --latest command I got below error:
Traceback (most recent call last):
File "./lib/wnf.py", line 729, in <module>
File "./lib/wnf.py", line 23, in main
File "./lib/wnf.py", line 43, in run
out = globals().get(fn)(**args)
File "./lib/wnf.py", line 34, in new_fn
return fn(*args, **new_kwargs)
File "./lib/wnf.py", line 289, in latest
File "lib/webnotes/modules/patch_handler.py", line 21, in run_all
File "lib/webnotes/db.py", line 463, in table_exists
return tablename in [d for d in self.sql("show tables")]
File "lib/webnotes/db.py", line 104, in sql
File "lib/webnotes/__init__.py", line 141, in log
if conf.get("logging") or False:
AttributeError: 'module' object has no attribute 'get'
Can anyone please advise me on how I can fix this error? Thanks.
Please let me know if you need any additional information from my end regarding above error.
PS: I have searched the discussion forum for a solution before posting this topic.
If you are posting an issue,
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.