Skip to content

No such file or directory #78

@keefer223

Description

@keefer223

It appears there is a missing file: scala_7.5.2/external/trezor-common/protob/messages-scala.proto'

-- Found miniupnpc API version 17
-- Using in-tree miniupnpc
-- Looking for libunbound
-- Found libunbound include (unbound.h) in /usr/include
-- Found libunbound library
-- Using 64-bit LMDB from source tree
-- Backtrace_LIBRARY:
-- Performing Test _march=native_cxx
-- Performing Test _march=native_cxx - Success
-- Setting CXX flag -march=native
-- Performing Test _march=native_c
-- Performing Test _march=native_c - Success
-- Setting C flag -march=native
-- Using HIDAPI include dir at /usr/include/hidapi
-- Protobuf lib: /usr/lib/x86_64-linux-gnu/libprotobuf.so, inc: /usr/include, protoc: /usr/bin/protoc
CMake Warning at cmake/CheckTrezor.cmake:126 (message):
Trezor protobuf messages could not be regenerated (err=1, python ).OUT: ,
ERR: Traceback (most recent call last):

File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py", line 219, in <module>
  main()
File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py", line 213, in main
  protoc(
File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py", line 104, in protoc
  shutil.copy(file, tmp_file)
File "/usr/lib/python3.9/shutil.py", line 418, in copy
  copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
  with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:

### FileNotFoundError: [Errno 2] No such file or directory:
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-scala.proto'

Traceback (most recent call last):

File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/build_protob.py", line 45, in <module>
  subprocess.check_call(exec_args)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
  raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/usr/bin/python3.9',
'/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py', '-o',
'/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/../messages',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages.proto',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-common.proto',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-management.proto',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-scala.proto']'
returned non-zero exit status 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions