Coder Social home page Coder Social logo

Comments (7)

saurabhb17 avatar saurabhb17 commented on July 26, 2024

yes of course, for Ubuntu 20.04 onward, we will use either evince or okular. Will be incorporated in next release

from esim.

q-wertz avatar q-wertz commented on July 26, 2024

Ok thank you very much.
I have quite some trouble installing it in Ubuntu 20.10. There are more dependencies which are broken. Fixed most of them by hand editing the install-eSim.sh and install-nghdl.sh scripts...


Maybe these information help:
Broken dependencies that I remember:
install-eSim.sh:

  • xpdf (at the moment I just commented these parts out, don't what will break)
  • KiCad-4 (Installed official KiCad version from the Ubuntu repositories, don't know yet if it works with eSim at the moment)

install-nghdl.sh:

  • llvm (oldest version available in Ubuntu 20.10 is llvm-8, also available are 9, 10, 11)

After "successful" installation the following error is thrown:

qwertz@hoth:~/VCS/ins_lectures$ esim
Traceback (most recent call last):
  File "frontEnd/Application.py", line 20, in <module>
ImportError: /tmp/_MEInyd3Cc/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)
[143781] Failed to execute script Application

Google brought me here https://ubuntuforums.org/showthread.php?t=2375927

cd /your_directory_software/../lib/ (the directory in which is present libz.so.1)
sudo mv libz.so.1 libz.so.1.old
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1

but I couldn't figure out how to symlink a tmp folder which presumably is generated by the Application.py script.

from esim.

saurabhb17 avatar saurabhb17 commented on July 26, 2024

You know, I have tried running eSim on Ubuntu 20 on a Virtualbox setup, surprisingly,I did not encounter the l_ibz.so.1: version `ZLIB_1.2.9_ issue.

Nevertheless, I will get back to you on this.

from esim.

ThellraAK avatar ThellraAK commented on July 26, 2024

Manually installed xpdf from the 19.10 repos and then ran into not being able to install gnat-5 and couldn't find a way to do the same (lubuntu 20.04)

from esim.

rahulp13 avatar rahulp13 commented on July 26, 2024

There is a new release that fixed all the above issues. It is available here. You can try it and let us know if there are any further issues.

from esim.

q-wertz avatar q-wertz commented on July 26, 2024

Thanks for the new release :)

The problem is, that you only support an old kicad version and this leads to the following problem(s)

The following additional packages will be installed:
  libboost-context1.65.1 libboost-system1.65.1 libboost-thread1.65.1 libglew2.0 libpython2-stdlib libpython2.7
  libpython2.7-minimal libpython2.7-stdlib libwxgtk3.0-0v5 python-is-python2 python-wxgtk3.0 python-wxversion
  python2 python2-minimal python2.7 python2.7-minimal
Suggested packages:
  extra-xdg-menus kicad-demo kicad-locale-ko | kicad-locale-ru | kicad-locale-pl | kicad-locale-pt | kicad-locale-ja
  | kicad-locale-id | kicad-locale-ca | kicad-locale-it | kicad-locale-el | kicad-locale-zh | kicad-locale-de
  | kicad-locale-sl | kicad-locale-cs | kicad-locale-bg | kicad-locale-sv | kicad-locale-lt | kicad-locale-fi
  | kicad-locale-fr | kicad-locale-hu | kicad-locale-nl | kicad-locale-es | kicad-locale-sk glew-utils wx3.0-doc
  python2-doc python-tk python2.7-doc
Recommended packages:
  kicad-library kicad-doc-en
The following packages will be REMOVED:
  kicad-footprints kicad-libraries kicad-symbols kicad-templates
The following NEW packages will be installed:
  libboost-context1.65.1 libboost-system1.65.1 libboost-thread1.65.1 libglew2.0 libpython2-stdlib libpython2.7
  libpython2.7-minimal libpython2.7-stdlib libwxgtk3.0-0v5 python-is-python2 python-wxgtk3.0 python-wxversion
  python2 python2-minimal python2.7 python2.7-minimal
The following packages will be DOWNGRADED:
  kicad
0 upgraded, 16 newly installed, 1 downgraded, 4 to remove and 0 not upgraded.
E: Packages were downgraded and -y was used without --allow-downgrades.


Error! Kindly resolve above error(s) and try again.

Aborting Installation...

Is it possible for you to use the new kicad version or are there API changes that you do not support?
I'm not a big fan of using python2 😅

from esim.

rahulp13 avatar rahulp13 commented on July 26, 2024

Some modules of eSim and libraries were developed for old KiCad version. So, I highly doubt its compatibility with the new KiCad version. You can manually downgrade it to proceed with the old version. Otherwise, you can proceed with the new KiCad version (comment out the KiCad installation part in the script) and let us know if it works or not. You may also send a pull request for the same, and we shall make it available in our next release.

Regarding Python2, even I'm not a big fan of it, but it shouldn't do any harm to your usage of eSim.

from esim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.