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

error: Input error on line 0: "Bad format"., field keyword "f(t)" #17

Open
kgiannis3 opened this issue Aug 21, 2020 · 4 comments
Open

Comments

@kgiannis3
Copy link

Dear Jan,

Many thanks for sharing with us your code and answering to our questions.
I have successfully installed your code
1

and then tried to run the contact1.py example and I am having this error:
2

The operating system is ubuntu 18.04

Thank you in advance.

With kind regards,
Kostas

@stranskyjan
Copy link
Owner

Please next time put copy-pasted code / message, not screenshots

I was not able to reproduce the error. Have you done any changes?

@kgiannis3
Copy link
Author

Thank you for the quick response.
The only change that I can see is the one that I did during installation.

So first i tried with python 3:
sudo add-apt-repository ppa:yade-users/external sudo apt-get update
and then with yade prerequisites:
sudo apt install cmake git freeglut3-dev libloki-dev libboost-all-dev fakeroot \ dpkg-dev build-essential g++ python3-dev python3-ipython python3-matplotlib \ libsqlite3-dev python3-numpy python3-tk gnuplot libgts-dev python3-pygraphviz \ libvtk6-dev libeigen3-dev python3-xlib python3-pyqt5 pyqt5-dev-tools python3-mpi4py \ python3-pyqt5.qtwebkit gtk2-engines-pixbuf python3-pyqt5.qtsvg libqglviewer-dev-qt5 \ python3-pil libjs-jquery python3-sphinx python3-git libxmu-dev libxi-dev libcgal-dev \ help2man libbz2-dev zlib1g-dev libopenblas-dev libsuitesparse-dev \ libmetis-dev python3-bibtexparser python3-future coinor-clp coinor-libclp-dev \ python3-mpmath libmpfr-dev libmpfrc++-dev

but was not able to compile the code with the command make all.

then I executed (python instead of python3):
sudo apt install cmake git freeglut3-dev libloki-dev libboost-all-dev fakeroot \ dpkg-dev build-essential g++ python-dev ipython python-matplotlib python-mpi4py \ libsqlite3-dev python-numpy python-tk gnuplot libgts-dev python-pygraphviz \ libvtk6-dev python-numpy libeigen3-dev python-xlib python-pyqt5 pyqt5-dev-tools \ python-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse python-pyqt5.qtsvg \ libqglviewer-dev-qt5 python-pil libjs-jquery python-sphinx python-git python-bibtex \ libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen \ libopenblas-dev libsuitesparse-dev libmetis-dev libopenmpi-dev openmpi-bin \ openmpi-common python-bibtexparser python3-future python-future python-gts \ coinor-clp coinor-libclp-dev python-mpmath libmpfr-dev libmpfrc++-dev

and the code compiled successfully but then I cannot run the example.

@stranskyjan
Copy link
Owner

I don't know. As I said, I cannot reproduce the problem.

Also the code currently works only with Python 2, don't know if installing the python3-related stuff can be the problem

@kgiannis3
Copy link
Author

Thanks for replying.
I will keep trying and keep you updated if I will manage to succeed.

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

No branches or pull requests

2 participants