Closed gintama1227 closed 5 years ago
Can you please upload your modified ini-file?
The module Polygon
is missing to execute the _Plot_N_t.py
-file. Please check the required tools.
Your problem isn't a bug. If the module Polygon
is missing, method A cannot be completed.
We can adapt JPSreport so that the absence of the module is correctly intercepted.
Thank you, I installed Polygon3. But, I still cannot use Method I.
Can you upload the file IFD_I_corridor_tab.txt_id_1.dat
?
It is empty.
I cannot upload the file now.
Please try this file ini_corridor_issue149.xml.zip.
Still same problem.
Please deactivate method A and send me the correct log-file.
Please change measurement area ID 1:
<area_B id="1" type="BoundingBox" zPos="None">
</area_B>
log.txt
I change the ID to 5.
Please try:
<?xml version="1.0" encoding="UTF-8"?>
<JPSreport project="JPS-Project" version="0.8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/jps_report.xsd">
<geometry file = "geo_corridor.xml" />
<trajectories format="txt" unit="m">
<file name="corridor_tab.txt" />
<path location="./" />
</trajectories>
<output location="Output_issue149/" />
<scripts location="../../scripts/"/>
<measurement_areas unit="m">
<area_B id="1" type="BoundingBox" zPos="None">
</area_B>
<area_L id="2" type="Line" zPos="None">
<start x="0.00" y="0.00" />
<end x="0.00" y="1.50" />
</area_L>
</measurement_areas>
<velocity frame_step="10" set_movement_direction="None" ignore_backward_movement="false"/>
<method_A enabled="false">
<measurement_area id="2" frame_interval="100" plot_time_series="true"/>
</method_A>
<method_I enabled="true">
<measurement_area id="1" start_frame="None" stop_frame="None" get_individual_FD="true" plot_time_series="false"/>
<cut_by_circle enabled="true" radius="1.0" edges="10"/>
<one_dimensional enabled="false"/>
</method_I>
</JPSreport>
But there is no log.txt and no IFD_I_corridor_tab.txt_id_1.dat
Do you read the Error message? Please change your ini-file:
<measurement_area id="1" start_frame="None" stop_frame="None" get_individual_FD="true" plot_time_series="false"/>
instead
<measurement_area id="1" start_frame="None" stop_frame="None" get_individual_FD="true" plot_time_series="false"//>
Thank you. It succeeds.
By the way, I find that I have to Create all folders at first (see the figure). If not, the log.txt shows "ERROR: cannot open the file individual".
By the way, I find that I have to Create all folders at first (see the figure). If not, the log.txt shows "ERROR: cannot open the file individual".
@xuqiancheng Can you reproduce this problem description under Windows?
By the way, I find that I have to Create all folders at first (see the figure). If not, the log.txt shows "ERROR: cannot open the file individual".
That's not normal.
Like this.
log.txt
By the way, I find that I have to Create all folders at first (see the figure). If not, the log.txt shows "ERROR: cannot open the file individual".
@gjaeger I know this problem, but I think it has been fixed in #144 . @gintama1227 Could you please try the latest commit in #144 ? It should solve the problem with Create all folders.
I know this problem, but I think it has been fixed in #144 .
Did you test this?
I know this problem, but I think it has been fixed in #144 .
Did you test this?
Yes. After compiling jpsreport on windows. I found two problems, one is can not create output folder, another one is can not read trajectory folder. Then I fixed both of them. Now It works well on my computer.
But I have met problem when I test method I in demos/obstacle. I got empty output file as shown in the figure.
Then I have tested method_I in demos/bottleneck, and got result.
I don't know is this a normal result, since I don't know much about method I.
But I have met problem when I test method I in demos/obstacle. I got empty output file as shown in the figure.
I don't understand your problem. For this I would need the ini-file and the log-file. This one works (ini_corridor.xml.zip).
I don't know is this a normal result, since I don't know much about method I.
The method works well. Further information can be found in the manual.
@gjaeger
inifle_logfile_result.zip are the inifiles, logfiles and obtained result of demos/obstacle (corridor) and demos/bottleneck (bottleneck).
The result of demos/bottleneck looks correct, but the result of demos/obstacle is empty. So I don't know if the result of demos/obstacle is a correct result? I can get result with other four methods and I have attached the log file here.
log_Method_ABCD.txt
@xuqiancheng Thank you. It works well. I can get results of demos/obstacle and demos/bottleneck.
@gintama1227 You get data for Method I for _inicorridor, too? Which changes did you make?
I just follow #144 . For ini_corridor.xml, I use the ini.xml you gave me. @gjaeger
*JuPedSim - JPSreport**
Describe the bug No output of Method I. I try "jpsreport/demos/obstacle". But there is no output.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/34682823/63209716-245d1780-c117-11e9-89fc-772e6800cf53.png)
Additional context Add any other context about the problem here.
log.txt