Description:When attempting to assemble sql for databases, console produces errors, mailny "ambiguous redirect". Top of the console states "binary operator expected". Folder remains empty.
./db_assembler.sh 1
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/../../bash_shared/includes.sh: line 32: [: /y/!Current/ACore: binary operator expected
===== DB ASSEMBLER MENU =====
===== STARTING ASSEMBLY PROCESS =====
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 122: $OUTPUT_FOLDER$database$suffix_base".sql": ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/auth_base ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/base/db_auth/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 146: $updFile: ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/auth_update ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/updates/db_auth/ ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/updates/pending_db_auth/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 172: $custFile: ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/auth_custom ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/custom/db_auth/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 122: $OUTPUT_FOLDER$database$suffix_base".sql": ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/characters_base ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/base/db_characters ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 146: $updFile: ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/characters_update ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/updates/db_characters/ ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/updates/pending_db_characters/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 172: $custFile: ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/characters_custom ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/custom/db_characters/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 122: $OUTPUT_FOLDER$database$suffix_base".sql": ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/world_base ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/base/db_world/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 146: $updFile: ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/world_update ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/updates/db_world/ ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/updates/pending_db_world/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh: line 172: $custFile: ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/world_custom ...
Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/custom/db_world/
Current behaviour: Creates "output" folder with no content.
Expected behaviour: assemble Sql files to execute in db.
Steps to reproduce the problem:
Branch(es): master
AC hash/commit: d0af1c812bf4ea15204cad37b39ff27ff6bae339
Operating system: Win7
Modules: mod-random-enchants
Other Customizations: ---
Please update your git for windows. Most of the time are incompatibilities
with old bash versions. On new git bash it works
Il 18 Ott 2017 12:01, "dd667" notifications@github.com ha scritto:
Description:When attempting to assemble sql for databases, console
produces errors, mailny "ambiguous redirect". Top of the console states
"binary operator expected".
$ ./db_assembler.sh 1 /y/!Current/ACore compile/azerothcore/bin/db_
assembler/includes/../../bash_shared/includes.sh: line 32: [:
/y/!Current/ACore: binary operator expected ===== DB ASSEMBLER MENU =====
===== STARTING ASSEMBLY PROCESS ===== /y/!Current/ACore
compile/azerothcore/bin/db_assembler/includes/functions.sh: line 122:
$OUTPUT_FOLDER$database$suffix_base".sql": ambiguous redirect Generating
/y/!Current/ACore compile/azerothcore/bin/db_assembler/output/auth_base
... Searching on /y/!Current/ACore ... Searching on
compile/azerothcore/data/sql/base/db_auth/ ... /y/!Current/ACore
compile/azerothcore/bin/db_assembler/includes/functions.sh: line 146:
$updFile: ambiguous redirect Generating /y/!Current/ACore
compile/azerothcore/bin/db_assembler/output/auth_update ... Searching on
/y/!Current/ACore ... Searching on compile/azerothcore/data/sql/updates/db_auth/
... Searching on /y/!Current/ACore ... Searching on
compile/azerothcore/data/sql/updates/pending_db_auth/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh:
line 172: $custFile: ambiguous redirect Generating /y/!Current/ACore
compile/azerothcore/bin/db_assembler/output/auth_custom ... Searching on
/y/!Current/ACore ... Searching on compile/azerothcore/data/sql/custom/db_auth/
... /y/!Current/ACore compile/azerothcore/bin/db_
assembler/includes/functions.sh: line 122: $OUTPUT_FOLDER$database$suffix_base".sql":
ambiguous redirect Generating /y/!Current/ACore compile/azerothcore/bin/db_
assembler/output/characters_base ... Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/base/db_characters ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh:
line 146: $updFile: ambiguous redirect Generating /y/!Current/ACore
compile/azerothcore/bin/db_assembler/output/characters_update ...
Searching on /y/!Current/ACore ... Searching on
compile/azerothcore/data/sql/updates/db_characters/ ... Searching on
/y/!Current/ACore ... Searching on compile/azerothcore/data/sql/updates/pending_db_characters/
... /y/!Current/ACore compile/azerothcore/bin/db_
assembler/includes/functions.sh: line 172: $custFile: ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_
assembler/output/characters_custom ... Searching on /y/!Current/ACore ...
Searching on compile/azerothcore/data/sql/custom/db_characters/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh:
line 122: $OUTPUT_FOLDER$database$suffix_base".sql": ambiguous redirect
Generating /y/!Current/ACore compile/azerothcore/bin/db_assembler/output/world_base
... Searching on /y/!Current/ACore ... Searching on
compile/azerothcore/data/sql/base/db_world/ ... /y/!Current/ACore
compile/azerothcore/bin/db_assembler/includes/functions.sh: line 146:
$updFile: ambiguous redirect Generating /y/!Current/ACore
compile/azerothcore/bin/db_assembler/output/world_update ... Searching on
/y/!Current/ACore ... Searching on compile/azerothcore/data/sql/updates/db_world/
... Searching on /y/!Current/ACore ... Searching on
compile/azerothcore/data/sql/updates/pending_db_world/ ...
/y/!Current/ACore compile/azerothcore/bin/db_assembler/includes/functions.sh:
line 172: $custFile: ambiguous redirect Generating /y/!Current/ACore
compile/azerothcore/bin/db_assembler/output/world_custom ... Searching on
/y/!Current/ACore ... Searching on compile/azerothcore/data/sql/
custom/db_world/
Current behaviour: Creates "output" folder with no content.Expected behaviour: assemble Sql files to execute in db.
Steps to reproduce the problem:
- Do a fresh compile
- Copy config.sh as instructed
- Run db_assembled from bin/db_assembler
Branch(es): master
AC hash/commit: d0af1c8
https://github.com/azerothcore/azerothcore-wotlk/commit/d0af1c812bf4ea15204cad37b39ff27ff6bae339Operating system: Win7
Modules: mod-random-enchants
Other Customizations: ---
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/azerothcore/azerothcore-wotlk/issues/689, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAI-lMN2OIhnZrqfQzF49aCjEtZvAVtgks5stcxjgaJpZM4P9ddi
.
Updated, cloned again and same issue.
Edit:
Because db_assembler file for some reason keeps searching the path "Searching on /y/!Current/ACore"
I simply created folder with that name and copied all the content inside. Seems to work as the sql files got assembled.
which version of git for windows do you have?
2017-10-18 12:17 GMT+02:00 dd667 notifications@github.com:
Updated, cloned again and same issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/azerothcore/azerothcore-wotlk/issues/689#issuecomment-337539791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI-lMo3Axyo1ZntVCdXfkPg9gr7a9wjks5stdApgaJpZM4P9ddi
.
Anyway you have a strange path: /y/!Current/ could you try to change the
directory?
Il 18 Ott 2017 13:55, "Yehonal Yehtanér Lunthatir" <
[email protected]> ha scritto:
which version of git for windows do you have?
2017-10-18 12:17 GMT+02:00 dd667 notifications@github.com:
Updated, cloned again and same issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/azerothcore/azerothcore-wotlk/issues/689#issuecomment-337539791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI-lMo3Axyo1ZntVCdXfkPg9gr7a9wjks5stdApgaJpZM4P9ddi
.
Actually I had problem on Windows as well, my db_assembler just gave me an empty folder for output. Switched to Linux and worked flawless.
Git ver. 2.14.2. The path is confusing I know because it is a HDD located in my home network (server), not on my desktop. I played around with the files path, but it does not help untill you copy files into path it is searching for.
i'll check as soon as possible on windows too
make sure your patch does not contain special characters such as ". , !" or Spaces as this can result in error for it as well.
@Yehonal can we close this issue, did u fix with one of your previous commits?
It's not related, it's a bash issue. We have to test or someone should
confirm/unconfirm it
Il 20 Nov 2017 21:28, "Lee" notifications@github.com ha scritto:
@Yehonal https://github.com/yehonal can we close this issue, did u fix
with one of your previous commits?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/azerothcore/azerothcore-wotlk/issues/689#issuecomment-345821466,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI-lCkTGGzHxH7PdgVIcArdXLIbKyNOks5s4eD9gaJpZM4P9ddi
.
Tested on Windows 10 yesterday. Had no problems.
This should be closed, there's no problems with db_assembler actually.