GithubHelp home page GithubHelp logo

Connection refused about opensatkit HOT 24 OPEN

opensatkit avatar opensatkit commented on July 19, 2024
Connection refused

from opensatkit.

Comments (24)

dmccomas avatar dmccomas commented on July 19, 2024

from opensatkit.

BottomBanana avatar BottomBanana commented on July 19, 2024

Hi Dave
Thank you for a swift reply. Please see the screen dump below.
The terminal window remains on the ruby Launcher command and the connections are all green.

Many thanks for your help

Screenshot at 2019-05-05 20-48-19

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

from opensatkit.

BottomBanana avatar BottomBanana commented on July 19, 2024

from opensatkit.

BottomBanana avatar BottomBanana commented on July 19, 2024

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

from opensatkit.

BottomBanana avatar BottomBanana commented on July 19, 2024

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

When you click start you should see a prompt for the password. After you enter the password abunch of startup messages will appear and the last few should look similar to this image.
image001 (1)

from opensatkit.

BottomBanana avatar BottomBanana commented on July 19, 2024

After entering the password that Terminal window closes. I see nothing that resembles your image.

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

Check to see if you have a file named core-cpu1 in [opensatkit-master]/cfs/build/exe/cpu1. If not then the cFS was not built during installation. Section 4.1.1 of the User's Guide ([opensatkit-master]/docs/OSK_UsersGuide) has instructions for building the cFS.

If core-cpu1 exists then create a copy of [opensatkit-master]/cfs/build/exe/cpu1/cfe_es_startup.scr. In the original named version delete all of the entries or you can comment them out with a "!" at the start of each line. The bottom line is you don't want anything loaded. Then try to start the cFS. Thsi will tell us if the core is having a problem or an app or library is crashing during startup.

from opensatkit.

bapichulo avatar bapichulo commented on July 19, 2024

terminal

Does anyone have a solution to the issue in this screenshot?

from opensatkit.

pavja2 avatar pavja2 commented on July 19, 2024

Check to see if you have a file named core-cpu1 in [opensatkit-master]/cfs/build/exe/cpu1. If not then the cFS was not built during installation. Section 4.1.1 of the User's Guide ([opensatkit-master]/docs/OSK_UsersGuide) has instructions for building the cFS.

If core-cpu1 exists then create a copy of [opensatkit-master]/cfs/build/exe/cpu1/cfe_es_startup.scr. In the original named version delete all of the entries or you can comment them out with a "!" at the start of each line. The bottom line is you don't want anything loaded. Then try to start the cFS. Thsi will tell us if the core is having a problem or an app or library is crashing during startup.

I know this is an old issue but I can confirm that I was having the same problem (enter sudo password and then terminal window silently closes and System Time never starts counting up). Following the suggestion to manually build cfs (now section 5.1.1 of the User's Guide) fixed it for me.

from opensatkit.

PaulaBosca avatar PaulaBosca commented on July 19, 2024

Hello,
I have a similar problem. I am running Ubuntu 16.04.6 on a virtual machine. I managed to download OpenSatKit and after using bundle install I managed to get ruby Launcher to work. It successfully opens COSMOS and all the associated windows. However, when I click 'start cFS', a terminal opens prompting me to input my password. Once I do, the terminal disappears, the COSMOS windows are greyed out for a couple seconds (the timer counter doesn't increase) and then nothing happens.
I tried following the manual cfs build in section 5.1.1 in the User's guide but I get a fatal error that there is not jsmn.h file.
I'm trying to learn cFS for a CubeSat mission at my University and would greatly appreciate any help! Thank you!
Edit: As an additional note, in the cmd&telem viewer it says that LOCAL_CFS_INT is connected.

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

Did you download it recently? There was a period of time when I had the wrong cfe_es_startup.scr file in the release. Thsi file defines whcih apps are loaded during startup. This file occurs in two places.

  1. .../cfs/osk_defs/cpu1_cfe_es_startup.scr is the main definition. When the cFS is built the 'cpu1_' prefix is stripped off and the file is copied to
  2. .../cfs/build/exe/cpu1/cf/es_startup.scr

The health & safety (HS) app should not be loaded because it crashes on some platforms. Your startup script should have HS commented out using or he line deleted. Note that the first '!' encountered comments out the remainder of the file.

from opensatkit.

PaulaBosca avatar PaulaBosca commented on July 19, 2024

Oddly enough, the HS app doesn't load since it's correctly commented out in cfs/osk_defs/cpu1_ed_startup.scr
However, when my system builds it doesn't create the build/exe folder. the cfs/build folder contains the following directories: CMakeFiles, cpu1, doc, editor_inc, inc, tools, and two text files (CMakeCache.txt and missions_vars.cache). The cfs/build/cpu1 does not have the cf files or the like. Any idea what could be happening with my build? I've tried reinstalling within the last couple days with the same problems.

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

from opensatkit.

PaulaBosca avatar PaulaBosca commented on July 19, 2024

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

from opensatkit.

Natpanzarini avatar Natpanzarini commented on July 19, 2024

Oddly enough, the HS app doesn't load since it's correctly commented out in cfs/osk_defs/cpu1_ed_startup.scr
However, when my system builds it doesn't create the build/exe folder. the cfs/build folder contains the following directories: CMakeFiles, cpu1, doc, editor_inc, inc, tools, and two text files (CMakeCache.txt and missions_vars.cache). The cfs/build/cpu1 does not have the cf files or the like. Any idea what could be happening with my build? I've tried reinstalling within the last couple days with the same problems.

Hello, I am having the exact same problem as described.

  1. When I enter in the password to the terminal, it just closes.
  2. My HS file is correctly commented out at cfs/osk_defs/cpu1_ed_startup.scr
  3. I do not have an cfs/build/exe directory, and each time I try and follow the build instructions in the
    5.1 section of the User Manual but it throws errors. See attached file for full stack trace.

Was there any resolution to these issues?

Errors.txt

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

Sorry for the delay & or teh code that's cuasing your issue. The window closes because the cFS isn't being built and there's no executable. There was a short period of time when I had commited some intermittent C++ app code that wouldn't build. The current repo code works. If you don't want to download the latest code code you can you can remove the demo apps from the cmake target list file. The C demo app had issues at the same time the C++ demo app had issues.

To remove the demo apps from being built edit OpenSatKit-master/cfs/osk_defs/targets.cmake

Remove the demo apps from TGT1_APPLIST
FROM:
SET(TGT1_APPLIST cfs_lib expat_lib osk_c_fw osk_cpp_fw cs ds fm hs kit_ci kit_sch kit_to lc md mm sc hk tftp i42 f42 isim hc hsim osk_c_demo osk_cpp_demo)

TO:
SET(TGT1_APPLIST cfs_lib expat_lib osk_c_fw osk_cpp_fw cs ds fm hs kit_ci kit_sch kit_to lc md mm sc hk tftp i42 f42 isim hc hsim)

Hope this fixes it.

from opensatkit.

Natpanzarini avatar Natpanzarini commented on July 19, 2024

Hi, thanks for the response!

I have both reinstalled and removed the demo apps from TGT1_APPLIST as instructed, but cFS still does not build when I run make. It looks like there are issues when it tries to build osk_cpp_fw, as it always throws errors at this point in the process.

I have attached my errors again. Do you have any other suggestions for fixing the cFS build issue?

Thanks!
cfs_errors.txt

from opensatkit.

dmccomas avatar dmccomas commented on July 19, 2024

from opensatkit.

pmepablo avatar pmepablo commented on July 19, 2024

Thanks dmccomas, editing those files did the trick for me. I was also getting the nullptr prior to updating those two files.

from opensatkit.

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.