Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 589590

Summary: 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
Product: Gentoo Linux Reporter: Oleh <moonlapse81>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.