Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589590 - x11-drivers/nvidia-drivers-367.35 - nvidia-settings: ERROR: App profile parse error in /etc/nvidia/nvidia-application-profiles-rc: unexpected token near ']' on <string>, line 49
Summary: x11-drivers/nvidia-drivers-367.35 - nvidia-settings: ERROR: App profile parse...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-24 11:11 UTC by Oleh
Modified: 2016-07-24 11:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-07-24 11:11:22 UTC
nvidia-application-profiles-rc have a coma typo in:

{
           "name" : "NamedVertexAttributesApplyDivisor",
           "settings" : [ "GL23cd0e", 1 ]
},
This gives error, while trying to run `nvidia-settings`

Reproducible: Always

Steps to Reproduce:
1. emerge x11-drivers/nvidia-drivers-367.35 with tools USE enabled
2. run `nvidia-settings`
3. notice error
4. remove extra coma fixing nvidia-settings run.
Actual Results:  
ERROR: App profile parse error in /etc/nvidia/nvidia-application-profiles-rc: unexpected token near ']' on <string>, line 49
Comment 1 Oleh 2016-07-24 11:11:57 UTC
diff -Nuar nvidia-application-profiles-rc.bak nvidia-application-profiles-rc
--- nvidia-application-profiles-rc.bak	2016-07-24 11:10:42.947523301 +0200
+++ nvidia-application-profiles-rc	2016-07-24 12:17:59.287719286 +0200
@@ -44,7 +44,7 @@
         {
           "name" : "NamedVertexAttributesApplyDivisor",
           "settings" : [ "GL23cd0e", 1 ]
-        },
+        }
     ],
     "rules" : [
         {

one line fix
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-24 11:37:21 UTC
Fixed in -r1.