donno2048/CITUR-L

Error when running rosehip in the interpreter

Closed this issue ยท 10 comments

nehol commented

image

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.94. Please mark this comment with ๐Ÿ‘ or ๐Ÿ‘Ž to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

I updated Rosehip so you could just use:

from Rosehip import start
start()

This problem looks to have something to do with this post

nehol commented

It's still not working and btw it has nothing to do with this post since in ubuntu it's working and in rosehip not

If you can import Rosehip but not Rosehip.os it's because the __init__.py is not being recognized for some reason

It might be fixed using:

mv build/external/overlay/usr/share/Rosehip/startup.py build/external/overlay/usr/share
yes | rm -r build/external/overlay/usr/share/Rosehip
cp -a Rosehip/. build/external/overlay/usr/share/Rosehip
mv build/external/overlay/usr/share/startup.py build/external/overlay/usr/share/Rosehip

before the two last lines of init.sh; and then in startup.py replace:

from Rosehip.os import OS;return OS().run()

with:

from Rosehip import pc;pc()
nehol commented

The build through the test branch is not working either

I might have to add the rosehip pip module manually like the other modules I will try to reopen the test branch like that

It won't work as long as the pip module is still buggy

No need for pip installation, the problem is when cloning the Rosehip folder will be empty

Fixed it in #12