I have had an issue similar to this in prior versions of ERPNext. Does your Company show up in the Company Document List?
I have ever had to go to the Company I was using and hit the “Save” button to have Links work.
I have had an issue similar to this in prior versions of ERPNext. Does your Company show up in the Company Document List?
I have ever had to go to the Company I was using and hit the “Save” button to have Links work.
have tried making new additional company.
I tried Resaving the companies.
No changes
I created a new site on different port
Same issue is seen in the new site too.
Either this is a bug or it’s something to do with the first installation.
Completed Bench Update.
Still the same issue.
Did u use bench update patch after upgrading node?. There is a possibility its a bug or its under development process yet. To me its working i am not sure if i will be having the same issue if i will reinstall the system.
Hello,
While trying to upgrade to version 13.0.0 Beta2, I got to this error;
interra@frappe:~/frappe-bench$ bench update --patch
fatal: unable to access ‘GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript’: Failed to connect to github.com port 443: Connection timed out
Backing up sites…
Patching sites…
Migrating site1.local
Traceback (most recent call last):
File “/usr/lib/python3.6/runpy.py”, line 193, in _run_module_as_main
“main”, mod_spec)
File “/usr/lib/python3.6/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/interra/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 97, in
main()
File “/home/interra/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/interra/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/interra/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/interra/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/interra/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/interra/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/interra/frappe-bench/env/lib/python3.6/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/interra/frappe-bench/env/lib/python3.6/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/interra/frappe-bench/apps/frappe/frappe/commands/init.py”, line 25, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/interra/frappe-bench/apps/frappe/frappe/commands/site.py”, line 242, in migrate
migrate(context.verbose, rebuild_website=rebuild_website, skip_failing=skip_failing)
File “/home/interra/frappe-bench/apps/frappe/frappe/migrate.py”, line 59, in migrate
clear_global_cache()
File “/home/interra/frappe-bench/apps/frappe/frappe/cache_manager.py”, line 57, in clear_global_cache
clear_website_cache()
File “/home/interra/frappe-bench/apps/frappe/frappe/website/render.py”, line 322, in clear_cache
frappe.clear_cache(“Guest”)
File “/home/interra/frappe-bench/apps/frappe/frappe/init.py”, line 598, in clear_cache
frappe.cache_manager.clear_user_cache(user)
File “/home/interra/frappe-bench/apps/frappe/frappe/cache_manager.py”, line 35, in clear_user_cache
clear_notifications(user)
File “/home/interra/frappe-bench/apps/frappe/frappe/desk/notifications.py”, line 124, in clear_notifications
config = get_notification_config()
File “/home/interra/frappe-bench/apps/frappe/frappe/desk/notifications.py”, line 210, in get_notification_config
return frappe.cache().hget(“notification_config”, user, _get)
File “/home/interra/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 191, in hget
value = generator()
File “/home/interra/frappe-bench/apps/frappe/frappe/desk/notifications.py”, line 190, in _get
hooks = frappe.get_hooks()
File “/home/interra/frappe-bench/apps/frappe/frappe/init.py”, line 986, in get_hooks
hooks = _dict(cache().get_value(“app_hooks”, load_app_hooks))
File “/home/interra/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 79, in get_value
val = generator()
File “/home/interra/frappe-bench/apps/frappe/frappe/init.py”, line 975, in load_app_hooks
append_hook(hooks, key, getattr(app_hooks, key))
File “/home/interra/frappe-bench/apps/frappe/frappe/init.py”, line 1011, in append_hook
target[key].extend(value)
AttributeError: ‘dict’ object has no attribute ‘extend’
Can anyone assist in resolving this?
Have you resolved this? I have a similar problem.
If you look at the function that’s breaking
target.setdefault(key, [])
if not isinstance(value, list):
value = [value]
This part of the code ensures, that it’s always a list that’s being handled. Are there any custom apps? or have you made any changes to hooks.py
in frappe or erpnext?
No I haven’t made any custom app nor done any changes to the hooks.py.
I am seeing references to Python 3.6. We have learned the hard way that Version 13 works quite well with just Python 3.7. We even tried 3.8 and it failed.
I’m just curious about how this feature works… I mean, I’ll do some suggestions, and, after how much time my suggestions will be evaluated (it will be evaluated at all? or will be just acepted? some AI analisis? )?
How can I contribute with, and, most important, How can I change some misleading translations?
Thanks!!