Hi,
I
could manage to enable python modules for my python project. I put the
directory containing the project file (python modules) and the python
standard libraries into a tar archive to be accessed by the tz_vmm (see the configuration below). The
project runs successfully, but I get the following message when os
module is imported. This message is repeated for each python module
imported in the project. Anyone has any idea to fix this? Thank you
in advance for your answers. [init -> tar_fs] Could not find record for /Lib/os
[init -> tar_fs] Could not find record for /Lib/os.so
[init -> tar_fs] Could not find record for /Lib/osmodule.so
[init -> tar_fs] Could not find record for /Lib/os.pyc
[init -> tar_fs] Could not find record for /Lib/os.pyc
[init -> tz_vmm] plugin()->open("./Lib/os.pyc") failed
Here is the configuration. <start name="tar_fs">
<resource name="RAM" quantum="50M"/>
<provides> <service name="File_system"/> </provides>
<config>
<archive name="pyproject.tar" />
<policy root="/" />
</config>
</start>
<start name="tz_vmm">
<resource name="RAM" quantum="100M"/>
<config>
<fstab> <tar name="pyproject.tar" /> </fstab>
<libc stdout="/dev/log" stderr="/dev/log" >
<vfs>
<dir name="dev"> <log/> </dir>
<fs/>
</vfs>
</libc>
</config>
</start>