Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Too Short #94

Closed
SaucyOfficiale opened this issue Apr 21, 2019 · 3 comments

Comments

Projects
None yet
4 participants
@SaucyOfficiale
Copy link

commented Apr 21, 2019

Describe the bug
Getting error "file too short" import error after command "bin/hummingbot.py". Linux running in Virtual Box on Windows. Anaconda is fully installed, ./install and ./compile commands done with 0 errors, and "conda activate hummingbot" done with 0 errors.

Steps To Reproduce
type "bin/hummingbot.py" in terminal

Screenshots
https://prnt.sc/nerriw

Release version
0.4.0

@SaucyOfficiale SaucyOfficiale added the bug label Apr 21, 2019

@martinkou

This comment has been minimized.

Copy link
Member

commented Apr 22, 2019

This likely means some compiled files were corrupted for some reason - there may have been a compile error when that file was generated.

Try removing all the .cpp and .so files generated from .pyx files and compile again.

for fname in $(find . -name "*.pyx"); do 
  rm -f $(echo $fname | sed s/pyx$/cpp/g) $(echo $fname | sed s/pyx$/so/g)
done
@SaucyOfficiale

This comment has been minimized.

Copy link
Author

commented Apr 23, 2019

File permissions just needed changed. The command: "chmod -R 777 ./" when in my home directory in linux worked great. Now it compiles.

@yzhang1994 yzhang1994 closed this Apr 24, 2019

@mifeng

This comment has been minimized.

Copy link
Member

commented Apr 24, 2019

I have sent you 0.1 ETH as part of our Bug Bounty program: https://docs.hummingbot.io/support/bug-bounty-program/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.