complete error message - wondering of somehow related to python / environment. My environment was already python3 - I checked with python -V command. Also did a bench migrate-env python3. Is anybody else seeing this error? Why is it pointing to another repo named frappe at GitHub - grafos-ml/frappe: Recommendations Serving Engine using python ?
WARNING: Discarding https://files.pythonhosted.org/packages/f6/9d/658c5c54186e860bde0a3c1425bbd65b9d31e0bc212e780520746cd4f9ce/frappe-2.0.1.tar.gz#sha256=7ce96e27fd85398cc198fd1b3273f729f7d92abce8adb25db5b0bd30f080105e (from https://pypi.org/simple/frappe/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: /home/frappe/frappe-bench/env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-s6q6gj5q
cwd: /tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/
Complete output (12 lines):
Traceback (most recent call last):
File "/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py", line 7, in <module>
import testfm
ModuleNotFoundError: No module named 'testfm'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py", line 9, in <module>
raise LookupError("You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)")
LookupError: You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)
Resolved this issue by manually pulling the update on an instance where bench update was not applied (failed update to v13.2). I was able to restore an earlier snapshot (lxd) and then do the manual update as below… For my reference (and in case anyone else faces this error)…
For install without customizations:
cd ~/frappe-bench/apps/frappe
git reset --hard HEAD
git checkout version-13
git pull
cd ~/frappe-bench/apps/erpnext
git reset --hard HEAD
git checkout version-13
git pull
cd ~/frappe-bench (in frappe-bench directory)
bench setup requirements
bench build
bench --site all migrate
bench restart
Already on ‘version-13’
Your branch and ‘upstream/version-13’ have diverged,
and have 1 and 1 different commits each, respectively.
(use “git pull” to merge the remote branch into yours)
@Aditya_Bagarka I had the exact same issue - in the frappe directory after I had run the failed bench update command. I think it is something due to an earlier branch being V13 pre-release somehow - even though we were always on version-13 beta and then version-13.
I had to revert back to an earlier snapshot (v13.1 without the bench update) and then run the above commands to manually update frappe and erpnext apps. I do not know why the local and git are divergent - our production instance is clean and has no customizations, etc…
I suggest updating erpnext using above manual method first (as that is where the bench update was failing) and then try running bench update --reset (is same as above manual commands) and see if that somehow resolves this issue. Sorry cant help further…Hopefully the “experts” can guide you further…
It’s a good feature and I experienced it as follows:
Go to a record of any document type, there is a menu copy to the clipboard. then go to another site and in the awesome bar and paste it. the doctype should be same, the record will be created
thanks a lot for all the effort for providing updates and fixes! I really like it.
One question: In the erpnext release notes, there are quite a lot of fixes that do not link to a checkin/merge?
how are you actually defining this information?
and how can I check if this is something that may have an impact/improvement? e.g. * fix: multicurrency
When some features are added in ERPnext, a thorough cross-check points needs attention of frappe team.
ERP Next allows to auto name instead of series but one can not hide series filed as its mandatory condition is not being removed.
Doctype layout is a fantastic feature but column name and section name filed requires labels mandatory, which means you can not create a layout at all. Even one can define fields ignoring column break and section break, doc does not open on route defined. As default route still need to be correct.
Auto name for patient allowed but in the healthcare setting, you can not choose the auto name as the option is still not there. so no meaning in this feature.
Custom Script has been renamed to client script but no check to take care for migration of existing custom script. One can not have smooth migration from beta to final version at least. though it should take care reverse migration too. Similar is the case for desk to workspace. No backward compatibility to migrate custom desk designed .
Virtual doctype feature added, extremely powerful feature a test document is there to experience it but no data.json available to experience it.
Customdoc has been added in patient history but bound them with healthcare domain though new custom, in general, will be designed in a different module so you can not add them in patient history.
When I updated, it deleted all the git stash and thereby I can not restore the customizations done. Thankfully i have a backup that i’ll restore it but this can be dangerous. Please be careful when updating.