CommandBox 3.0.1

30 views
Skip to first unread message

gillBates

unread,
May 25, 2016, 8:19:58 PM5/25/16
to ColdBox Platform
Hi all,

I hope this is the right place to post this but I could use some help with commandbox.
Basically I've just installed it and am trying to install testbox as per the instructions here: https://www.ortussolutions.com/#installation

I'm getting the following errors on both Linux Mint 17.3 and Windows 8.1

CommandBox:test> box install testbox
ERROR

Command "box install testbox" cannot be resolved.
Please type "help" for assistance.

CommandBox:test> box install "testbox"
ERROR

Command "box install "testbox"" cannot be resolved.
Please type "help" for assistance.

CommandBox:test> forgebox install testbox
ERROR

Command "forgebox install testbox" cannot be resolved.
Please type "help forgebox" for assistance.

What am I doing wrong?

Thanks in advance.
J

AJ Mercer

unread,
May 25, 2016, 8:40:44 PM5/25/16
to col...@googlegroups.com
can the machine you are on connect to the internet?


Doing a search does not return any results
CommandBox:webonix.net> version
CommandBox 3.1.0+00335
CommandBox:webonix.net> forgebox  search testbox


  Found 0 records.
CommandBox:webonix.net>

But does show up on web site

TestBox BDD/xUnit v2.3.0 (Testing)

A BDD and xUnit Testing Framework

box install testbox	

lmajano@gmail.com's Gravatar Luis Majano | Last Update: May 25, 2016 | Downloads: 497 | Installs: 3795 | Views: 1635



Also, if I do a partial search I get an error
CommandBox:webonix.net> forgebox  search box

 Lucee CF Engine    ( Ortus Solutions )

ERROR

key [VERSION] doesn't exist

C:\Users\amercer\.CommandBox\cfml\system\modules\forgebox-commands\commands\forgebox\search.cfc: line 46
44:                                                     print.boldText( '   ( #entry.user.fname# #entry.user.lname# )' );
45:                                                     print.boldGreenLine( '   #repeatString( '*', val( entry.avgRating ) )#'
);

46:                                             print.line( 'Version: #entry.version#' );

47:                                             print.line( 'Type: #entry.typeName#' );

48:                                             print.line( 'Slug: "#entry.slug#"' );
....



Might not be you 

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/e3b7cb58-b618-467a-9914-17b8096f52fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Jon Clausen

unread,
May 25, 2016, 9:20:30 PM5/25/16
to col...@googlegroups.com
From your terminal snippets, it looks like
you maybe using 'box' while already in CommandBox.  You can omit the use of 'box' once you are inside the Commandbox shell.
--

br...@bradwood.com

unread,
May 25, 2016, 11:22:26 PM5/25/16
to col...@googlegroups.com
You don't need to include the text "box" when you're running commands from the interactive shell.  I've already fixed it on the bleeding edge 3.1.0 release so any extra "box" on the front of your commands are ignored in this context (along with some helpful "did you mean?" fuzzy matching).

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------
--

br...@bradwood.com

unread,
May 25, 2016, 11:25:06 PM5/25/16
to col...@googlegroups.com
AJ, "forgebox search" has been reworked in a later build including fixing the version error you pointed out.  The latest build is 3.1.0+00356.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 
 
 
--------- Original Message ---------

gillBates

unread,
May 26, 2016, 8:14:35 PM5/26/16
to ColdBox Platform
Thanks guys. Solved!

I was indeed trying to run the command from inside command box. I found the testbox install instructions a little misleading and wrongly assumed that I needed to actually be in commandbox instead of running the box exe/sh in the system cli. Found the answer in one of Brad's comments here: http://blog.adamcameron.me/2014/10/tickinthebox.html and running the box command from the OS shell sorted me out. 

Looking forward to exploring commandbox more. Looks awesome.

Thanks again.
Reply all
Reply to author
Forward
0 new messages