Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

decaying output duplication #2

Open
cmdstack opened this issue May 3, 2016 · 4 comments
Open

decaying output duplication #2

cmdstack opened this issue May 3, 2016 · 4 comments

Comments

@cmdstack
Copy link

cmdstack commented May 3, 2016

What I Did

Copied 1.76 files to cc/rom/

CraftOS

Modified: yes

Version: 1.76

NOTICE: Modified version of CC are not supported, but will be worked on to make sure that swarmc supports as much as it can.

bash
root@ubuntu:~/git/node/import/swarm/swarmc# ls cc/rom

apis
programs
startup

root@ubuntu:~/git/node/import/swarm/swarmc#_node bin/swarmc cc/rom/shell__

swarmc: looking for swarmc.json in /home/cdunn/git/node/import/swarm/swarmc
swarmc: swarmc.json not found.
swarmc: defaulting to CLI opts.
CraftOSraftOSaftOSftOStOSOSS 1.7.77helloellolloloo> attemptttempttemptemptmptptt too yieldieldeldldd fromromomm outsideutsidetsidesideidedee a coroutineoroutineroutineoutineutinetineineneePressressesssss anynyy keyeyy too continueontinuentinuetinueinuenueueeroot@ubuntu:~/git/node/import/swarm/swarmc# 
root@ubuntu:~/git/node/import/swarm/swarmc#
@jaredallard
Copy link
Member

jaredallard commented May 3, 2016

So, this is not an issue with swarmc, swarmc emulates fine, however the craftos "image" does have some tweaks to make it work better. By using craftos 1.7.7 you're overriding those.

The image is at 1.7.4 right now. Copying just 1.7.4 rom/programs -> cc/rom/programs (plus the startup to cc/rom/startup) has no issues. However the new fs overlay library has a few issues with executing commands, but it works.

d05-02-16_t17-56-22

@cmdstack
Copy link
Author

cmdstack commented May 3, 2016

re-cloned swarmc and re-ran node bin/swarmc without args.
screenshot from 2016-05-02 18 06 20
added 1.74[rom/programs] @ cc/rom/programs & ran node bin/swarmc cc/rom/programs/shell

screenshot from 2016-05-02 18 36 42

@jaredallard
Copy link
Member

Now that's a legitment bug! :)

@jaredallard
Copy link
Member

jaredallard commented May 3, 2016

@cmdpwnd Can you enabled DEBUG please?

export DEBUG=swarmc:*
node bin/swarmc cc/rom/programs/shell

An image and/or text would be fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants