bugSimulavr: an AVR simulator - Bugs: bug #39704, _pysimulavr.so doesn't exist


bug #39704: _pysimulavr.so doesn't exist

Submitted by:  Valber <psi13art>
Submitted on:  Tue 06 Aug 2013 07:49:24 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Thomas K. <tomk>
Open/Closed: ClosedComponent Version: simulavr

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed 15 Oct 2014 04:24:26 PM UTC, comment #3:

Hi Stefan,

I have now, after some tries, decided to build the python module completely with the pythons built in mechanisms, e.g. completely controlled by setup.py (run swig, compile pysimulavr_wrap.cpp, link with simulavr object to a shared lib) Works with linux and windows (mingw32). One benefit more is to move all statements for this from src/Makefile.am to src/python/Makefile.am. Makes it more easy to understand. I'm not able to check it on Mac, but I assume, that this should also work. Build installable python packages is so also possible. (for example to upload it to PyPi)

The python module is now complete self-contained (just the pysimulavr.py and pysimulavr.so) and doesn't need and extra shared lib object (like libsim.so... or such) And the code parts under src/cmd are also included. So it would be possible to create a python script, which works similar like the simulavr binary. (use as gdb target, but be able by modifying the script to make some adaptions, for example connect pins together)

cu, Thomas

Thomas K. <tomk>
Project AdministratorIn charge of this item.
Sat 04 Oct 2014 05:15:11 PM UTC, comment #2:

Please have a look at patch #8370, it should be a good step in the right direction, at least for linux

Stefan BrĂ¼ns <stefanbruens>
Sat 04 Oct 2014 05:02:46 PM UTC, comment #1:


I can confirm, that there is a problem. Ok so far. :-) But the solution isn't so easy. Especially to support not only linux platform.

Set to in progress but be patient ...

cu, Thomas

Thomas K. <tomk>
Project AdministratorIn charge of this item.
Tue 06 Aug 2013 07:49:24 AM UTC, original submission:

Ubuntu 13.04

source: git 2013-08-04
./configure LDFLAGS="-L/usr/lib/python2.7" --enable-python
sudo make install
cd src
sudo python setup.py install

running install
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating pysimulavr.egg-info
writing pysimulavr.egg-info/PKG-INFO
writing top-level names to pysimulavr.egg-info/top_level.txt
writing dependency_links to pysimulavr.egg-info/dependency_links.txt
writing manifest file 'pysimulavr.egg-info/SOURCES.txt'
file pysimulavr.py (for module pysimulavr) not found
reading manifest file 'pysimulavr.egg-info/SOURCES.txt'
writing manifest file 'pysimulavr.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
file pysimulavr.py (for module pysimulavr) not found
file pysimulavr.py (for module pysimulavr) not found
warning: install_lib: 'build/lib.linux-i686-2.7' does not exist -- no Python modules to install

installing package data to build/bdist.linux-i686/egg
running install_data
creating build
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
error: can't copy '_pysimulavr.so': doesn't exist or not a regular file

Valber <psi13art>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by stefanbruens (Posted a comment)
  • -unavailable- added by tomk (Posted a comment)
  • -unavailable- added by psi13art (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Oct 2014 07:04:00 PM UTCtomkStatusIn Progress=>Fixed
    Sat 04 Oct 2014 05:02:46 PM UTCtomkStatusNone=>In Progress
      Assigned toNone=>tomk

    Back to the top

    Powered by Savane 3.1-cleanup