Closed misolietavec closed 7 years ago
Hi there,
Please try the following page that has a zip file available:
https://github.com/davetcc/hugojoomla/releases
Let me know if that doesnt work for you.
Many thanks, Dave
On Sat, 24 Dec 2016 at 17:42, misolietavec notifications@github.com wrote:
You write in documentation:
"You can use the packaged version that is available from the releases page. Building from source is not required."
There is no releases page. I do not like to install the big maven suite only to try hugojoomla...
Michael
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davetcc/hugojoomla/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ALoWie3K4AVusYqxq1mTxACbylTP-GX0ks5rLVmEgaJpZM4LVRHY .
Hi, Dave,
Dňa 24.12.2016 19:54 Dave Cherry napísal(a):
Hi there,
Please try the following page that has a zip file available:
https://github.com/davetcc/hugojoomla/releases
Let me know if that doesnt work for you.
I think, somewhere in documentation shoud be mentioned the link to this page. I downloaded, unzipped, runned. Got an exception:
2016-12-24 21:12:36 ERROR JoomlaHugoConverter:120 - Did not complete
conversion
org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad
SQL grammar [select C.id as id, U.username as username, C.created as
created, C.introtext as intro, C.fulltext
as full, D.path as
path, C.title as title, C.alias as alias,
C.images as images, c.state as state, D.alias as catAlias
from jos_content C, jos_users U, jos_categories D
where C.created_by = U.id
and D.id = C.catid
and D.path <> 'uncategorised'
]; nested exception is
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
column 'c.state' in 'field list'
=============================== Maybe, you forgot that in UNIX-like systems the column names are case sensitive? (C.state instead of c.state)
I am using debian stable/testing, and output of "java -version" is
openjdk version "1.8.0_111"
Michal
Hi Michael
Agreed, I've only ever run the tool on Win10. I'll run it in the bash environment and try it.
I'll see if I can get an hour later today / tomorrow after the festivities to try it!
Thanks Dave
On 24 Dec 2016 20:28, "misolietavec" notifications@github.com wrote:
Hi, Dave,
Dňa 24.12.2016 19:54 Dave Cherry napísal(a):
Hi there,
Please try the following page that has a zip file available:
https://github.com/davetcc/hugojoomla/releases
Let me know if that doesnt work for you.
I think, somewhere in documentation shoud be mentioned the link to this page. I downloaded, unzipped, runned. Got an exception:
2016-12-24 21:12:36 ERROR JoomlaHugoConverter:120 - Did not complete conversion org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [select C.id as id, U.username as username, C.created as created, C.introtext as intro, C.
fulltext
as full, D.path as path, C.title as title, C.alias as alias, C.images as images, c.state as state, D.alias as catAlias from jos_content C, jos_users U, jos_categories D where C.created_by = U.id and D.id = C.catid and D.path <> 'uncategorised' ]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'c.state' in 'field list'=============================== Maybe, you forgot that in UNIX-like systems the column names are case sensitive? (C.state instead of c.state)
I am using debian stable/testing, and output of "java -version" is
openjdk version "1.8.0_111"
Michal
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davetcc/hugojoomla/issues/7#issuecomment-269099140, or mute the thread https://github.com/notifications/unsubscribe-auth/ALoWiWYKD-LalS5ijGKwVqLEEf0ntQdmks5rLYCCgaJpZM4LVRHY .
Hi, Dave, I can confirm that after making change in file JoomlaHugoConverter.java, line 81:
c.state as state change to: C.state as state
the utility is working. Please make this change in sources and recompile the binary release.
Michal
Many thanks and apologies for not getting around to it sooner. I'll be able to patch it in tomorrow when I get back to the office.
Glad it worked for you BTW.
On 27 Dec 2016 09:45, "misolietavec" notifications@github.com wrote:
Hi, Dave, I can confirm that after making change in file JoomlaHugoConverter.java, line 81:
c.state as state change to: C.state as state
the utility is working. Please make this change in sources and recompile the binary release.
Michal
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/davetcc/hugojoomla/issues/7#issuecomment-269302457, or mute the thread https://github.com/notifications/unsubscribe-auth/ALoWiQXsnjzpaU6fmKN0F0eIQIf8zd9Nks5rMN5UgaJpZM4LVRHY .
Thanks again for the patch, it is applied on master and a new release version built. If you came across any significant issues during conversion let me know and I can try and make the library more general purpose.
You write in documentation:
"You can use the packaged version that is available from the releases page. Building from source is not required."
There is no releases page. I do not like to install the big maven suite only to try hugojoomla...
Michal