-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Most current job status not reflected everywhere when results folder setting is empty #212
Comments
@rachanasinghg does the status in the tab ever get updated to "Completed"? |
Not till now. |
So it never changes to "Completed"? Has this always been the case for you or is it new behavior? |
Earlier I used to see the "Completed" status but not after the recent
update. Even after running the Job for 12 hours or more it still says
"Running".
This behaviour was not there in the previous release.
Thanks.
With Regards
Rachana Singh
Usability & Testing Engineer | DAISY Consortium
<https://daisy.org/activities/software/obi/>
…On Wed, Apr 3, 2024 at 11:29 PM Marisa DeMeglio ***@***.***> wrote:
@rachanasinghg <https://github.com/rachanasinghg> does the status in the
tab ever get updated to "Completed"?
Not till now.
So it never changes to "Completed"?
Has this always been the case for you or is it new behavior?
—
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRSLVDDZGTNIWDSWEFXD7DY3Q7RPAVCNFSM6AAAAABFVUXGKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZVGI2TKOBVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok thanks for the clarification! Can you confirm the version that you're using and the version that you were using when it was working? |
Hi Marisa,
Currently I am using the following version.
App version: 1.2.7-RC1,
Engine version: 1.14.16,
Engine is running on 127.0.0.1:49152/ws
Sorry, I am unable to find the previous installer which used to work for
me. Let me check again with different installers.
Thanks.
With Regards
Rachana Singh
Usability & Testing Engineer | DAISY Consortium
<https://daisy.org/activities/software/obi/>
…On Thu, Apr 4, 2024 at 9:24 PM Marisa DeMeglio ***@***.***> wrote:
Ok thanks for the clarification! Can you confirm the version that you're
using and the version that you were using when it was working?
—
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRSLVC356WFLYLTJQMUCBDY3VZVDAVCNFSM6AAAAABFVUXGKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZXGU4TAOBQGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Did you have any luck with older installers? Also if these results were with 1.2.7-RC1, maybe we could check with 1.2.7. Can you let me know if that behaves the same? |
Hi Marisa,
I tried both the installers 1.2.7 -RC3 and 1.2.7, but none of them shows
jobs as "Completed", either its "Running" or "Error".
With Regards
Rachana Singh
Usability & Testing Engineer | DAISY Consortium
<https://daisy.org/activities/software/obi/>
…On Tue, Apr 16, 2024 at 10:30 PM Marisa DeMeglio ***@***.***> wrote:
Did you have any luck with older installers? Also if these results were
with 1.2.7-RC1, maybe we could check with 1.2.7
<https://github.com/daisy/pipeline-ui/releases/tag/1.2.7>. Can you let me
know if that behaves the same?
—
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRSLVGEBYYER5U7TVMPUR3Y5VKJVAVCNFSM6AAAAABFVUXGKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGU2DEMBWGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok thanks for testing the other versions, we will look into it. @NPavie do you notice this issue on Windows? |
I was not able to reproduce this with the upcoming 1.3.0 release after briefly testing it on Windows 11. |
@rachanasinghg Can you check with the new release? And if it's still an issue, could you email your log file found at %APPDATA%\pipeline-ui\logs\main.log ? |
Hi Marisa,
I checked the new release pipeline installer and sad to say it is still an
issue.
I am attaching the log file for your reference.
Thank you.
With Regards
Rachana Singh
Usability & Testing Engineer | DAISY Consortium
<https://daisy.org/activities/software/obi/>
…On Tue, Apr 23, 2024 at 9:19 PM Marisa DeMeglio ***@***.***> wrote:
@rachanasinghg <https://github.com/rachanasinghg> Can you check with the new
release <https://github.com/daisy/pipeline-ui/releases/tag/1.3.0>? And if
it's still an issue, could you email your log file found at
%APPDATA%\pipeline-ui\logs\main.log ?
—
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRSLVETSH5DOW4NBF5SBQ3Y6Z7HDAVCNFSM6AAAAABFVUXGKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSG44DOMJXGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @rachanasinghg, sorry about that, we will continue to investigate. Github did not forwarded the log file along your email for the team to look it up. I notice on the screenshot provided that it was all related to DAISY 2.02 input files, does it also act similarly on other scripts with different input format (like dtbook-based script) ? |
Hello @NPavie , I have already sent the mail to daisy-pipeline@mail.daisy.org , with 1 Zip file and 2 log files. Zip file has "Alice in wonderland" book which is one of the books throwing errors in conversion. There are 2 log files, file named as old_main contain the Daisy 2 conversion errors, which i had sent through my previous email. The other file named as main_new contains the DAISY 3 conversion errors. If you are still facing an issue in reading the file, please do let me know. |
@rachanasinghg sorry to bother you again, it seems the mail with the attachment did not passed trought the mailing list Can you try to send it to me to pavie.nicolas@gmail.com ? |
@nicolas Pavie ***@***.***> I am sorry for the
inconvenience caused by the failure of my previous email to reach you.
I have sent 2 separate emails to you, one with the zip file and another
with log files.
Please check if it reaches you with the attached files, Thanks.
With Regards
Rachana Singh
Usability & Testing Engineer | DAISY Consortium
<https://daisy.org/activities/software/obi/>
…On Wed, Apr 24, 2024 at 8:47 PM Nicolas Pavie ***@***.***> wrote:
@rachanasinghg <https://github.com/rachanasinghg> sorry to bother you
again, it seems the mail with the attachment did not passed trought the
mailing list
Can you try to send it to me to ***@***.*** ?
—
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRSLVAPQI2ABOPQT5TH3CDY67EHJAVCNFSM6AAAAABFVUXGKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGE4TIMZWHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@rachanasinghg can you try something? Run a job, wait a bit until when you would expect it to say "completed", and while it still says "running" instead, open this page in a browser: http://localhost:49152/ws/jobs and paste the output here. It should be an XML document. It might list nothing or it might list one or more jobs. It can tell us what the pipeline engine is reporting directly, and that might be informative. |
@rachanasinghg from the log I might have an idea of what is going on but just to confirm, can you do the following actions in the application ?
|
Hello Marisa,
Pasting the o/p as you requested. I am getting the Running status for last
3 hours.
This XML file does not appear to have any style information associated with
it. The document tree is shown below.
<jobs xmlns="http://www.daisy.org/ns/pipeline/data" href="
http://localhost:49152/ws/jobs">
<job href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d" id="
1829c2c9-310a-4030-9bea-fd314985077d" status="SUCCESS">
<nicename>D2-D3_Charles_Dickens</nicename>
<log href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/log"/>
<results href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result"
mime-type="application/zip">
<result desc="The resulting DAISY 3." from="port" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result
" mime-type="application/zip" name="result" nicename="DAISY 3">
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/content.xml
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/content.xml
" size="522"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/dtbook.2005.basic.css
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/dtbook.2005.basic.css
" size="12041"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/master.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/master.smil
" size="385"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/navigation.ncx
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/navigation.ncx
" size="11583"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/package.opf
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/package.opf
" size="5570"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0001.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0001.mp3
" size="7668"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0001.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0001.smil
" size="856"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0002.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0002.mp3
" size="54540"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0002.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0002.smil
" size="2005"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0003.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0003.mp3
" size="7274880"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0003.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0003.smil
" size="43582"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0004.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0004.mp3
" size="1850256"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0004.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0004.smil
" size="13980"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0005.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0005.mp3
" size="4270860"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0005.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0005.smil
" size="37155"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0006.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0006.mp3
" size="1703808"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0006.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0006.smil
" size="13448"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0007.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0007.mp3
" size="4084668"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0007.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0007.smil
" size="35176"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0008.mp3
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0008.mp3
" size="2278260"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/page0008.smil
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/page0008.smil
" size="17620"/>
<result file="
file:/C:/Users/racha/AppData/Roaming/pipeline-ui/jobs/1829c2c9-310a-4030-9bea-fd314985077d/output/result/text.res
" href="
http://localhost:49152/ws/jobs/1829c2c9-310a-4030-9bea-fd314985077d/result/port/result/idx/result/text.res
" size="5016"/>
</result>
</results>
</job>
</jobs>
Thanks.
With Regards
Rachana Singh
Usability & Testing Engineer | DAISY Consortium
<https://daisy.org/activities/software/obi/>
…On Wed, Apr 24, 2024 at 10:52 PM Marisa DeMeglio ***@***.***> wrote:
@rachanasinghg <https://github.com/rachanasinghg> can you try something?
Run a job, wait a bit until when you would expect it to say "completed",
and while it still says "running" instead, open this page in a browser:
http://localhost:49152/ws/jobs
and paste the output here. It should be an XML document. It might list
nothing or it might list one or more jobs. It can tell us what the pipeline
engine is reporting directly, and that might be informative.
—
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRSLVGT4E37J2XPYQJFKCLY67S4ZAVCNFSM6AAAAABFVUXGKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGQ3DCOJQHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello Nicolas,
Thank you so much it worked, finally I can see the Complete status.
Regarding your queries , here are my answers under<RS>.
- Can you open the application settings, and give us back the value of
the "Results folder" setting in the general section ?<RS> Results folder
text box was empty, so no value.
- Can you select a different result folder using the browse button,
close the settings, and then create and launch a new job ?<RS> Through
the Browse button I selected a folder path and ran a script. Ultimately the
running status was changed to Completed /Error. I am attaching the
screenshot.
With Regards
Rachana Singh
Usability & Testing Engineer | DAISY Consortium
<https://daisy.org/activities/software/obi/>
…On Thu, Apr 25, 2024 at 1:04 PM Nicolas Pavie ***@***.***> wrote:
@rachanasinghg <https://github.com/rachanasinghg> from the log I might
have an idea of what is going on but just to confirm, can you do the
following actions in the application ?
- Can you open the application settings, and give us back the value of
the "Results folder" setting in the general section ?
- Can you select a different result folder using the browse button,
close the settings, and then create and launch a new job ?
—
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFRSLVH35LMTRPY5DSUITNTY7CWX3AVCNFSM6AAAAABFVUXGKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGU2TKOBUGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok i was able to reproduce the issue i think (it came from the empty value in the Results folder field) I'll update the issue name |
Added a URL test in settings middleware to avoid empty or invalid download folder on loading the settings file. Also - Added some additionnal logging to report errors in the log on downloading results - Handle a possible case of download results called on a job without results - Avoid to delete the engine job if it has not been downloaded
I am having issues with this, if I go under settings and clear the Results folder field, and run a job, it gets stuck mid-process. What's actually happening is that as soon as the job status is SUCCESS and it attempts to download the results, it says
this doesn't happen when the Results folder is set.
|
this however does not stop users from leaving it empty; at least they get a warning though.
The "Run" and "Re-run" buttons are disabled if there is not a results folder set, and a warning is displayed.
I don't know internally what would have to change in order to run jobs with no results folder specified, but it doesn't seem like desirable behavior so I disabled the ability to run jobs if there is not a results folder set in settings. |
Depending on settings downloadFolder field being empty or not
Feedback received from @rachanasinghg
"
Currently I find the status of pipeline jobs a bit confusing, there is somewhat a difference in the Job title tab and result window.
I have attached a few screenshots for your reference.
For example in screenshot DP_Job1 , the result window pane shows Validation completed but the Job tab and status window shows status "Running".
Same goes for DP_Job2, DP_Job3 and DP_Job4 screenshot. The last text/sentence of the result pane does not indicate that Job is completed, or the job title tab should show "Completed" instead of "Running".
We need to check the result folder whether the file is complete or not. For files which have Error , the title also shows the exact thing so it's good but the other files do not show the same.
"
The text was updated successfully, but these errors were encountered: