docxToJats icon indicating copy to clipboard operation
docxToJats copied to clipboard

Plugin does not show the conversion option in any workflow tab

Open asifdev124 opened this issue 3 years ago • 26 comments

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 avatar Dec 19 '21 06:12 asifdev124

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

asifdev124 avatar Dec 19 '21 07:12 asifdev124

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

Vitaliy-1 avatar Dec 20 '21 08:12 Vitaliy-1

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 avatar Dec 20 '21 08:12 asifdev124

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: @.***>

asifdev124 avatar Dec 20 '21 09:12 asifdev124

Latest meaning OJS 3.3.0-8 and plugin 1.1.1?

Vitaliy-1 avatar Dec 20 '21 09:12 Vitaliy-1

@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 avatar Dec 20 '21 09:12 asifdev124

@Vitaliy-1 I have downloaded yesterday..

asifdev124 avatar Dec 20 '21 09:12 asifdev124

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

Vitaliy-1 avatar Dec 20 '21 09:12 Vitaliy-1

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

asifdev124 avatar Dec 20 '21 09:12 asifdev124

@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

asifdev124 avatar Dec 20 '21 09:12 asifdev124

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?

Vitaliy-1 avatar Dec 20 '21 09:12 Vitaliy-1

@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 avatar Dec 20 '21 09:12 asifdev124

@Vitaliy-1 just limited skills

asifdev124 avatar Dec 20 '21 09:12 asifdev124

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.

Vitaliy-1 avatar Dec 20 '21 09:12 Vitaliy-1

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: @.***>

asifdev124 avatar Dec 20 '21 09:12 asifdev124

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?

Vitaliy-1 avatar Dec 20 '21 09:12 Vitaliy-1

@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 avatar Dec 20 '21 12:12 asifdev124

@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

asifdev124 avatar Dec 20 '21 12:12 asifdev124

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)?

Vitaliy-1 avatar Dec 20 '21 15:12 Vitaliy-1

@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?

asifdev124 avatar Dec 24 '21 09:12 asifdev124

@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 avatar Dec 24 '21 12:12 Vitaliy-1

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?

Vitaliy-1 avatar Dec 24 '21 13:12 Vitaliy-1

@Vitaliy-1 thanks, all is good.

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

asifdev124 avatar Dec 28 '21 07:12 asifdev124

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

asifdev124 avatar Dec 28 '21 07:12 asifdev124

@asifdev124, Check PHP error log for details

Vitaliy-1 avatar Dec 29 '21 08:12 Vitaliy-1

@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

asifdev124 avatar Dec 29 '21 18:12 asifdev124