Hi Vishal Rathod,

 

Do you have any blanks/spaces in the folder path?

 

Kind Regards,
Wouter

 

 

From: [email protected] <[email protected]> On 
Behalf Of Vishal Rathod
Sent: Friday 16 July 2021 11:43
To: [email protected]
Subject: [dev] Getting error while running a example

 

Hello all,

 

I hope you are doing well!

 

I am running an example which is given in the following link: 

 

https://iotivity.org/getting-started-iotivity-device-simulation

 

When I run the ./gen.sh command after setting up the IoTivity, it gave the 
following error:

 

./DeviceBuilder_IotivityLiteServer.sh: 159: cd: can't cd to 
/home/vishal/Documents/IoTivity

creating ../device_output
cp: cannot stat '../example.json': No such file or directory
python3: can't open file './src/DeviceBuilder.py': [Errno 2] No such file or 
directory
== wb-swagger not installed, see https://github.com/WAvdBeek/wb-swagger-tools 
to install
python3: can't open file './src/swag2cbor.py': [Errno 2] No such file or 
directory
cp: cannot stat '../device_output/out_introspection_merged.swagger.json.cbor': 
No such file or directory
python3: can't open file './src/cbor2include.py': [Errno 2] No such file or 
directory

 

json file does not exist: 
../device_output/out_codegeneration_merged.swagger.json
Traceback (most recent call last):
  File "../swagger2x/src/swagger2x.py", line 1724, in <module>
    json_data = load_json_schema(args.swagger)
  File "../swagger2x/src/swagger2x.py", line 62, in load_json_schema
    linestring = open(full_path, 'r').read()
FileNotFoundError: [Errno 2] No such file or directory: 
'../device_output/out_codegeneration_merged.swagger.json'
cp: cannot stat './iotivity-lite/apps/device_builder_server.c': No such file or 
directory
cp: cannot stat './device_output/code/simpleserver.c': No such file or directory
cp: cannot stat './device_output/code/simpleserver.c': No such file or directory
cp: cannot stat './device_output/code/simpleserver.c': No such file or directory
cp: cannot stat './device_output/code/server_introspection.dat.h': No such file 
or directory
cp: cannot stat './device_output/code/server_introspection.dat': No such file 
or directory
cp: cannot stat './device_output/code/server_introspection.dat': No such file 
or directory
cp: cannot stat './device_output/code/server_introspection.dat': No such file 
or directory

 

Can anyone help me with this?

 

Thank you.

 

Regards

-- 

Vishal Rathod,

IEEE Student Member,

Research Scholar,

NITK,  Surathkal.

M - +91 9879957770





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#10454): 
https://iotivity.groups.io/g/iotivity-dev/message/10454
Mute This Topic: https://groups.io/mt/84245890/21656
Group Owner: [email protected]
Unsubscribe: https://iotivity.groups.io/g/iotivity-dev/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to