Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Daily build of 31/08
Started by remiduchalard Sep 03 2016 07:35 AM

9 replies to this topic
bug
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

remiduchalard

[GLOBAL: userInfoPane.html]
remiduchalard
  • Contributor

  • 306 posts
  • Corona SDK

Hi,

 

Since a year I have a problem with network on simulator, but it's not important.

When I launch on simulator I do 

settings.plugins=nil

In buildsetting file.

And when I want to build I put this line in comment and I launch I have error but I can build.

 

Now with the update I have the bug before the first image of the game display and the error appear before the windows of corona open, after press the button don't relaunch the app I have corona simulator witch open. And then I can build but my computer lag more than ever and I have to relaunch it

 

Sorry for my english

 

Rémi



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,544 posts
  • Enterprise

What happens if you drop back a daily build?



[TOPIC: post.html]
#3

remiduchalard

[GLOBAL: userInfoPane.html]
remiduchalard
  • Contributor

  • 306 posts
  • Corona SDK

The problem disapear. I have the error after the openning of corona simulator



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,544 posts
  • Enterprise

What is the error message?

Can you copy and paste it from the console log window we open behind the simulator?

 

Rob



[TOPIC: post.html]
#5

remiduchalard

[GLOBAL: userInfoPane.html]
remiduchalard
  • Contributor

  • 306 posts
  • Corona SDK

Hi,

 Windows simulator build date: Aug 31 2016 @ 02:45:21



Copyright (C) 2009-2016  C o r o n a   L a b s   I n c .
Version: 3.0.0
Build: 2016.2938
Platform: GenericAndroidDevice / x64 / 10.0 / Intel(R) HD Graphics 5500 / 4.4.0 - Build 20.19.15.4474 / 2016.2938 / fr_FR | FR | fr_FR | fr
Loading project from:   C:\Users\Rémi\Desktop\Thallium\3 Kings
Project sandbox folder: C:\Users\Rémi\AppData\Local\Corona Labs\Corona Simulator\Sandbox\3 kings-67BD311DA4EA3657D730A484001F1946\Documents
ERROR: Runtime error
?:0: attempt to index global 'network' (a nil value)
stack traceback:
?: in function 'downloadManifest'
?: in function 'downloadQueuedManifests'
?: in function <?:790>
?: in main chunk
ERROR: Runtime error
?:0: attempt to index global 'network' (a nil value)
stack traceback:
?: in function 'downloadManifest'
?: in function 'downloadQueuedManifests'
?: in function <?:790>
?: in main chunk

I attach a copy of 3 screenshot

Rémi

Attached Files



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,544 posts
  • Enterprise

And to verify, if you don't do the settings.plugins = nil everything works?

 

Are you doing this in build.settings or in your Lua code?

 

Do you happen to have any variable, function or object names named "network"?

 

Rob



[TOPIC: post.html]
#7

remiduchalard

[GLOBAL: userInfoPane.html]
remiduchalard
  • Contributor

  • 306 posts
  • Corona SDK

If I don't set to nil every things work, but not the comunication with a server.

I have no value or function with this name.

I don't know if it can help. My build setting file:

settings = { 
orientation = {
default = "landscapeRight",
supported = { "landscapeRight","landscapeLeft" }
},
iphone = {
plist = {
      NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
      CFBundleIconFile = "Icon.png",
      CFBundleIconFiles = {
          "Icon.png",
          "Icon@2x.png",
          "Icon-60.png",
          "Icon-60@2x.png",
          "Icon-60@3x.png",
          "Icon-72.png",
          "Icon-72@2x.png",
          "Icon-76.png",
          "Icon-76@2x.png",
          "Icon-Small-40.png",
          "Icon-Small-40@2x.png",
          "Icon-Small-40@3x.png",
          "Icon-Small-50.png",
          "Icon-Small-50@2x.png",
          "Icon-Small.png",
          "Icon-Small@2x.png",
          "Icon-Small@3x.png"
      },
            -- Launch image files table (see section below)
      UILaunchImages = {
                {  -- iPhone 4 Portrait
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{320, 480}"
                },
                {  -- iPhone 4 LandscapeLeft
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default",
                    ["UILaunchImageOrientation"] = "LandscapeLeft",
                    ["UILaunchImageSize"] = "{320, 480}"
                },
                {  -- iPhone 4 LandscapeRight
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default",
                    ["UILaunchImageOrientation"] = "LandscapeRight",
                    ["UILaunchImageSize"] = "{320, 480}"
                },
                {  -- iPhone 5 Portrait
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default-568h",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{320, 568}"
                },
                {  -- iPhone 5 LandscapeLeft
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default-568h",
                    ["UILaunchImageOrientation"] = "LandscapeLeft",
                    ["UILaunchImageSize"] = "{320, 568}"
                },
                {  -- iPhone 5 LandscapeRight
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default-568h",
                    ["UILaunchImageOrientation"] = "LandscapeRight",
                    ["UILaunchImageSize"] = "{320, 568}"
                },
                {  -- iPad Portrait
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default-Portrait",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{768, 1024}"
                },
                {  -- iPad LandscapeLeft
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default-Landscape",
                    ["UILaunchImageOrientation"] = "LandscapeLeft",
                    ["UILaunchImageSize"] = "{768, 1024}"
                },
               -- {  -- iPad LandscapeRight
                 --   ["UILaunchImageMinimumOSVersion"] = "7.0",
                   -- ["UILaunchImageName"] = "Default-Landscape",
                   -- ["UILaunchImageOrientation"] = "LandscapeRight",
                   -- ["UILaunchImageSize"] = "{768, 1024}"
                --},
                {  -- iPhone 6 Portrait
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-667h",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{375, 667}"
                },
                {  -- iPhone 6 LandscapeLeft
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-667h",
                    ["UILaunchImageOrientation"] = "LandscapeLeft",
                    ["UILaunchImageSize"] = "{375, 667}"
                },
                {  -- iPhone 6 LandscapeRight
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-667h",
                    ["UILaunchImageOrientation"] = "LandscapeRight",
                    ["UILaunchImageSize"] = "{375, 667}"
                },
                {  -- iPhone 6 Plus Portrait
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-736h",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{414, 736}"
                },
                {  -- iPhone 6 Plus LandscapeLeft
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-Landscape-736h",
                    ["UILaunchImageOrientation"] = "LandscapeLeft",
                    ["UILaunchImageSize"] = "{414, 736}"
                },
                {  -- iPhone 6 Plus LandscapeRight
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-Landscape-736h",
                    ["UILaunchImageOrientation"] = "LandscapeRight",
                    ["UILaunchImageSize"] = "{414, 736}"
                },
                {  -- iPad Pro Portrait
                    ["UILaunchImageMinimumOSVersion"] = "9.0",
                    ["UILaunchImageName"] = "Default-Portrait-1366",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{1024, 1366}"
                },
                {  -- iPad Pro Landscape Right
                    ["UILaunchImageMinimumOSVersion"] = "9.0",
                    ["UILaunchImageName"] = "Default-Landscape-1366",
                    ["UILaunchImageOrientation"] = "LandscapeRight",
                    ["UILaunchImageSize"] = "{1024, 1366}"
                },
                {  -- iPad Pro Landscape Left
                    ["UILaunchImageMinimumOSVersion"] = "9.0",
                    ["UILaunchImageName"] = "Default-Landscape-1366",
                    ["UILaunchImageOrientation"] = "LandscapeLeft",
                    ["UILaunchImageSize"] = "{1024, 1366}"
                },
      },
      MinimumOSVersion = "8.0",
}
},
window = {
        -- Settings for the desktop window; applies to both Win32 and OS X desktop apps
  },
  excludeFiles =
  {
  --all ={"*@4x.png","*@4x.jpg","*@4x.jpeg","*@6x.png","*@6x.jpg","*@6x.jpeg","Thumbs.db","*@5x.png","*@5x.jpg"},-- version lte
  all ={"*@4x.png","*@4x.jpg","*@4x.jpeg","Thumbs.db","*@5x.png","*@5x.jpg"}, -- version mde-lte (version pour superieur à 4.2pouce et IOS et lte avec suppression des suffixs pour android <4.2)
  },
  android =
  {
    supportsScreens =
    {
       smallScreens  = false,
       normalScreens = true,
       largeScreens  = true,
       xlargeScreens = true,
    },
    largeHeap = true,
    usesPermissions =
    {
       "android.permission.INTERNET",
        "android.permission.ACCESS_NETWORK_STATE",
        "android.permission.WRITE_EXTERNAL_STORAGE",
        "android.permission.WRITE_INTERNAL_STORAGE",
        "android.permission.RECEIVE_BOOT_COMPLETED",
        "com.android.vending.BILLING",
        "com.android.vending.CHECK_LICENSE",
        "android.permission.ACCESS_COARSE_LOCATION",
    },
    usesFeatures =
    {
          { name="android.hardware.location", required=false },
          { name="android.hardware.location.gps", required=false },
          { name="android.hardware.location.network", required=false },
          { name = "android.hardware.touchscreen", required = false},
     },
  },
  plugins =
  {
        ["plugin.google.iap.v3"] =
        {
          publisherId = "com.coronalabs",
          supportedPlatforms = { android=true }
        },
        ["plugin.amazon.iap"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { ["android-kindle"]=true }
        },
        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true }
        },
  },
}
settings.plugins=nil


[TOPIC: post.html]
#8

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,544 posts
  • Enterprise

Can I get you to file a bug report please?

 

We need a simple app that demonstrates the problem It needs a main.lua, build.settings and config.lua along with any other assets needed to let an engineer load the app. Put all of that in a .zip file and use the Report a Bug link at the top.

 

Though I think your better choice would be to just comment out the block using:

 

--[[ and --]]

 

instead of setting the sub table to nil.

 

Rob



[TOPIC: post.html]
#9

remiduchalard

[GLOBAL: userInfoPane.html]
remiduchalard
  • Contributor

  • 306 posts
  • Corona SDK

I don't want to put here those file. Can you give me a way to send you the 7z?



[TOPIC: post.html]
#10

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,544 posts
  • Enterprise

First if all, it needs to be a .zip file. Secondly you're going to submit a bug report which will only go to the engineering and QA team if you use the link at the top of the page. It won't be public.

 

Rob




[topic_controls]
[/topic_controls]