Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson 1 - Error interpreting standard preamble file Fift.fif: cannot locate file Fift.fif #1

Open
jobman opened this issue May 10, 2022 · 5 comments

Comments

@jobman
Copy link

jobman commented May 10, 2022

нахожусь в папке wallet
вызываю команду:
toncli deploy -n testnet

INFO: 👻 Your smart contract project [D:\PyCharm\toncli\wallet] is now going to be deployed, get ready! INFO: 🌈 Start building: INFO: 🌲 Func compiled INFO: 🤗 Run tests on ['D:\\PyCharm\\toncli\\wallet\\fift\\data.fif'] [ 1][t 0][2022-05-10 08:54:59.6166034][fift-main.cpp:180] Error interpreting standard preamble file Fift.fif: cannot locate file Fift.fifCheck that correct include path is set by -I or by FIFTPATH environment variable, or disable standard preamble by -n. INFO: 🌲 Tests passed INFO: 🥳 Start contract manipulation [ 1][t 0][2022-05-10 08:54:59.6714437][fift-main.cpp:180] Error interpreting standard preamble fileFift.fif: cannot locate file Fift.fif Check that correct include path is set by -I or by FIFTPATH environment variable, or disable standard preamble by -n. Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\PyCharm\toncli\venv\Scripts\toncli.exe\__main__.py", line 7, in <module> File "D:\PyCharm\toncli\venv\lib\site-packages\toncli\main.py", line 424, in main deployer.publish(real_args[2:]) File "D:\PyCharm\toncli\venv\lib\site-packages\toncli\modules\deploy_contract.py", line 86, in publish self.build(real_contracts) File "D:\PyCharm\toncli\venv\lib\site-packages\toncli\modules\abstract\deployer.py", line 107, in build data.append(contract_manipulation(os.path.abspath(contract.to_save_location), File "D:\PyCharm\toncli\venv\lib\site-packages\toncli\modules\utils\fift\commands.py", line 94, in contract_manipulation output = subprocess.check_output(command, cwd=getcwd() if not cwd else cwd) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 528, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['D:\\PyCharm\\toncli\\ton-win64-binaries\\fift.exe', '-I', 'C:\\Users\\user\\AppData\\Local\\toncli\\toncli\\fift-libs', ' -s', 'C:\\Users\\user\\AppData\\Local\\Temp\\tmpqgng6kvj.boc', '']' returned non-zero exit status 2.

Не могу понять как починить и что я делаю не так, если не сложно помогите пожалуйста

@romanovichim
Copy link
Owner

romanovichim commented May 10, 2022 via email

@jobman
Copy link
Author

jobman commented May 10, 2022

Пересоздавал - то же самое
Напишу разработчикам toncli может быть действительно что то не так, у меня уже была проблема с mylocalTon, на моем процессоре не поддерживается инструкции AVX2, может быть тут тоже что то с этим связанно

@romanovichim
Copy link
Owner

romanovichim commented May 10, 2022 via email

@jobman
Copy link
Author

jobman commented May 11, 2022

Да, помогли:
disintar/toncli#44

Для того что бы починить зашел в
\ton_lesson1\venv\Lib\site-packages\toncli\lib\fift-libs
скопировал все содержимое в
\ton_lesson1\wallet

INFO: 🙀 All contracts successfully deployed!

PS У меня Windows 10

@romanovichim
Copy link
Owner

romanovichim commented May 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants