When I use multimech-run my_project I see unending stream of console output printing the number of user groups and threads. I am running on Python 2.7 32bit on Win 7 64bit.
I added the following code to the start of run.py to perform some inspection about the caller.
frm = inspect.stack()[1]
mod = inspect.getmodule(frm[0])
print frm
Here is the output:
C:\Users\c_gokulr>multimech-run my_project
(<frame object at 0x02377F88>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0253DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0233DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0242DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0233DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0245DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0240DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0242DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
user_groups: 1
threads: 2
(<frame object at 0x0239DC40>, 'C:\Python27\lib\site-packages\pkg_resources.
py', 1954, 'load', [" entry = import(self.module_name, globals(),glob
als(), ['name'])\n"], 0)
[pkg_resources] caller!
^C
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
File "", line 1, in
File "", line 1, in
File "", line 1, in
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
C:\Users\c_gokulr> File "C:\Python27\lib\multiprocessing\forking.py", line 346,
in main
File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main
Traceback (most recent call last):
File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main
File "", line 1, in
File "", line 1, in
File "", line 1, in
File "", line 1, in
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in
File "", line 1, in
File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main
File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main
File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main
File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main
prepare(preparation_data)
prepare(preparation_data)
prepare(preparation_data)
File "C:\Python27\lib\multiprocessing\forking.py", line 346, in main
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multi
mech-run')()
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in prepare
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in prepare
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in prepare
prepare(preparation_data)
prepare(preparation_data)
prepare(preparation_data)
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 69, in main
prepare(preparation_data)
prepare(preparation_data)
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in pr
epare
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in prepare
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in prepare
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in prepare
File "C:\Python27\lib\multiprocessing\forking.py", line 461, in prepare
'parents_main', file, path_name, etc
'parents_main', file, path_name, etc
'parents_main', file, path_name, etc
run_test()
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in <module
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in <module>
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in
'parents_main', file, path_name, etc
'parents_main', file, path_name, etc
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 128, in run_test
'parents_main', file, path_name, etc
'parents_main', file, path_name, etc
'parents_main', file, path_name, etc
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in <module
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multimech-run')()
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multimech-run')()
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multimech-run')()
File "C:\Python27\Scripts\multimech-run-script.py", line 8, in
time.sleep(.5)
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 69, in main
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multim
echanize\utilities\run.py", line 69, in main
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multim
echanize\utilities\run.py", line 69, in main
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multimech-run')()
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multimech-run')()
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multimech-run')()
KeyboardInterruptload_entry_point('multi-mechanize==1.2.0', 'console_scripts
', 'multimech-run')()
load_entry_point('multi-mechanize==1.2.0', 'console_scripts', 'multimech-run')()
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 69, in main
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\mu
ltimechanize\utilities\run.py", line 69, in main
run_test()
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 69, in main
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 69, in main
File "C:\Python27\lib\site-packages\pkg_resources.py", line 318, in load_entry
_point
run_test()
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multim
echanize\utilities\run.py", line 128, in run_test
run_test()
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-
py2.7.egg\multimechanize\utilities\run.py", line 128, in run_test
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 128, in run_test
time.sleep(.5)
return get_distribution(dist).load_entry_point(group, name)
KeyboardInterruptrun_test()
run_test()
run_test()
run_test()
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 128, in run_test
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 128, in run_test
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 128, in run_test
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 128, in run_test
File "C:\Python27\lib\site-packages\pkg_resources.py", line 2221, in load_entr
y_point
time.sleep(.5)
time.sleep(.5)
time.sleep(.5)
time.sleep(.5)
time.sleep(.5)
time.sleep(.5)
KeyboardInterruptKeyboardInterrupt
KeyboardInterruptKeyboardInterruptKeyboardInterruptKeyboardInterrupt
File "C:\Python27\lib\site-packages\pkg_resources.py", line 1954, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\utilities\run.py", line 38, in
import multimechanize.results as results
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\results.py", line 14, in
import reportwriterxml
File "C:\Python27\lib\site-packages\multi_mechanize-1.2.0-py2.7.egg\multimecha
nize\reportwriterxml.py", line 10, in
from xml.etree import ElementTree as ET
File "C:\Python27\lib\xml\etree\ElementTree.py", line 59, in
"Comment",
KeyboardInterrupt