gPhone icon indicating copy to clipboard operation
gPhone copied to clipboard

App Groups.

Open Segeco opened this issue 9 years ago • 0 comments

When creating a new app (With the groups). My app format is like this:

local APP = {}

APP.PrintName = "Notes +"
APP.Icon = "vgui/gphone/notes_plus.png"
APP.Author = "Segeco"
APP.AllowedUsergroups = {"regular"}
APP.Tags = {"Notes", "Useful", "Writing", "Upgraded!"}

The error i get:

[gPhone]: Wiped debug log
[gPhone]: Loading config file
[gPhone]: Saved missing config key/value: vibrate false
[gPhone]: Saved missing config key/value: showUnusableApps false
[gPhone]: Saved missing config key/value: airplaneMode false
[gPhone]: Saved missing config key/value: darkStatusBar false
[gPhone]: Saving config file
[gPhone]: Saving config file
[gPhone]: Importing applications...

[ERROR] addons/phone/lua/gphone/cl_util.lua:205: attempt to call method 'GetUserGroup' (a nil value)
  1. canUseApp - addons/phone/lua/gphone/cl_util.lua:205
   2. addApp - addons/phone/lua/gphone/cl_appbase.lua:133
    3. unknown - addons/phone/lua/gphone/apps/notesplus.lua:35
     4. include - [C]:-1
      5. importApps - addons/phone/lua/gphone/cl_appbase.lua:80
       6. buildPhone - addons/phone/lua/gphone/cl_phone.lua:45
        7. unknown - addons/phone/lua/gphone/cl_phone.lua:24


Segeco avatar Feb 16 '16 17:02 Segeco