Error while commiting

Game development with Board Game Arena Studio
nolatall
Posts: 13
Joined: 28 May 2015, 21:07

Error while commiting

Postby nolatall » 04 November 2018, 17:08

Hi,

I have the message below when commiting.
I don't have more than 20 images files and my misc folder does not do more than 1Mo anymore after I removed some images.
What can I do please ?

Code: Select all

Wrote /tmp/monsterlandsnolatall-commitlog.txt


$ /var/tournoi/release/release-current/scripts/studio/retrievestudiogame.sh monsterlandsnolatall 1.studio.boardgamearena.com 2>&1


HAL says: retrieving monsterlandsnolatall from 1.studio.boardgamearena.com...
receiving incremental file list
LICENCE_BGA
img/
misc/

sent 68 bytes received 1,476 bytes 3,088.00 bytes/sec
total size is 7,407,856 speedup is 4,797.83
HAL says: marking for deletion images removed from the source...
svn: E195006: Use --force to override this restriction (local modifications may be lost)
svn: E195006: '/var/tournoi/games/monsterlandsnolatall/img/magic_dice.png' has local modifications -- commit or revert them first
HAL says: done.

$ /var/tournoi/release/release-current/scripts/studio/commitgame.sh monsterlandsnolatall no 2>&1


HAL says: committing monsterlandsnolatall...
HAL says: just a regular commit, Dave.
Updating '/var/tournoi/games/monsterlandsnolatall':
At revision 30349.
********* WARNING **********
** HAL says: more than 20 image files. Did you think about using CSS sprites, Dave?
********* /WARNING *********
svn: warning: W155010: '/var/tournoi/games/monsterlandsnolatall/img/strips' not found
svn: E200009: Could not add all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation
********** ERROR ***********
** HAL says: more than 1 Mo in misc folder. Aborting. Please check your misc folder, Dave.
********** /ERROR **********

$ /var/tournoi/release/release-current/scripts/studio/overwritestudiogame.sh monsterlandsnolatall 1.studio.boardgamearena.com 2>&1


HAL says: overwriting monsterlandsnolatall on 1.studio.boardgamearena.com...
HAL says: done.

User avatar
Een
Posts: 2008
Joined: 16 June 2010, 19:52

Re: Error while commiting

Postby Een » 05 November 2018, 09:57

Hi,

I cleaned up a little and fixed the svn troubles :)

But you still have 1.3 Mo of files in your misc folder. Since it's committed to source control, it should not be too big. Especially, it should not contain a copy of other files or images. You can create another directory at your sftp root if you want a temporary folder not commited to source control.

Also, to be properly committed, all non-standard extra php/css/js files should be placed in the 'modules' directory.

Then it should be all good for commit!

nolatall
Posts: 13
Joined: 28 May 2015, 21:07

Re: Error while commiting

Postby nolatall » 06 November 2018, 00:50

Hi,

it seems better but I have still 2 errors about the 2 non-regular files that I created. See below.
Following your advice, I have moved the php one in 'modules' directory and I have merged the css one with the regular css file like.

I also got this error when starting the game or when I hit F5 but everything seems to work fine however.

Code: Select all

Javascript error:
Script error.
Script:
Url: http://en.1.studio.boardgamearena.com/monsterlandsnolatall?table=52859
U=2305386
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
The requested page was not found


and this in the console of the browser :

Code: Select all

ly_studio.js:15 Script error.
onScriptError @ ly_studio.js:15
window.onerror @ monsterlandsnolatall?table=52859:2035
error (async)
(anonymous) @ monsterlandsnolatall?table=52859:2033
_cc @ dojo.js:15
_37 @ dojo.js:15
(anonymous) @ dojo.js:15
_38 @ dojo.js:15
_80 @ dojo.js:15
_ee @ dojo.js:15
_18e @ dojo.js:15
_190 @ dojo.js:15
ly_studio.js:15 url=
onScriptError @ ly_studio.js:15
window.onerror @ monsterlandsnolatall?table=52859:2035
error (async)
(anonymous) @ monsterlandsnolatall?table=52859:2033
_cc @ dojo.js:15
_37 @ dojo.js:15
(anonymous) @ dojo.js:15
_38 @ dojo.js:15
_80 @ dojo.js:15
_ee @ dojo.js:15
_18e @ dojo.js:15
_190 @ dojo.js:15
ly_studio.js:15 line=0
onScriptError @ ly_studio.js:15
window.onerror @ monsterlandsnolatall?table=52859:2035
error (async)
(anonymous) @ monsterlandsnolatall?table=52859:2033
_cc @ dojo.js:15
_37 @ dojo.js:15
(anonymous) @ dojo.js:15
_38 @ dojo.js:15
_80 @ dojo.js:15
_ee @ dojo.js:15
_18e @ dojo.js:15
_190 @ dojo.js:15
all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:120 Uncaught TypeError: this.publishFBReady is not a function
    at window.fbAsyncInit (monsterlandsnolatall?table=52859:2353)
    at a.__wrapper.a.__wrapper (all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:120)
    at all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:168
window.fbAsyncInit @ monsterlandsnolatall?table=52859:2353
a.__wrapper.a.__wrapper @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:120
(anonymous) @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:168
setTimeout (async)
a.__wrapper.a.__wrapper @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:120
(anonymous) @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:168
setTimeout (async)
_sdkBound @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:22
(anonymous) @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:168
A @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:57
y @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:57
A @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:57
y @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:57
H @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:57
$.root @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:57
a.__d @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:57
(anonymous) @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:169
(anonymous) @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:198
(anonymous) @ all.js?hash=004ed7fc6f98ebd80beda359ed9105e6&ua=modern_es6:198
dojo.js:15 GET http://en.1.studio.boardgamearena.com/web/index.php 404 (Not Found)


Code: Select all

Wrote /tmp/monsterlandsnolatall-commitlog.txt :

$ /var/tournoi/release/release-current/scripts/studio/retrievestudiogame.sh monsterlandsnolatall 1.studio.boardgamearena.com 2>&1


HAL says: retrieving monsterlandsnolatall from 1.studio.boardgamearena.com...
receiving incremental file list
LICENCE_BGA

sent 58 bytes received 1,750 bytes 1,205.33 bytes/sec
total size is 7,935,538 speedup is 4,389.12
HAL says: marking for deletion images removed from the source...
HAL says: done.

$ /var/tournoi/release/release-current/scripts/studio/commitgame.sh monsterlandsnolatall no 2>&1


HAL says: committing monsterlandsnolatall...
HAL says: just a regular commit, Dave.
Updating '/var/tournoi/games/monsterlandsnolatall':
At revision 30366.
svn: warning: W155010: The node '/var/tournoi/games/monsterlandsnolatall/monsterlandsnolatall.game.GameDAO.php' was not found.
svn: E200009: Could not set changelists on all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation
svn: warning: W155010: The node '/var/tournoi/games/monsterlandsnolatall/monsterlandsnolatall.images.css' was not found.
svn: E200009: Could not set changelists on all targets because some targets don't exist
svn: E200009: Illegal target for the requested operation
HAL says: done.

$ /var/tournoi/release/release-current/scripts/studio/overwritestudiogame.sh monsterlandsnolatall 1.studio.boardgamearena.com 2>&1


HAL says: overwriting monsterlandsnolatall on 1.studio.boardgamearena.com...
HAL says: done.


Thanks for your help.

nolatall
Posts: 13
Joined: 28 May 2015, 21:07

Re: Error while commiting

Postby nolatall » 06 November 2018, 01:09

I don't understand.

Some files keep reappearing in the misc folder.

The correct files list is :

Code: Select all

[06/11/2018 01:04.12]  /drives/d/Users/Emmanuel/Documents/BGAStudio/monsterlandsnolatall/misc
[Emmanuel.LP-DE-NOLATALL] ➤ ll
total 218
-rwxrwx---    1 Emmanuel UsersGrp       111 Oct  8 02:03 DONT-FORGET.txt
-rwxrwx---    1 Emmanuel UsersGrp       298 Sep 27 23:36 README
-rw-rw-r--    1 Emmanuel UsersGrp       581 Nov  5 23:35 TODO.txt
-rwxrwxr--    1 Emmanuel UsersGrp       884 Oct 13 21:32 create-css.sh
-rwxrwx---    1 Emmanuel UsersGrp      3243 Oct 14 01:03 create-images-sql.sh
-rwxrwx---    1 Emmanuel UsersGrp      9799 Oct 16 23:57 create-materials-sql.sh
-rwxrwx---    1 Emmanuel UsersGrp      5274 Oct 14 00:44 create-positions-sql.sh
-rw-rw-r--    1 Emmanuel UsersGrp     98603 Nov  6 00:22 monsterlandsnolatall.images.css
-rwxrwx---    1 Emmanuel UsersGrp     16724 Oct 22 22:35 monsterlandsnolatall.images.csv
-rw-rw-r--    1 Emmanuel UsersGrp     57093 Oct 22 22:37 monsterlandsnolatall.images.data.sql
-rw-rw-r--    1 Emmanuel UsersGrp       782 Oct 22 22:36 monsterlandsnolatall.images.table.sql
-rwxrwx---    1 Emmanuel UsersGrp     33315 Oct 30 01:51 monsterlandsnolatall.materials.csv
-rw-rw-r--    1 Emmanuel UsersGrp     99197 Oct 30 01:49 monsterlandsnolatall.materials.data.sql
-rw-rw-r--    1 Emmanuel UsersGrp      1584 Oct 30 01:48 monsterlandsnolatall.materials.table.sql
-rwxrwx---    1 Emmanuel UsersGrp     18796 Oct 20 22:59 monsterlandsnolatall.positions.csv
-rw-rw-r--    1 Emmanuel UsersGrp     55597 Oct 20 23:00 monsterlandsnolatall.positions.data.sql
-rw-rw-r--    1 Emmanuel UsersGrp      1130 Oct 20 22:59 monsterlandsnolatall.positions.table.sql
-rwxrwx---    1 Emmanuel UsersGrp      1404 Oct 20 23:09 usefullSQLQueries.sql
                                                                                                                                                                                                               ✔
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
[06/11/2018 01:04.13]  /drives/d/Users/Emmanuel/Documents/BGAStudio/monsterlandsnolatall/misc
[Emmanuel.LP-DE-NOLATALL] ➤


I try to delete the others files in winscp in the remote directory but they reappear after a while.

User avatar
Een
Posts: 2008
Joined: 16 June 2010, 19:52

Re: Error while commiting

Postby Een » 06 November 2018, 10:35

Yes, there is a two way sync with the server linked to the source control repository, so adding then deleting can lead into trouble :D

I did some extra cleanup and deleted from the source control the extra files so they don't come back. Hope it's good now!

nolatall
Posts: 13
Joined: 28 May 2015, 21:07

Re: Error while commiting

Postby nolatall » 06 November 2018, 20:20

Hi Een,

It seems ok now.
The commit does not report any error now in the log.

There is still a file ".sql" in the misc directory I can't get rid off but I don't know if it is normal or not.

Thanks for your help.


Return to “Developers”

Who is online

Users browsing this forum: No registered users and 7 guests