Bug 1035573

Summary: Use decimal instead of octal literal
Product: Red Hat Enterprise Linux 7 Reporter: Lijun Li <lijli>
Component: gnome-documentsAssignee: Debarshi Ray <debarshir>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: mshao
Target Milestone: rcKeywords: Desktop, i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 12:23:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lijun Li 2013-11-28 06:45:26 UTC
Description of problem:
[ALL LANG] run gnome-documents from terminal produced 'JS ERROR: !!!   WARNING: and libsoup-WARNING **:' messages.

Version-Release number of selected component (if applicable):
gnome-documents-3.8.5-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install latest RHEL 7 build.
2. Run gnome-documents from terminal

Actual results:
# gnome-documents 
    JS ERROR: !!!   WARNING: 'octal literals and octal escape sequences are deprecated'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-documents/js/documents.js' line 751 exception 0 number 232
    JS ERROR: !!!   WARNING: 'octal literals and octal escape sequences are deprecated'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-documents/js/documents.js' line 751 exception 0 number 232
    JS ERROR: !!!   WARNING: 'octal literals and octal escape sequences are deprecated'
    JS ERROR: !!!   WARNING: file '/usr/share/gnome-documents/js/documents.js' line 751 exception 0 number 232

(gnome-documents:5163): libsoup-WARNING **: Can't open /root/.cache/gnome-documents/cookies.sqlite


Expected results:
No such messages.

Additional info:

Comment 2 Debarshi Ray 2014-02-11 10:56:09 UTC
(In reply to Lijun Li from comment #0)

May I suggest not running gnome-documents as root?

> (gnome-documents:5163): libsoup-WARNING **: Can't open
> /root/.cache/gnome-documents/cookies.sqlite

This is fine.

Comment 3 Debarshi Ray 2014-02-11 11:07:05 UTC
I have built gnome-documents-3.8.5-7.el7:
https://brewweb.devel.redhat.com/taskinfo?taskID=7026582

Comment 7 Ludek Smid 2014-06-13 12:23:36 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.