dragonbox / u3d Goto Github PK
View Code? Open in Web Editor NEWU3d is a cross-platform set of tools to interact with Unity3D from command line.
License: MIT License
U3d is a cross-platform set of tools to interact with Unity3D from command line.
License: MIT License
running the Example2 leads to some weird lines added at the top of the editor AFTER process started:
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools64/JobProcess
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Tested on Mac with Unity 5.6.1f1
Reported as 939108 on Unity side
Not yet as a separate gem as we would depend on U3d::mac?
or similar
I often end up having to compare 2 logs to see what is going on.
I ported my sed script to ruby as a proof of what we could do to add it to u3d.
Given cleanlogs.rb
#!/usr/bin/env ruby
input = File.open(ARGV[0])
# matches will be replaced with their m.match(line).captures.join("...")
# until they stop matching or line is unchanged
transformers = [
/(Using monoOptions .*address=0.0.0.0:)[0-9]+($)/,
/(^).*( Unity\[).*(\] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.)/,
/(LICENSE SYSTEM \[).*(\] Next license update check is after) .*($)/,
/(.*)[0-9]+\.[0-9]+ (seconds.*)/,
/(OPENGL LOG: .* Context handle )[0-9]+($)/,
/(.* )[0-9]+\.[0-9]+ (ms.*)/,
/(Registered platform support modules in: )[0-9]+\.[0-9]+(s.*)/,
/(System memory in use .*: )[0-9\.]+( MB.)/,
/(Thread -> id: )\w+( -> priority: 1)/,
/(\[00:00:00\] Enlighten: .*took )[0-9]+\.[0-9]+(s.*)/,
/(Compiled shader .* in )[0-9]+\.[0-9]+(s.*)/,
/(.* Completed 'Build.Player.MacStandaloneSupport' in )[0-9]+ (seconds )\([0-9]+ (ms)\)/,
# ----- Total AssetImport time: 0.155424s, AssetImport time: 0.081042s, Asset hashing: 0.000000s [0 B, 0.000000 mb/s]
/(.*AssetImport time: )[0-9]+\.[0-9]+(s.*)/
]
input.each_line do |line|
transformers.each do |t|
loop do
a = t.match(line)
break unless a
newline = a.captures.join("...")
break if line == newline # no change
line = newline
end
end
$stdout.puts line
end
#!/bin/bash
f1=$1
f2=$2
diff -u <(cleanlogs.rb "$f1") <(cleanlogs.rb "$f2") | less
$ u3d local_install latest --trace
Root privileges are required
Password for lacostej:
*******
No credentials storage available
/Users/lacostej/Code/WWTK/u3d/lib/u3d/downloader.rb:99:in `block in local_files': private method `local_file' called for U3d::Downloader::MacDownloader:Class (NoMethodError)
Did you mean? local_variables
from /Users/lacostej/Code/WWTK/u3d/lib/u3d/downloader.rb:98:in `each'
from /Users/lacostej/Code/WWTK/u3d/lib/u3d/downloader.rb:98:in `local_files'
from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands.rb:143:in `local_install'
from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands_generator.rb:139:in `block (2 levels) in run'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands_generator.rb:161:in `run'
from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands_generator.rb:37:in `start'
from /Users/lacostej/Code/WWTK/u3d/exe/u3d:7:in `<top (required)>'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/u3d:22:in `load'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/u3d:22:in `<main>'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Looking at using /dev/stdout as a workaround for #3, it is currently not supported.
$ u3d --trace -r -- -logFile /dev/stdout -executeMethod U3d.EditorRun.Build -quit -batchmode
/Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/unity_runner.rb:34:in `delete': Permission denied @ unlink_internal - /dev/stdout (Errno::EACCES)
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/unity_runner.rb:34:in `run'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands.rb:207:in `run'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:79:in `block (2 levels) in run'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:160:in `run'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:36:in `start'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/exe/u3d:7:in `<top (required)>'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/bin/u3d:23:in `load'
from /Users/lacostej/.rvm/gems/ruby-2.1.1/bin/u3d:23:in `<main>'
Feedback:
When I run u3d list it first told me that it needed to move my 20 unity installations. Where does it
want to move them and why? They are currently all residing in the Applications folder as
"Unity5_3_8f2" and so on up to and including "Unity2017_1_f3". I couldn't find anywhere in the
readme where it wanted them to go.
Let's improve this:
U3d allows for different behaviours, but many variables and parameters that would enable these behaviours are locked behind hard coding. A configuration file would allow every user to have u3d behaves closer to what he wants.
Some informations that used to be caught on Unity versions before 2017 are no longer.
We've used File.file?
checks to distinguish between /dev/*
and standard files to avoid try to delete them.
This works fine on Mac. (Untested on Windows).
On Linux, while File.file?
returns false
under irb, for some reason, it returns true
in unity_runner.rb
. This causes it to try to delete the file and crashes:
/home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/unity_runner.rb:34:in `delete': Permission denied @ unlink_internal - /dev/stdout (Errno::EACCES)
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/unity_runner.rb:34:in `run'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands.rb:214:in `run'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands_generator.rb:79:in `block (2 levels) in run'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands_generator.rb:160:in `run'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands_generator.rb:36:in `start'
from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/exe/u3d:7:in `<top (required)>'
from /home/francoise/.rbenv/versions/2.4.1/bin/u3d:22:in `load'
from /home/francoise/.rbenv/versions/2.4.1/bin/u3d:22:in `<main>'
Command exited with non-zero status 1
Even if we fix/workaround this, we end up in a stdout recursion in command_executor
leading to infinite loop. (the stdin is read and loop written into). This is also due to #18.
So support for /dev/stdout on Linux isn't working at all right now. This needs to be revised. In the meantime, use u3d
's own tail mechanism to capture the output.
We need to make sure that the rules behave as intended when prettifying logs. For this we need specific logs and make sure that the output produced by the prettifier is as expected.
[15:02:38] /opt/unity-editor-5.6.1f1/Editor/Unity: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Do you have any relevant documents?
Can we make it faster?
The code for install
and local_install
is almost the same. So similar that we should really consider merging it in a single command that does the following
u3d install --download=no/yes --install=no/yes
when used in --download=no mode, it only tries to install locally.
when used in --install=no mode, it only tries to download
Both options are yes by default.
You could use it in the following way:
On a machine:
u3d install --no-install v1,v2,v3,v4 -p x,y,z,t -p mac
rsync download -> remote
on server
u3d install --no-download v1,v2,v3,v4 -p x,y,z,t -p mac
Update: updated to reflect probable use of commander to achieve this
c.option '--[no-]install', 'Enable/disable installation after download.'
c.option '--[no-]download', 'No installation after download success'
When installing there is no information what kind of packages can be installed with -p
option.
It would be great if those could be listed either globally or package-by-package.
$ u3d list --trace | head -1
Version 4.7.1f1 (/Applications/Unity_4.7.1f1
Unity.app)
log writing failed. Broken pipe @ io_write - <STDOUT>
Use a [-f | --force_update] for the cache in u3d available
so the user doesn't have to manually remove the cache to force an update.
Failing to install Linux version.
Failed to install bash file at /home/USER/Downloads/Unity_Packages/2017.2.0b2/unity-editor-installer-2017.2.0b2.sh: Permission denied @ dir_s_mkdir - /opt/Unity_2017.2.0b2
See #20 for the PR to solve this.
automatic install of unity, etc
(i.e. how does u3d install ... works WRT to sudo calls
u3d install 5.6.1f1
Unity 5.6.1f1 is already installed
Ignoring Unity module, it is already installed
Root privileges are required
Password for lacostej:
We really need some unit testing around the various scenarios for package installations.
sudo installer -dumplog -package Unity.pkg -target /
PS C:\Windows\system32> u3d install 2017.1.0f3 -p Unity,Android,Windows --trace
Root privileges are required
Unity is already downloaded
Android is already downloaded
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:167:in `destination_for': undefined method `[]' for nil:NilClass (NoMethodError)
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:98:in `get_package'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:52:in `block in download_modules'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:51:in `each'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:51:in `download_modules'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:40:in `fetch_modules'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands.rb:132:in `install'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands_generator.rb:147:in `block (2 levels) in run'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands_generator.rb:195:in `run'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands_generator.rb:37:in `start'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/exe/u3d:7:in `<top (required)>'
from C:/Ruby24-x64/bin/u3d:22:in `load'
from C:/Ruby24-x64/bin/u3d:22:in `<main>'
PS C:\Windows\system32>
I saw a few potential issues
E.g.
[17:40:26] Failure while trying to pipe /Users/lacostej/Library/Logs/Unity/Editor.log: undefined method `to_h' for #<Array:0x007fe67c968e98>
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:137:in `block (2 levels) in parse_line'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:132:in `each'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:132:in `block in parse_line'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:186:in `call'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:186:in `parse_line'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:41:in `block in run'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:105:in `call'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:105:in `block (2 levels) in start_tail_thread'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:124:in `block (2 levels) in pipe'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:209:in `call'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:209:in `read_line'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:181:in `block in tail'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:178:in `loop'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:178:in `tail'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:124:in `block in pipe'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:118:in `open'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:118:in `pipe'
[17:40:26] /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:105:in `block in start_tail_thread'
install
harder than necessary)$ u3d install 2017.1.0f3
File already downloaded at /home/XXXX/Downloads/Unity_Packages/2017.1.0f3/unity-editor-installer-2017.1.0xf3Linux.sh
$ cd "/opt/"; /home/XXXX/Downloads/Unity_Packages/2017.1.0f3/unity-editor-installer-2017.1.0xf3Linux.sh
Installation successful
$ u3d list
1 Unity installation should be moved. Proceed? (y/n)
n
Version 5.1.0f3 (/opt/unity-editor-5.1.0f3)
Version 2017.1.0f3 (/opt/unity-editor-2017.1.0xf3Linux)
Version 2017.2.0b2 (/opt/unity-editor-2017.2.0b2)
francoise@oloron:~/Projects/u3d$ u3d list
1 Unity installation should be moved. Proceed? (y/n)
y
Moving /opt/unity-editor-2017.1.0xf3Linux to /opt/unity-editor-2017.1.0f3...
When installing Unity version from u3d
the installation stays in /Application/Unity
and requires additional u3d
loop in order for installation to be moved to proper versioned directory even though it asks for the elevated permissions.
No errors or warning are shown during the installation.
For things like https://circleci.com/blog/sudo-circleci-make-me-a-sandwich/
U3d does not prevent several instances of the same version of Unity to be installed at once on the system, which is a dangerous behaviour on many regards.
I have some rubygems issues, maybe due to rvm / Mac OS X 10.12 security conflicts
Probably because we update the standard output very often.
Also because of Net:HTTP IO: https://stackoverflow.com/a/6964173/311450
This
InvalidOperationException: ParentFolder </Users/lacostej/Dropbox (WeWantToKnow)/WeWantToKnow Team Folder/WWTK-Assets/DB_SCHOOL/DownloadableDocs> doesn't exist. Please configure the exporter or use 'GYM_EXPORTER_PARENT_FOLDER' environment variable.
at HubV2.ExporterPresentation.MakeHTMLPresentation (System.String _DirProduct, Language _language) [0x0005f] in /Users/lacostej/Code/WWTK/gym/Assets/Game/Hub_V2/Scripts/Exporter/Editor/ExporterPresentation.cs:121
at HubV2.ExporterPresentation.MakeHTMLPresentation_AY1 () [0x00007] in /Users/lacostej/Code/WWTK/gym/Assets/Game/Hub_V2/Scripts/Exporter/Editor/ExporterPresentation.cs:73
(Filename: Assets/Game/Hub_V2/Scripts/Exporter/Editor/ExporterPresentation.cs Line: 121)
executeMethod method HubV2.ExporterPresentation.MakeHTMLPresentation_AY1 threw exception.
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Utilities/Argv.cpp Line: 171)
Aborting batchmode due to failure:
executeMethod method HubV2.ExporterPresentation.MakeHTMLPresentation_AY1 threw exception.
should result in 3 messages.
Debs are officially supported, .sh not.
I am not sure you can have multiple installs simultaneously with .deb files though. Depends on their configs. But for a CI server with docker, it might not make sense to have multiple Unity versions installed simultaneously.
It would be great if I could add module/package to existing installation without removing it first.
(It caches the files, but what if the cache wouldn't be there, would I have to redownload everything?)
Result (I have 3 other Unity versions installed):
Version 5.3.6f1 (/Applications/Unity_5.3.6f1/Unity.app)
error: Unity installation does not seem correct. Couldn't locate PlaybackEngines.. Use --trace to view backtrace
Directory listing:
drwxrwxr-x 7 root admin 238 21 mar 2016 /Applications/Unity.bak
drwxrwxr-x 5 root admin 170 19 lip 14:52 /Applications/Unity_2017.1.0f3
drwxrwxr-x 5 root admin 170 18 sie 11:27 /Applications/Unity_5.3.6f1
drwxrwxr-x 9 root admin 306 26 kwi 16:35 /Applications/Unity_5.6.0f3
drwxrwxr-x 5 root admin 170 10 sie 13:09 /Applications/Unity_5.6.3f1
Note: Unity.bak doesn't affect the outcome. Removing it still doesn't resolve the issue
Trace:
/Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/installer.rb:76:in `packages': Unity installation does not seem correct. Couldn't locate PlaybackEngines. (RuntimeError)
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands.rb:53:in `block in list_installed'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands.rb:50:in `each'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands.rb:50:in `list_installed'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands_generator.rb:89:in `block (2 levels) in run'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands_generator.rb:160:in `run'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands_generator.rb:36:in `start'
from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/exe/u3d:7:in `<top (required)>'
from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/u3d:22:in `load'
from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/u3d:22:in `<main>'
from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'
After introducing the linux specific ways of managing corrupted downloads, I think we should try refactoring into a single downloader / validator logic even though the validation is platform specific.
Idea introduce a DownloadValidator
class with platform specific implementations.
can't really do much with:
[18:19:37] [INIT] Could not finish active rule 'log'. Aborting it.
Better if you add the last lines or something similar.
I'm in a Unity project, say Project.
When running .../Project>u3d run
Unity launches with my project as projectpath.
When running .../Project>u3d run -- -runTests -testResults results.xml -testPlatform editmode
no project path is passed to Unity.
NOTE: .../Project>u3d run -- -runTests -testResults results.xml -testPlatform editmode -projectPath <path to my project>
works.
after interrupting a download, it doesn't recover:
File already downloaded at /home/francoise/Downloads/Unity_Packages/2017.1.0f3/unity-editor-installer-2017.1.0xf3Linux.sh
We depend on mdfind
to find the currently installed versions.
While installing a version and its packages, the system might not have yet registered the version it just installed and will then fail to install the first module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.