Skip to content

Instantly share code, notes, and snippets.

@sleroux
Created January 21, 2016 14:06
Show Gist options
  • Save sleroux/2c8b17bf479cb484b9cd to your computer and use it in GitHub Desktop.
Save sleroux/2c8b17bf479cb484b9cd to your computer and use it in GitHub Desktop.
{
"event_id": "3aa65b6a9bda1ef4bb3c73dfb20d3baa",
"message": "Errno::ENOENT: No such file or directory - ./fastlane/screenshots/screenshots.html",
"timestamp": "2016-01-21T14:06:17",
"time_spent": null,
"level": 40,
"project": null,
"platform": "ruby",
"logger": "",
"culprit": "snapshot/reports_generator.rb in write at line 34",
"server_name": "sleroux29795.local",
"modules": {
"CFPropertyList": "2.2.8",
"activesupport": "4.2.5",
"addressable": "2.3.8",
"autoparse": "0.3.3",
"babosa": "1.0.2",
"bigdecimal": "1.2.0",
"cert": "1.2.2",
"claide": "0.9.1",
"coderay": "1.1.0",
"colored": "1.2",
"commander": "4.3.5",
"credentials_manager": "0.10.0",
"deliver": "1.5.1",
"domain_name": "0.5.25",
"dotenv": "2.0.2",
"excon": "0.45.4",
"extlib": "0.9.16",
"faraday": "0.9.2",
"faraday-cookie_jar": "0.0.6",
"faraday_middleware": "0.10.0",
"fastimage": "1.6.8",
"fastlane": "1.39.0",
"fastlane_core": "0.26.1",
"frameit": "2.3.0",
"google-api-client": "0.8.6",
"googleauth": "0.4.2",
"gym": "1.1.5",
"highline": "1.7.8",
"http-cookie": "1.0.2",
"i18n": "0.7.0",
"io-console": "0.4.2",
"json": "1.7.7",
"jwt": "1.5.2",
"krausefx-shenzhen": "0.14.6",
"launchy": "2.4.3",
"libxml-ruby": "2.6.0",
"little-plugger": "1.1.4",
"logging": "2.0.0",
"match": "0.2.4",
"memoist": "0.12.0",
"method_source": "0.8.2",
"mime-types": "2.6.2",
"mini_magick": "4.0.4",
"minitest": "4.3.2",
"multi_json": "1.11.2",
"multi_xml": "0.5.5",
"multipart-post": "2.0.0",
"net-sftp": "2.1.2",
"net-ssh": "3.0.1",
"netrc": "0.11.0",
"nokogiri": "1.5.6",
"os": "0.9.6",
"pbxplorer": "1.0.0",
"pem": "1.0.1",
"pilot": "1.0.1",
"plist": "3.1.0",
"produce": "1.0.0",
"pry": "0.10.3",
"psych": "2.0.0",
"rake": "0.9.6",
"rdoc": "4.0.0",
"rest-client": "1.8.0",
"retriable": "1.4.1",
"rouge": "1.10.1",
"rubyzip": "1.1.7",
"scan": "0.2.1",
"security": "0.1.3",
"sentry-raven": "0.15.2",
"sigh": "1.1.3",
"signet": "0.6.1",
"slack-notifier": "1.4.0",
"slop": "3.6.0",
"snapshot": "1.1.1",
"spaceship": "0.14.0",
"sqlite3": "1.3.7",
"supply": "0.2.1",
"terminal-notifier": "1.6.3",
"terminal-table": "1.4.5",
"test-unit": "2.0.0.0",
"thread_safe": "0.3.5",
"tzinfo": "1.2.2",
"unf": "0.1.4",
"unf_ext": "0.0.7.1",
"xcode-install": "1.0.1",
"xcodeproj": "0.28.2",
"xcpretty": "0.2.1",
"xcpretty-travis-formatter": "0.0.4"
},
"extra": {
},
"tags": {
},
"user": {
},
"exception": {
"values": [
{
"type": "Errno::ENOENT",
"value": "No such file or directory - ./fastlane/screenshots/screenshots.html",
"module": "Errno",
"stacktrace": {
"frames": [
{
"pre_context": [
"end\n",
"\n",
"gem 'fastlane', version\n"
],
"post_context": [
null,
null,
null
],
"abs_path": "/usr/local/bin/fastlane",
"function": "<main>",
"lineno": 23,
"in_app": false,
"context_line": "load Gem.bin_path('fastlane', 'fastlane', version)\n",
"project_root": null,
"filename": "/usr/local/bin/fastlane"
},
{
"pre_context": [
"end\n",
"\n",
"gem 'fastlane', version\n"
],
"post_context": [
null,
null,
null
],
"abs_path": "/usr/local/bin/fastlane",
"function": "load",
"lineno": 23,
"in_app": false,
"context_line": "load Gem.bin_path('fastlane', 'fastlane', version)\n",
"project_root": null,
"filename": "/usr/local/bin/fastlane"
},
{
"pre_context": [
"\n",
"begin\n",
" FastlaneCore::UpdateChecker.start_looking_for_update('fastlane')\n"
],
"post_context": [
"rescue => ex\n",
" FastlaneCore::CrashReporting.handle_crash(ex)\n",
"ensure\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/bin/fastlane",
"function": "<top (required)>",
"lineno": 161,
"in_app": false,
"context_line": " FastlaneApplication.new.run\n",
"project_root": null,
"filename": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/bin/fastlane"
},
{
"pre_context": [
"\n",
" default_command :trigger\n",
"\n"
],
"post_context": [
" end\n",
"end\n",
"\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/bin/fastlane",
"function": "run",
"lineno": 155,
"in_app": false,
"context_line": " run!\n",
"project_root": null,
"filename": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/bin/fastlane"
},
{
"pre_context": [
" never_trace!\n",
" ).each do |meth|\n",
" eval <<-END, binding, __FILE__, __LINE__\n"
],
"post_context": [
" ::Commander::Runner.instance.#{meth}(*args, &block)\n",
" end\n",
" END\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb",
"function": "run!",
"lineno": 15,
"in_app": false,
"context_line": " def #{meth}(*args, &block)\n",
"project_root": null,
"filename": "commander/delegates.rb"
},
{
"pre_context": [
" parse_global_options\n",
" remove_global_options options, @args\n",
" if trace\n"
],
"post_context": [
" else\n",
" begin\n",
" run_active_command\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb",
"function": "run!",
"lineno": 68,
"in_app": false,
"context_line": " run_active_command\n",
"project_root": null,
"filename": "commander/runner.rb"
},
{
"pre_context": [
" if alias? command_name_from_args\n",
" active_command.run(*(@aliases[command_name_from_args.to_s] + args_without_command_name))\n",
" else\n"
],
"post_context": [
" end\n",
" end\n",
"\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb",
"function": "run_active_command",
"lineno": 428,
"in_app": false,
"context_line": " active_command.run(*args_without_command_name)\n",
"project_root": null,
"filename": "commander/runner.rb"
},
{
"pre_context": [
" #\n",
"\n",
" def run(*args)\n"
],
"post_context": [
" end\n",
"\n",
" #:stopdoc:\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb",
"function": "run",
"lineno": 153,
"in_app": false,
"context_line": " call parse_options_and_call_procs(*args)\n",
"project_root": null,
"filename": "commander/command.rb"
},
{
"pre_context": [
" meth = @when_called.shift || :call\n",
" options = proxy_option_struct\n",
" case object\n"
],
"post_context": [
" when Class then meth != :call ? object.new.send(meth, args, options) : object.new(args, options)\n",
" else object.send(meth, args, options) if object\n",
" end\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb",
"function": "call",
"lineno": 178,
"in_app": false,
"context_line": " when Proc then object.call(args, options)\n",
"project_root": null,
"filename": "commander/command.rb"
},
{
"pre_context": [
" meth = @when_called.shift || :call\n",
" options = proxy_option_struct\n",
" case object\n"
],
"post_context": [
" when Class then meth != :call ? object.new.send(meth, args, options) : object.new(args, options)\n",
" else object.send(meth, args, options) if object\n",
" end\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb",
"function": "call",
"lineno": 178,
"in_app": false,
"context_line": " when Proc then object.call(args, options)\n",
"project_root": null,
"filename": "commander/command.rb"
},
{
"pre_context": [
"\n",
" c.action do |args, options|\n",
" if Fastlane::FastlaneFolder.setup?\n"
],
"post_context": [
" else\n",
" create = agree('Could not find fastlane in current directory. Would you like to set it up? (y/n)'.yellow, true)\n",
" Fastlane::Setup.new.run if create\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/bin/fastlane",
"function": "block (2 levels) in run",
"lineno": 37,
"in_app": false,
"context_line": " Fastlane::CommandLineHandler.handle(args, options)\n",
"project_root": null,
"filename": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/bin/fastlane"
},
{
"pre_context": [
" end\n",
"\n",
" dot_env = Helper.is_test? ? nil : options.env\n"
],
"post_context": [
" end\n",
"\n",
" # Helper to convert into the right data type\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/command_line_handler.rb",
"function": "handle",
"lineno": 30,
"in_app": false,
"context_line": " Fastlane::LaneManager.cruise_lane(platform, lane, lane_parameters, dot_env)\n",
"project_root": null,
"filename": "fastlane/command_line_handler.rb"
},
{
"pre_context": [
" started = Time.now\n",
" e = nil\n",
" begin\n"
],
"post_context": [
" rescue => ex\n",
" Helper.log.info 'Variable Dump:'.yellow\n",
" Helper.log.info Actions.lane_context\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/lane_manager.rb",
"function": "cruise_lane",
"lineno": 46,
"in_app": false,
"context_line": " ff.runner.execute(lane, platform, parameters)\n",
"project_root": null,
"filename": "fastlane/lane_manager.rb"
},
{
"pre_context": [
" path_to_use = Fastlane::FastlaneFolder.path || Dir.pwd\n",
" parameters ||= {}\n",
" begin\n"
],
"post_context": [
" # Call the platform specific before_all block and then the general one\n",
"\n",
" before_all_blocks[current_platform].call(current_lane, parameters) if before_all_blocks[current_platform] && current_platform\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/runner.rb",
"function": "execute",
"lineno": 46,
"in_app": false,
"context_line": " Dir.chdir(path_to_use) do # the file is located in the fastlane folder\n",
"project_root": null,
"filename": "fastlane/runner.rb"
},
{
"pre_context": [
" path_to_use = Fastlane::FastlaneFolder.path || Dir.pwd\n",
" parameters ||= {}\n",
" begin\n"
],
"post_context": [
" # Call the platform specific before_all block and then the general one\n",
"\n",
" before_all_blocks[current_platform].call(current_lane, parameters) if before_all_blocks[current_platform] && current_platform\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/runner.rb",
"function": "chdir",
"lineno": 46,
"in_app": false,
"context_line": " Dir.chdir(path_to_use) do # the file is located in the fastlane folder\n",
"project_root": null,
"filename": "fastlane/runner.rb"
},
{
"pre_context": [
" before_all_blocks[current_platform].call(current_lane, parameters) if before_all_blocks[current_platform] && current_platform\n",
" before_all_blocks[nil].call(current_lane, parameters) if before_all_blocks[nil]\n",
"\n"
],
"post_context": [
"\n",
" # `after_all` is only called if no exception was raised before\n",
" # Call the platform specific before_all block and then the general one\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/runner.rb",
"function": "block in execute",
"lineno": 52,
"in_app": false,
"context_line": " return_val = lane_obj.call(parameters) # by default no parameters\n",
"project_root": null,
"filename": "fastlane/runner.rb"
},
{
"pre_context": [
"\n",
" # Execute this lane\n",
" def call(parameters)\n"
],
"post_context": [
" end\n",
"\n",
" # @return [String] The lane + name of the lane. If there is no platform, it will only be the lane name\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/lane.rb",
"function": "call",
"lineno": 36,
"in_app": false,
"context_line": " block.call(parameters || {})\n",
"project_root": null,
"filename": "fastlane/lane.rb"
},
{
"pre_context": [
"\n",
" # Execute this lane\n",
" def call(parameters)\n"
],
"post_context": [
" end\n",
"\n",
" # @return [String] The lane + name of the lane. If there is no platform, it will only be the lane name\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/lane.rb",
"function": "call",
"lineno": 36,
"in_app": false,
"context_line": " block.call(parameters || {})\n",
"project_root": null,
"filename": "fastlane/lane.rb"
},
{
"abs_path": "../../build-tools/fastlane/BaseFastfile",
"function": "block (2 levels) in parsing_binding",
"lineno": 214,
"in_app": false,
"project_root": null,
"filename": "../../build-tools/fastlane/BaseFastfile"
},
{
"pre_context": [
" # confusing\n",
" if class_ref && class_ref.respond_to?(:run)\n",
" # Action is available, now execute it\n"
],
"post_context": [
" else\n",
" raise \"Action '#{method_sym}' of class '#{class_name}' was found, but has no `run` method.\".red\n",
" end\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/fast_file.rb",
"function": "method_missing",
"lineno": 149,
"in_app": false,
"context_line": " return self.runner.execute_action(method_sym, class_ref, arguments)\n",
"project_root": null,
"filename": "fastlane/fast_file.rb"
},
{
"pre_context": [
" verify_supported_os(method_sym, class_ref)\n",
"\n",
" begin\n"
],
"post_context": [
" Actions.execute_action(class_ref.step_text) do\n",
" # arguments is an array by default, containing an hash with the actual parameters\n",
" # Since we usually just need the passed hash, we'll just use the first object if there is only one\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/runner.rb",
"function": "execute_action",
"lineno": 127,
"in_app": false,
"context_line": " Dir.chdir(custom_dir) do # go up from the fastlane folder, to the project folder\n",
"project_root": null,
"filename": "fastlane/runner.rb"
},
{
"pre_context": [
" verify_supported_os(method_sym, class_ref)\n",
"\n",
" begin\n"
],
"post_context": [
" Actions.execute_action(class_ref.step_text) do\n",
" # arguments is an array by default, containing an hash with the actual parameters\n",
" # Since we usually just need the passed hash, we'll just use the first object if there is only one\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/runner.rb",
"function": "chdir",
"lineno": 127,
"in_app": false,
"context_line": " Dir.chdir(custom_dir) do # go up from the fastlane folder, to the project folder\n",
"project_root": null,
"filename": "fastlane/runner.rb"
},
{
"pre_context": [
"\n",
" begin\n",
" Dir.chdir(custom_dir) do # go up from the fastlane folder, to the project folder\n"
],
"post_context": [
" # arguments is an array by default, containing an hash with the actual parameters\n",
" # Since we usually just need the passed hash, we'll just use the first object if there is only one\n",
" if arguments.count == 0\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/runner.rb",
"function": "block in execute_action",
"lineno": 128,
"in_app": false,
"context_line": " Actions.execute_action(class_ref.step_text) do\n",
"project_root": null,
"filename": "fastlane/runner.rb"
},
{
"pre_context": [
"\n",
" begin\n",
" Helper.log_alert(\"Step: \" + step_name) if step_name\n"
],
"post_context": [
" rescue => ex\n",
" exc = ex\n",
" error = caller.join(\"\\n\") + \"\\n\\n\" + ex.to_s\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/actions/actions_helper.rb",
"function": "execute_action",
"lineno": 37,
"in_app": false,
"context_line": " yield\n",
"project_root": null,
"filename": "fastlane/actions/actions_helper.rb"
},
{
"pre_context": [
" raise \"You have to call the integration like `#{method_sym}(key: \\\"value\\\")`. Run `fastlane action #{method_sym}` for all available keys. Please check out the current documentation on GitHub.\".red\n",
" end\n",
"\n"
],
"post_context": [
" end\n",
" end\n",
" rescue => ex\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/runner.rb",
"function": "block (2 levels) in execute_action",
"lineno": 142,
"in_app": false,
"context_line": " class_ref.run(arguments)\n",
"project_root": null,
"filename": "fastlane/runner.rb"
},
{
"pre_context": [
"\n",
" Snapshot.config = params\n",
" Snapshot::DependencyChecker.check_simulators\n"
],
"post_context": [
"\n",
" Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH] = File.expand_path(params[:output_directory]) # absolute URL\n",
"\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/fastlane-1.51.0/lib/fastlane/actions/snapshot.rb",
"function": "run",
"lineno": 17,
"in_app": false,
"context_line": " Snapshot::Runner.new.work\n",
"project_root": null,
"filename": "fastlane/actions/snapshot.rb"
},
{
"pre_context": [
" raise errors.join('; ') if errors.count > 0\n",
"\n",
" # Generate HTML report\n"
],
"post_context": [
"\n",
" # Clear the Derived Data\n",
" FileUtils.rm_rf(TestCommandGenerator.derived_data_path)\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/snapshot-1.4.4/lib/snapshot/runner.rb",
"function": "work",
"lineno": 52,
"in_app": false,
"context_line": " ReportsGenerator.new.generate\n",
"project_root": null,
"filename": "snapshot/runner.rb"
},
{
"pre_context": [
" html = ERB.new(File.read(html_path)).result(binding) # http://www.rrn.dk/rubys-erb-templating-system\n",
"\n",
" export_path = \"#{screens_path}/screenshots.html\"\n"
],
"post_context": [
"\n",
" export_path = File.expand_path(export_path)\n",
" Helper.log.info \"Successfully created HTML file with an overview of all the screenshots: '#{export_path}'\".green\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/snapshot-1.4.4/lib/snapshot/reports_generator.rb",
"function": "generate",
"lineno": 34,
"in_app": false,
"context_line": " File.write(export_path, html)\n",
"project_root": null,
"filename": "snapshot/reports_generator.rb"
},
{
"pre_context": [
" html = ERB.new(File.read(html_path)).result(binding) # http://www.rrn.dk/rubys-erb-templating-system\n",
"\n",
" export_path = \"#{screens_path}/screenshots.html\"\n"
],
"post_context": [
"\n",
" export_path = File.expand_path(export_path)\n",
" Helper.log.info \"Successfully created HTML file with an overview of all the screenshots: '#{export_path}'\".green\n"
],
"abs_path": "/Library/Ruby/Gems/2.0.0/gems/snapshot-1.4.4/lib/snapshot/reports_generator.rb",
"function": "write",
"lineno": 34,
"in_app": false,
"context_line": " File.write(export_path, html)\n",
"project_root": null,
"filename": "snapshot/reports_generator.rb"
}
]
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment