-
Notifications
You must be signed in to change notification settings - Fork 65
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
Comments
Тут есть несколько вариантов:
1) неправильно установлен fift
2) project.yaml имеет какие-то лишние символы в путях к файлам
3) toncli не может открыть файлы почему-то
Советую попробовать переустановить toncli и создать проект заново, если не
поможет то писать уже разработчикам toncli.
P.S буду благодарен звездочке на репозитории с уроками
Вт, 10 мая 2022 г. в 12:15, jobman ***@***.***>:
… нахожусь в папке 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.
Не могу понять как починить и что я делаю не так, если не сложно помогите
пожалуйста
—
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEME547SHRMBIS5TSU2CLHTVJISMLANCNFSM5VQ436SA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Пересоздавал - то же самое |
Если они что-то толковое посоветуют, напиши пожалуйста это мне, я либо в
урок добавлю либо потом в раздел частые вопросы/проблемы
Вт, 10 мая 2022 г. в 17:39, jobman ***@***.***>:
… Пересоздавал - то же самое
Напишу разработчикам toncli может быть действительно что то не так, у меня
уже была проблема с mylocalTon, на моем процессоре не поддерживается
инструкции AVX2, может быть тут тоже что то с этим связанно
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEME546CXVEHJ4L265S7NYLVJJYLJANCNFSM5VQ436SA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Да, помогли: Для того что бы починить зашел в INFO: 🙀 All contracts successfully deployed! PS У меня Windows 10 |
Супер, спасибо
Ср, 11 мая 2022 г. в 11:37, jobman ***@***.***>:
… Да, помогли:
disintar/toncli#44 <disintar/toncli#44>
Для того что бы починить зашел в
\ton_lesson1\venv\Lib\site-packages\toncli\lib\fift-libs
скопировал все содержимое в
\ton_lesson1\wallet
INFO: 🙀 All contracts successfully deployed!
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEME542MQ37UBVVXF5YOYO3VJNWVJANCNFSM5VQ436SA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
нахожусь в папке 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 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. 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.
Не могу понять как починить и что я делаю не так, если не сложно помогите пожалуйста
The text was updated successfully, but these errors were encountered: