Coder Social home page Coder Social logo

Comments (4)

dzalkind avatar dzalkind commented on August 24, 2024

This error is generated because ROSCO can't find your input file. It seems to think that 'D:\z各种资料\小工具汇总\ROSCO-main2022-2.5.0\ROSCO-main' is the input file, which looks like a directory. I'm not sure why it's set this way, since the input file is defined here.

I have heard that there are issues with this example on Windows, so perhaps you might skip it. Otherwise, we need to figure out why the filename is truncated. This is the file that sets up the control interface in python.

from rosco.

kercc1985 avatar kercc1985 commented on August 24, 2024

Is the input file referred to by this error the 'libdiscon.dll' file?
I find that 'lib_name' is the input to the 'ControllerInterface' module.
lib_name is given here:
lib_name= os.path.join(this_dir, '../ROSCO/build/libdiscon.dll')

Truncating the string of a path is indeed an odd situation.
I'll try a little more and see if I can find out the reason.

from rosco.

dzalkind avatar dzalkind commented on August 24, 2024

I think the issue is with param_file, perhaps around here

from rosco.

kercc1985 avatar kercc1985 commented on August 24, 2024

dear dzalkind,
You're right. The issue is with self.accINFILE = self.param_name.encode('utf-8').
When I remove the Chinese path from the project path, the program runs well, although it's not the fundamental solution to the issue.
Thank you again.

from rosco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.