stratosphereips / StratosphereTestingFramework

The stratosphere testing framework is mean to help in the researching and verification of the behavioral models used by the Stratoshpere IPS.
Other
50 stars 13 forks source link

where is the file StratosphereTestingFramework/stf/core/experiments.py ? #1

Closed ouyangchangjun closed 7 years ago

ouyangchangjun commented 8 years ago

Hi : i run ./stf.py get some error:


[!] Something wrong happened while importing the module modules.distances_1: No module named experiment [!] Something wrong happened while importing the module modules.experiments_1: No module named experiment [!] Something wrong happened while importing the module modules.markov_models_1: No module named

experiment [!] Something wrong happened while importing the module modules.markov_models_2: No module named

experiment [!] Something wrong happened while importing the module modules.template_module: No module named

experiment [!] Something wrong happened while importing the module modules.visualize_1: No module named experiment Traceback (most recent call last): File "./stf.py", line 29, in c = console.Console() File "/myslips/StratosphereTestingFramework/stf/core/ui/console.py", line 40, in init from stf.core.ui.commands import Commands File "/myslips/StratosphereTestingFramework/stf/core/ui/commands.py", line 16, in from stf.core.database import database File "/myslips/StratosphereTestingFramework/stf/core/database.py", line 9, in from stf.core.experiment import experiments ImportError: No module named experiment


this is see the module ./stf/core/experiment.py not present. How can i resolve this error? thanks

eldraco commented 8 years ago

Thanks a lot for marking this error. We left some code in the master branch that was wrong. Try it now please with the new commit.

masoudpakaein commented 5 years ago

Hi I hope all is well, I run ./stf.py get some error:

[!] Something wrong happened while importing the module modules.distances_1: cannot import name _ring Traceback (most recent call last): File "./stf.py", line 8, in from stf.core.ui import console File "/root/StratosphereTestingFramework-master/stf/core/ui/console.py", line 12, in from stf.core.plugins import modules File "/root/StratosphereTestingFramework-master/stf/core/plugins.py", line 40, in modules = load_modules() File "/root/StratosphereTestingFramework-master/stf/core/plugins.py", line 25, in load_modules module = import(module_name, globals(), locals(), ['dummy'], -1) File "/root/StratosphereTestingFramework-master/modules/dns_parser.py", line 9, in from stf.core.models import groupofgroupofmodels File "/root/StratosphereTestingFramework-master/stf/core/models.py", line 1, in import persistent File "/usr/local/lib/python2.7/dist-packages/persistent/init.py", line 35, in import persistent.timestamp as TimeStamp AttributeError: 'module' object has no attribute 'timestamp'

How can I resolve this error? Thanks.