Skip to content

Commit

Permalink
remove auto retry with ftp
Browse files Browse the repository at this point in the history
  • Loading branch information
selvaebi committed Nov 23, 2020
1 parent 48cdacd commit 5b18398
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<uk.ac.ebi.pride.jaxb-pride-jaxb.version>1.0.18</uk.ac.ebi.pride.jaxb-pride-jaxb.version>
<uk.ac.ebi.pride.utilities-pride-utilities.version>2.0.16</uk.ac.ebi.pride.utilities-pride-utilities.version>
<uk.ac.ebi.pride.toolsuite-inspector-swing-utils.version>2.0.3</uk.ac.ebi.pride.toolsuite-inspector-swing-utils.version>
<uk.ac.ebi.pride-px-submission-core.version>2.0.31</uk.ac.ebi.pride-px-submission-core.version>
<uk.ac.ebi.pride-px-submission-core.version>2.0.32</uk.ac.ebi.pride-px-submission-core.version>
<uk.ac.ebi.pride.px-libpxreport.version>1.1</uk.ac.ebi.pride.px-libpxreport.version>
<uk.ac.ebi.pride.toolsuite-ols-dialog.version>3.4.16</uk.ac.ebi.pride.toolsuite-ols-dialog.version>
<uk.ac.ebi.jmzidml-jmzidentml.version>1.2.6</uk.ac.ebi.jmzidml-jmzidentml.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,8 @@ private void handleErrorMessage(UploadErrorMessage message) {
appContext.getProperty("upload.aspera.error.message"),
appContext.getProperty("upload.detail.error.title"),
JOptionPane.CLOSED_OPTION, JOptionPane.ERROR_MESSAGE);
form.setUploadMessage("Aspera upload failed. Retrying with FTP...");
System.setProperty("px.upload.protocol", Constant.FTP);
getUploadDetail(appContext.getSubmissionRecord().getSubmission());
form.setUploadMessage("Aspera upload failed. Retry with FTP...");
System.exit(-1);
} else {
form.setUploadMessage(message.getMessage());
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/prop/gui.prop
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ resubmission.select.px.dataset.label = Choose your dataset
upload.detail.error.message = <html><b>Failed to get upload credentials.</b><br/>Please ensure that you have an Internet connection.<br/>Requires outbound traffic enabled on your firewall and network for port TCP 22.<br/>In which case you should contact your system administrator.</html>
upload.detail.error.title = Upload Error
upload.error.message = <html><b>There appears to be a problem with using FTP to upload your files.</b> <br/>Requires outbound traffic enabled on your firewall and network for port TCP 21.<br/>In which case you should contact your system administrator.</html>
upload.aspera.error.message = <html><b>There appears to be a problem with using Aspera to upload your files.</b> <br/>Requires outbound traffic enabled on your firewall and network for port TCP 22 & UDP 33001.<br/>In which case you should contact your system administrator.<br/>Retrying your submission with FTP now...</html>
upload.aspera.error.message = <html><b>There appears to be a problem with using Aspera to upload your files.</b> <br/>Requires outbound traffic enabled on your firewall and network for port TCP 22 & UDP 33001.<br/>In which case you should contact your system administrator.Or you can try with uploading with FTP by changing <b>px.upload.protocol=ftp</b> in config/config.properties file in px-submission-tool folder</html>
upload.error.title = Upload Error
upload.default.message = Submission in progress . . .
upload.stop.message = Submission has been paused
Expand All @@ -323,7 +323,7 @@ submission.complete.title = Your submission reference:
submission.complete.message = <html>Please note: your submission reference is <b>not<b/> an accession number.<br/>We aim to process all submissions within five working days, however at certain times, it might take longer.</html>
upload.method.title = Fast upload
upload.method.message = Would you like to use our fast upload service?
checksum.error.message=<html><b>Failed to calculate checksum for files<br/>In which case you should contact your system administrator.</html>
checksum.error.message=<html><b>Failed to calculate checksum for files<br/>Please check file paths are fine</html>
checksum.error.title=Checksum error
checksum.file.error.title=Checksum file error
checksum.file.error.message=<html><b>Failed to create checksum file<br/>Please check whether your current folder has write permissions</html>
Expand All @@ -342,7 +342,7 @@ submission.type.you.need.desc = Please ensure the following information ready
submission.type.full.submission.title = Complete Submission
submission.type.full.submission.content = <html><p>Use this option if you can provide your identification results in either mzIdentML or mzTab. It will then be possible to fully integrate the results in PRIDE and visualise them (e.g. as required by MCP).</p> <br/> <p>In addition to a PXD identifier, a permanent Digital Object Identifier (DOI) will be provided to uniquely identify the dataset.</p></html>
submission.type.partial.submission.title = Partial Submission
submission.type.partial.submission.content = <html><p>You should only choose this option if your search results cannot be converted to mzIdentML, mzTab or legacy PRIDE XML. Identifications will not be integrated in PRIDE. However, files will be made available to download (and may be visualised with other external tools).</p> <br/> <p> A PXD identifier will be provided to uniquely identify the dataset, but not a DOI.</p></html>
submission.type.partial.submission.content = <html><p>You should only choose this option if your search results cannot be converted to mzIdentML, mzTab. Identifications will not be integrated in PRIDE. However, files will be made available to download (and may be visualised with other external tools).</p> <br/> <p> A PXD identifier will be provided to uniquely identify the dataset, but not a DOI.</p></html>

prerequisite.result.file.title = Result Files
prerequisite.result.file.desc = In any supported format (+ spectra)
Expand Down Expand Up @@ -403,9 +403,9 @@ bulk.submission.load.summary.file.button.small.icon = icon/16x16/add_black.png
bulk.submission.loading.summary.file.small.icon = icon/16x16/loading.gif

# export summary file
export.summary.button.label = Export summary file
export.summary.button.label = Export submission.px
export.summary.button.tooltip = Export a summary of your submission into a file
export.summary.dialog.title = Export summary file
export.summary.dialog.title = Export submission.px
export.summary.default.summary.file.name = submission.px
export.summary.error.dialog.title = Warning
export.summary.error.dialog.message = Failed to export summary file, please make sure you have the access permission.
Expand Down

0 comments on commit 5b18398

Please sign in to comment.