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

SaucyOfficiale opened this issue Apr 21, 2019 · 3 comments


None yet
4 participants
Copy link

commented Apr 21, 2019

Describe the bug
Getting error "file too short" import error after command "bin/". 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/" in terminal


Release version

@SaucyOfficiale SaucyOfficiale added the bug label Apr 21, 2019


This comment has been minimized.

Copy link

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)

This comment has been minimized.

Copy link

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


This comment has been minimized.

Copy link

commented Apr 24, 2019

I have sent you 0.1 ETH as part of our 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.