Vitaliy-1 / docxToJats

DOCX to JATS XML Converter
GNU General Public License v3.0
20 stars 7 forks source link

Plugin does not show the conversion option in any workflow tab #27

Open asifdev124 opened 2 years ago

asifdev124 commented 2 years ago

I have installed and enabled the plugin, uploaded the google docx file, gone through the demo procedure but I am unable to see the xml conversion tab as shown on github page?

asifdev124 commented 2 years ago

Hi, I am @asifdev124 I have installed and enabled the plugin, uploaded the google docx file, gone through the demo procedure but I am unable to see the xml conversion tab as shown on github page? what I am missing there.. I have reinstalled the plugin, enabled it but no success

Vitaliy-1 commented 2 years ago

Hi @asifdev124, What OJS version and DOCX Converter plugin version are working with?

asifdev124 commented 2 years ago

Both are latest

On Mon, 20 Dec 2021, 13:58 Vitaliy, @.***> wrote:

Hi @asifdev124 https://github.com/asifdev124, What OJS version and DOCX Converter plugin version are working with?

— Reply to this email directly, view it on GitHub https://github.com/Vitaliy-1/docxToJats/issues/27#issuecomment-997724222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW7HH37QOFTD5UGCOJGPKCLUR3V3ZANCNFSM5KLRNUAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

asifdev124 commented 2 years ago

I can give you access to the demo site

On Mon, 20 Dec 2021, 13:59 Muhammad Asif, @.***> wrote:

Both are latest

On Mon, 20 Dec 2021, 13:58 Vitaliy, @.***> wrote:

Hi @asifdev124 https://github.com/asifdev124, What OJS version and DOCX Converter plugin version are working with?

— Reply to this email directly, view it on GitHub https://github.com/Vitaliy-1/docxToJats/issues/27#issuecomment-997724222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW7HH37QOFTD5UGCOJGPKCLUR3V3ZANCNFSM5KLRNUAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

Vitaliy-1 commented 2 years ago

Latest meaning OJS 3.3.0-8 and plugin 1.1.1?

asifdev124 commented 2 years ago

@Vitaliy-1 I am using latest versions.. I can give you access to the site if you wish to look into.. let me know how can I send you securely.

asifdev124 commented 2 years ago

@Vitaliy-1 I have downloaded yesterday..

Vitaliy-1 commented 2 years ago

What is the MIME type of file you are trying to convert? It's recorded in the files table, mimetype column.

asifdev124 commented 2 years ago

@Vitaliy-1 I have a word document to convert to xml

asifdev124 commented 2 years ago

@Vitaliy-1 can you send me .tar file and I can reupload to test out?, it actually even does not show the option to convert

Vitaliy-1 commented 2 years ago

I've encountered situations when the system incorrectly identified MIME type of MS Word files. Can you check how it is recorded in your database?

asifdev124 commented 2 years ago

@Vitaliy-1 I can't,. I simply created a google docx file and uploaded to test the conversion, but its not showing the convert option...

asifdev124 commented 2 years ago

@Vitaliy-1 just limited skills

Vitaliy-1 commented 2 years ago

During OJS installation you have created a database, in which all OJS data is stored. You or the person responsible for it can access the database and try to debug the problem by looking at the table I've pointed above.

asifdev124 commented 2 years ago

Sorry but no table you have mentioned

On Mon, 20 Dec 2021, 14:20 Vitaliy, @.***> wrote:

During OJS installation you have created a database, in which all OJS data is stored. You or the person responsible for it can access the database and try to debug the problem by looking at the table I've pointed above.

— Reply to this email directly, view it on GitHub https://github.com/Vitaliy-1/docxToJats/issues/27#issuecomment-997742408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW7HH3YXI6NXRZ6BZHCRELDUR3YNHANCNFSM5KLRNUAA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

Vitaliy-1 commented 2 years ago

Hmm, files table was introduced in OJS 3.3.0. Are you sure that it's the latest version? In older versions, this information was recorded in the submission_files table in file_type column`. Is it your case?

asifdev124 commented 2 years ago

@Vitaliy-1 I am absolutely using latest version of ojs and yours available on git.. screenshot attached. ![mime](https://user-images.githubusercontent.com/96367599/146769157-1e16c571-0490-47a3-b413-16635b59cd7b.png)

asifdev124 commented 2 years ago

@Vitaliy-1 screenshot attached. if you wanted to take a look, I can create ftp access/ojs access for you.. let me know how can I send you privately, thanks

Vitaliy-1 commented 2 years ago

Unfortunately, I cannot provide that level of support.

The mimetype looks OK to me (at least the part that isn't truncated), But I'm not able to reproduce the problem that you describe with the plugin on the fresh and upgraded OJS 3.3.0-8 instances. Can you describe exactly the steps necessary to reproduce the problem (starting from OJS installation)?

asifdev124 commented 2 years ago

@Vitaliy-1 I really doing standard, fresh hosting acccount, latest ojs version, latest your plugin version.. created docx file using googledoc, uploaded as an author, passed the stages and trying to see the option which actually convert the document into xml... odd?

Vitaliy-1 commented 2 years ago

@asifdev124,

So it's not MS Word file but Google Docs file exported as DOCX. It may have a different or changed internal signature and the plugin can't identify DOCX archive structure. I'll take a look.

Vitaliy-1 commented 2 years ago

Yes, my first assumption seems to be correct, it's problem with MIME type detection. @asifdev124, can you apply this fix to test if it works: https://github.com/Vitaliy-1/docxConverter/commit/f88d160c52fd6d2d3eeae88cd073d39400b0a628?

asifdev124 commented 2 years ago

@Vitaliy-1 thanks, all is good.

do have any plugin to convert either pdf or xml or docx to html?

asifdev124 commented 2 years ago

@Vitaliy-1 odd but xml file does not come up.. just loading/spinning the page?

Vitaliy-1 commented 2 years ago

@asifdev124, Check PHP error log for details

asifdev124 commented 2 years ago

@Vitaliy-1 It looks like lens plugin has issue, do you recommend any other? I have gone through the issues and most of the users facing same issue.

Also do you have any plugin which convert docx/pdf to html for html galley?

Thank you