I’ll do that, just give me some time.
checking it out ,
Do you installing it in new site?
getting this error while installing:
Installing theming_tool…
Updating DocTypes for theming_tool : [========================================]
An error occurred while installing theming_tool:
can’t pickle module objects
and then it broke my instance:
Traceback (most recent call last):
File “/home/flexy/frappe-bench/apps/frappe/frappe/app.py”, line 73, in application
response = frappe.website.render.render()
File “/home/flexy/frappe-bench/apps/frappe/frappe/website/render.py”, line 36, in render
resolve_redirect(path)
File “/home/flexy/frappe-bench/apps/frappe/frappe/website/redirect.py”, line 23, in resolve_redirect
redirects = frappe.get_hooks(‘website_redirects’)
File “/home/flexy/frappe-bench/apps/frappe/frappe/init.py”, line 968, in get_hooks
hooks = _dict(cache().get_value(“app_hooks”, load_app_hooks))
File “/home/flexy/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 80, in get_value
self.set_value(original_key, val, user=user)
File “/home/flexy/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 48, in set_value
self.set(key, pickle.dumps(val))
TypeError: can’t pickle module objects
It’s already installed site1.local. I have tried to install this theming_tool and got the error
Hi @afarran3, thanks for reply.
Your provided link contains to activate developer mode then install and migration but i have already v13.0.0-beta.4. application throw error (1048, “Column ‘custom’ cannot be null”) on the time of installing. i also tried to install other custom app but issue is same.
BTW, it seems to have error in my Database.
Thanks again.
I think your problem is that you are installing apps that builds with frappe v12 on sites with frappe v13.
This fixed it. It might be difficult to use though as one still has to figure out the class of each element in order to modify. Awesome app though.
Try the browser inspect tool to get the class name it’s helpful.
solution for the error.
--drop column from sql
ALTER TABLE `tabModule Def` DROP COLUMN `custom`;
--run from frappe-bench
bench --site site1.local install-app theming_tool
Theming tool working fine.
@afarran3 : thanks for contribution.
As much as I’d like to try this tool:
On downloading (attempt) I get the error:
FileNotFoundError: [Errno 2] No such file or directory: ‘./apps/theming_tool/setup.py’
I have the feeling this might be a permission issue, can you confirm - or do you maybe have another solution? Thank you.
EDIT: Additional info: I am trying this as user “frappe” inside the stock Ubuntu 18 production VM.
Can you post your steps and logs then point out where the error shows up?
Thank you for your reply. Of course I can, though it’s fairly simple:
- I log in as default user “frappe”
- I open up a terminal
- I do “cd frappe-bench”
- I enter the command(s) you posted in the first post up here (“bench get-app…” etc.)
- The last output line of this command is already the error I mentioned before.
Like I wrote before - it’s the stock Ubuntu VM, titled “ERPNext-Production-20200707093143” I am using. Also I did not alter anything in this image except setting up a static IP and then starting to adapt and playing around with ERPNext (from within, no external changes).
EDIT: Wait no, I installed the whole MATE Desktop train to have a GUI right on-machine. Though it’s no longer necessary because we are no longer testing on it directly, but from other PCs on the network.
Are you sure that you are passing commands from the bench folder? are all command work fine there?
please try the below command and share a screen shot.
frappe@myserve:~/erpnext$ bench version
erpnext 13.0.0-beta.9
frappe 13.0.0-beta.9
This thread may help !!!
Oof. Like in the linked thread, the ownership was all correct on my system, and the chown didn’t change a thing nor help a bit
EDIT: I don’t know where the hiccups came from, but just now I tried again and it worked. Could you please add to the very first post that you have to set developer mode first for the second command - the actual installation - to work? Thank you!
EDIT 2: Doing a really great job there, thanks a lot, @afarran3
I just want to notice any one that want to use this tool, you should enable “developer_mode” first.
Thanks @mwrsa.