Select from Query ? / Dynamic view ? Anything else ?
Hello,
This could be a bit challenging. (or maybe not, i hope)
I have to create a report which is based on 3/4 tables with pretty complex SQL.
Step 1. I have to use views (in the database currently) to select data from these tables.
Step 2. Then create the next set of views (in the db) based on the previous views.
Step 3. Then finally join the last set of views in Reports and create the report based on the PARAMETERS entered.
This was fine, until the client changed the criteria. Now the views have to be created but the PARAMETERS affect the FIRST set of views.
That is, the views in the FIRST STEP will have a where condition based on the parameters at RUN TIME.
I was wondering about how to do this ?
1. Can I use dynamic views (in db) passing the where condition parameter to the where clause ? Alternatively use DDL in Reports.
OR
2. Create a query in Reports and create subsequent QUERIES BASED ON THE FIRST QUERY (like MS Access). Can this be done ?
3. Any other way ?
If you need any clarification, I can provide that.
THANKS for taking the time to read it. It would be great if you could give me any ideas.
Pat.
hello,
you might look into REF-CURSOR-QUERIES for this particular case. it might help.
regards,
the oracle reports team
Similar Messages
-
A way to convert selection from query builder in DML language
I search a way to convert selection from query builder in DML language.
regardsWe will make a sample from this request and post it on OTN. I have pasted all the JSP code so you should be able to use it directly. Just change the BISession details and the presentation references.
<%@ taglib uri="http://xmlns.oracle.com/bibeans" prefix="orabi" %>
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page import="java.util.Vector" %>
<%@ page import="oracle.dss.thin.beans.crosstab.ThinCrosstab" %>
<%@ page import="oracle.dss.util.DataAccess" %>
<%@ page import="oracle.dss.selection.Selection" %>
<%@ page import="oracle.dss.thin.beans.graph.ThinGraph" %>
<%@ page import="oracle.dss.dataSource.client.QueryClient"%>
<%-- Start synchronization of the BI tags --%>
<% synchronized(session){ %>
<orabi:BIThinSession id="BIThinSession1" configuration="/Project1BIConfig1.xml" >
<orabi:Presentation id="untitled2_Presentation1" location="Presentation1" />
<orabi:Presentation id="untitled2_Presentation2" location="Presentation2" />
</orabi:BIThinSession>
<%
String CROSSTAB_ID = "untitled2_Presentation2";
String GRAPH_ID = "untitled2_Presentation1";
String MYProducts = "Nothing";
String prodID = "MDM!D_CS_OLAP.SHAWPRODUCTS";
//Find the crosstab object on the page
Object crosstabObject = pageContext.findAttribute(CROSSTAB_ID);
ThinCrosstab thinCrosstab = (ThinCrosstab)crosstabObject;
//Get the various query components from the Crosstab
QueryClient myQCXtab = (QueryClient)thinCrosstab.getDataSource();
Selection mySelXtab = myQCXtab.findSelection(prodID);
DataAccess daXtab = myQCXtab.createQueryAccess().getDataAccess(mySelXtab);
// This is a one-d data access, only has the column edge
int colExtentXtab = daXtab.getEdgeExtent(oracle.dss.util.DataDirector.COLUMN_EDGE);
for (int i=0; i<colExtentXtab; i++)
String memberLabel = (String)daXtab.getMemberMetadata(oracle.dss.util.DataDirector.COLUMN_EDGE, 0, i, oracle.dss.util.MetadataMap.METADATA_LONGLABEL);
String memberValue = (String)daXtab.getMemberMetadata(oracle.dss.util.DataDirector.COLUMN_EDGE, 0, i, oracle.dss.util.MetadataMap.METADATA_VALUE);
System.out.println(memberLabel + " " + memberValue);
// As above except for graphs.
Object graphObject = pageContext.findAttribute(GRAPH_ID);
ThinGraph thinGraph = (ThinGraph)graphObject;
QueryClient myQCGraph = (QueryClient)thinGraph.getDataSource();
Selection mySelGraph = myQCGraph.findSelection(prodID);
DataAccess daGraph = myQCGraph.createQueryAccess().getDataAccess(mySelGraph);
// This is a one-d data access, only has the column edge
int colExtentGraph = daGraph.getEdgeExtent(oracle.dss.util.DataDirector.COLUMN_EDGE);
for (int i=0; i<colExtentGraph; i++)
String memberLabel = (String)daGraph.getMemberMetadata(oracle.dss.util.DataDirector.COLUMN_EDGE, 0, i, oracle.dss.util.MetadataMap.METADATA_LONGLABEL);
String memberValue = (String)daGraph.getMemberMetadata(oracle.dss.util.DataDirector.COLUMN_EDGE, 0, i, oracle.dss.util.MetadataMap.METADATA_VALUE);
System.out.println(memberLabel + " " + memberValue);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>
Hello World
</title>
</head>
<body>
<FORM name="BIForm">
<!-- Insert your Business Intelligence tags here -->
<orabi:Render targetId="untitled2_Presentation1" parentForm="BIForm" />
<orabi:Render targetId="untitled2_Presentation2" parentForm="BIForm" />
<%-- The InsertHiddenFields tag adds state fields to the parent form tag --%>
<orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="BIThinSession1" />
</FORM>
<h2>
The current time is:
</h2>
<p>
<%= new java.util.Date() %></p>
<input type="text" name="MyTextField" value=MYProducts readonly>
</body>
</html>
<% } %>
<%-- End synchronization of the BI tags --%>
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation -
Selection from a Maintenance View
Hi,
I have to fetch data from a view, unfotunately that view is a mainteance view. Is there any other way to select/fetch data from that view in my report program ?
Regards,
Bharath Mohan BHi
U cannot access the data from maintanence view.
Only projection and database view can be used in ABAP code.
If u want to access the Data from more the one table , Create the DATABASE VIEW and use this view in ur program.
For example : UR Database view name is Ztest
in ur program
table Ztest.
select * from Ztest ***************
*******************UR Business Logic
<b>Reward if useful</b> -
Creating and selecting from a dynamic table
Hi,
Iam trying to create a table dynamically and selecting from it in same plsql block, but am getting "table doesnot exist" error. however if i just create a table dynamically and then do a select on it seperately it works..
below is sample code for the same,
working
Line: -----
DECLARE
loc VARCHAR2(20):='bglr';
l_cnt pls_integer;
BEGIN
-- create an employee information table
EXECUTE IMMEDIATE
'CREATE TABLE ' || 'emp_bglr' ||
empno NUMBER(4) NOT NULL,
ename VARCHAR2(10),
job VARCHAR2(9),
sal NUMBER(7,2),
deptno NUMBER(2)
end;
select count(*) from emp_bglr ...works and return me 0 rows
Line: -----
but when i include select in plsql block ..it throws "Table does not exists" error...(iam running below plsql block after dropping the created table)
not working
Line: -----
DECLARE
loc VARCHAR2(20):='bglr';
l_cnt pls_integer;
BEGIN
-- create an employee information table
EXECUTE IMMEDIATE
'CREATE TABLE ' || 'emp_bglr' ||
empno NUMBER(4) NOT NULL,
ename VARCHAR2(10),
job VARCHAR2(9),
sal NUMBER(7,2),
deptno NUMBER(2)
--COMMIT;
END;
Select count(*) into l_cnt from emp_bglr;
dbms_output.put_line('cnt is '||l_cnt);
end;
Line: -----Becuase your code is first checked for syntax/object existance during compilation and throws an error saying the table does not exist.
Try this:
SQL> ed
Wrote file afiedt.buf
1 DECLARE
2 loc VARCHAR2(20):='bglr';
3 l_cnt pls_integer;
4 BEGIN
5 -- create an employee information table
6 EXECUTE IMMEDIATE 'CREATE TABLE emp_bglr(
7 empno NUMBER(4) NOT NULL,
8 ename VARCHAR2(10),
9 job VARCHAR2(9),
10 sal NUMBER(7,2),
11 deptno NUMBER(2)
12 )';
14 Select count(*) into l_cnt from all_objects where object_name = 'EMP_BGLR';
15 dbms_output.put_line('tab cnt is '||l_cnt);
16 IF (l_cnt = 1) THEN
17 l_cnt := 0;
18 EXECUTE IMMEDIATE 'SELECT count(*) from apps.emp_bglr' into l_cnt;
19 dbms_output.put_line('data cnt is '||l_cnt);
20 END IF;
21* end;
SQL> /
tab cnt is 1
data cnt is 0
PL/SQL procedure successfully completed.
SQL> Edited by: AP on Aug 5, 2010 5:51 AM
Edited by: AP on Aug 5, 2010 5:52 AM -
Newbie Select * FROM table where IF Numeric else something else
I have a text on a web page. If one can enter an EMPLOYID ( like 55 ) or
lastname like 'SMITH'.
I tried using INSTR and Substr but no avail.
Select *
from Atable
WHERE
IF SUBSTR(myfield,1,1)="0" OR
IF SUBSTR(myfield,1,1)="1" OR
etc.
EMPID=to_number(myfield)
ELSE
Upper(Lastname) like Upper(myfield)
Suggestions?
TIA
SteveYes myfield could be either "55" OR it could be "SMITH"
Otherwise I would have to have 2 textboxes on the web page.
One for EmployeeID and one for lastname.
Thanks.
Steve -
Lock users selected from query.
I need to have the user IDs that are selected using the query I've pasted below locked. My thought was to put the query into an array and then use a loop to run through the array with the "alter user user_id account lock" command but I have no idea how to get that far is that even possible with plsql? Or perhaps there is a better way to do this. I would then be running this script once a week to make sure all of these users are locked.
select username from dba_users where username like '_Z%'
minus
select distinct schema from monadmin.log_info where timestamp>=sysdate-92
minus
select account_status from dba_users where account_status = 'locked';select account_status from dba_users where account_status = 'locked';This will not return anything as the status is LOCKED not locked.
secondly you will get account_status not the username
BEGIN
FOR rec IN (
select username from dba_users where username like '_Z%'
minus
select distinct schema from monadmin.log_info where timestamp>=sysdate-92
minus
select username from dba_users where account_status like ( '%LOCKED')
) LOOP
EXECUTE IMMEDIATE 'ALTER "' || rec.username || '" ACCOUNT LOCK';
END LOOP;
END;
/ Alvinder
Edited by: alvinder on Mar 18, 2009 10:54 AM -
Can not select from data dictionary view from a procedure
Hi,
I wonder, which privilege is missing here:
my schema has this roles and privs:
GRANT CONNECT, RESOURCE TO cb ;
GRANT CREATE SESSION TO cb ;
GRANT SELECT_CATALOG_ROLE TO cb ;
GRANT CREATE SYNONYM TO CB;
GRANT CREATE VIEW TO CB;
I create a procedure:
create or replace procedure dd_test as
begin
dbms_output.enable(2000000);
for r in (select table_name from sys.dba_tab_partitions where owner = 'CB') loop
dbms_output.put_line(r.table_name);
end loop;
end;
sho err
4/38 PL/SQL: ORA-00942: table or view does not exist
When I run the core statement form sql prompt, it works !
so what privilege is missing here ???
thanks for any hint, Lao DeHi,
thanks for that reply, after doing that I can not select this DD-view from sql-prompt anymore (which I don't wonder ;-). Can you tell me, what idea you had behind that test ?
I found another instance, where the procedure works and I will compare those privileges, but it's hard to sort out that complex structure of nested roles and sys_privs.
How ever, I will update here, when I found the missing privilege.
regards LaoDe -
Select from a dynamically chosen table
Hi everyone,
I'm willing to retrieve information stored in a given column of a given table, both generated dynamically. Thus, I have a string S1 with the table name and a string S2 with a column name of this table.
My aim would be to do something like that :
+select single * into corresponding fields of X
from (S1)
where Y = 'SomeValue'.+
X being like a line of the table (S1)
Y being the column name stored in S2.
But for this, I need to fine a correct way to define X and Y from S1 and S2, which I failed to do until now. My first idea was to use field-symbols but it didn't help me. It might be quite easy or maybe impossible, I don't even know as my knowledge in ABAP is far from being excellent, but any reply would be welcome.
Best regards,
FrançoisHi,
if you only want to select only the given column(s)
(here 'BUTXT') use the 2nd alternative:
REPORT YMI_SG_NACHWEIS_A NO STANDARD PAGE HEADING.
FIELD-SYMBOLS:
<t001>, <fs>.
DATA:
lr_t001 TYPE REF TO data.
CONSTANTS:
s1(30) VALUE 'T001',
s2(30) VALUE 'BUKRS',
s3(30) VALUE 'BUTXT'.
DATA:
lt_where(72) OCCURS 0 WITH HEADER LINE,
lt_field(72) OCCURS 0 WITH HEADER LINE.
append s3 to lt_field.
CREATE DATA lr_t001 TYPE (s1).
ASSIGN lr_t001->* TO <t001>.
ASSIGN (s1) TO <fs>.
CONCATENATE s2 '=' '3000' INTO lt_where SEPARATED BY space.
APPEND lt_where.
SELECT *
INTO <t001>
FROM (s1)
WHERE (lt_where).
ASSIGN COMPONENT s3 OF STRUCTURE <t001> TO <fs>.
WRITE: / s3, ': ', <fs>.
ENDSELECT.
*2nd alternative
skip 2.
write:/'2nd'.
uline.
select (lt_field) into corresponding fields of <t001>
FROM (s1)
WHERE (lt_where).
ASSIGN COMPONENT s3 OF STRUCTURE <t001> TO <fs>.
WRITE: / s3, ': ', <fs>.
ENDSELECT.
grx
Andreas -
Select from database dynamically
Hello colleague,
i am trying to read a database whose name is dynamically identified. There are several fields but i am interested in one. I want all the entries for that field in the table. The field "trace_fct_id" is type SYSUUID_x(16). I want it to be populated in the CHAR32 field ie GUID.
LOOP AT lt_tabname INTO ls_tablename.
CREATE DATA dref TYPE STANDARD TABLE OF (ls_tablename-name).
ASSIGN dref->* TO <itab>.
SELECT DISTINCT trace_fct_id FROM (ls_tablename-name) INTO CORRESPONDING FIELDS OF TABLE <itab>.
MOVE <itab> TO et_func_ids.
ENDLOOP.
I get all the entries from the table but i just want to return the ID, and the move does not copy it in the internal table as the column name is different.
Could you please help?
Thanks in advance.
Best Regards,
PiyushCheck if this helps:
DATA: dref TYPE REF TO data,
lt_tabname TYPE STANDARD TABLE OF tabname,
ls_tablename TYPE tabname,
et_func_ids TYPE STANDARD TABLE OF sysuuid_x,
es_func_ids TYPE sysuuid_x.
FIELD-SYMBOLS: <itab> TYPE STANDARD TABLE,
<wa> TYPE ANY ,
<val> TYPE ANY.
DATA: v_err TYPE string,
lcx_root TYPE REF TO cx_root.
LOOP AT lt_tabname INTO ls_tablename.
CREATE DATA dref TYPE STANDARD TABLE OF (ls_tablename).
ASSIGN dref->* TO <itab>.
TRY .
SELECT DISTINCT trace_fct_id FROM (ls_tablename)
INTO CORRESPONDING FIELDS OF TABLE <itab>.
CHECK sy-subrc = 0.
LOOP AT <itab> ASSIGNING <wa>.
ASSIGN COMPONENT 'TRACE_FCT_ID' OF STRUCTURE <wa> TO <val>.
CHECK sy-subrc = 0.
es_func_ids = <val>.
APPEND es_func_ids TO et_func_ids.
CLEAR et_func_ids.
ENDLOOP.
CATCH cx_sy_open_sql_error INTO lcx_root."Catch block for SQL errors
v_err = lcx_root->get_text( ).
WRITE: / v_err.
ENDTRY.
REFRESH <itab>.
ENDLOOP.
BR,
Suhas -
Performance problem with select from _DIFF view
Hi,
we have a versioned table with more then one million records. We use the DBMS_WM.SetDiffVersions procedure and select from DIFF view to get data differences between two workspaces. The problem is that the select from the DIFF view is very slow. I takes more than 15 minutes. Has anybody an idea why it consumes so much time? Is there any way how to improve it?
Thanks and regards
OndrejHi,
This can be due to any number of things, but is typically caused by an inefficient optimizer plan. Make sure that statistics on the _LT table have been recently analyzed.
Also the following information would be useful:
1. What is the relationship of the workspaces that you are trying to compare (parent/child, children of the same parent, etc) ?
2. How many and of what type dml are being performed in the workspaces ?
3. What version of Workspace Manager are you using and what is the version of the database ?
4. What is the time needed to select from the _DIFF view based on the primary key ?
Regards,
Ben -
Selecting from a view when tables are in more than one schema problem
I give up where am I missing it. Why is the ORA-01031 error being generated on the view u1.bv1. In testing even if I give object access to u3 I still get the same errors:
SQL>
SQL> drop user u1 cascade;
drop user u1 cascade
ERROR at line 1:
ORA-01918: user 'U1' does not exist
SQL> drop user u2 cascade;
drop user u2 cascade
ERROR at line 1:
ORA-01918: user 'U2' does not exist
SQL> drop user u3 cascade;
drop user u3 cascade
ERROR at line 1:
ORA-01918: user 'U3' does not exist
SQL> drop role aRole;
drop role aRole
ERROR at line 1:
ORA-01919: role 'AROLE' does not exist
SQL>
SQL>
SQL> select user from dual;
USER
SYS
1 row selected.
SQL>
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Solaris: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
5 rows selected.
SQL>
SQL> create user u1 identified by u1 default tablespace users
2 quota unlimited on users;
User created.
SQL>
SQL> create user u2 identified by u2 default tablespace users
2 quota unlimited on users;
User created.
SQL>
SQL> create role aRole;
Role created.
SQL>
SQL> create user u3 identified by u3 default tablespace users;
User created.
SQL>
SQL> grant aRole to u3;
Grant succeeded.
SQL>
SQL> alter user u3 default role all;
User altered.
SQL>
SQL> grant create session to u3;
Grant succeeded.
SQL>
SQL> create table u1.t1(c1 number);
Table created.
SQL>
SQL> create table u2.t1(c1 number);
Table created.
SQL>
SQL> grant select on u2.t1 to u1;
Grant succeeded.
SQL>
SQL> create or replace view u1.bv1 as
2 select u1.t1.c1 as c1 ,u2.t1.c1 as c2
3 from u1.t1, u2.t1 where u1.t1.c1 = u2.t1.c1;
View created.
SQL>
SQL> grant select on u1.bv1 to aRole;
Grant succeeded.
SQL>
SQL> create or replace view u1.gv1 as select * from u1.t1;
View created.
SQL>
SQL> grant select on u1.gv1 to aRole;
Grant succeeded.
SQL>
SQL> connect u3/u3
Connected.
SQL>
SQL> select * from u1.bv1;
select * from u1.bv1
ERROR at line 1:
ORA-01031: insufficient privileges
SQL>
SQL> select * from u1.gv1;
no rows selected
SQL>
SQL> spool offUser u1 cannot do a grant on a view to other user if the view uses tables from other schemas unless you do a "with grant option" grant.
You need to do the following to make it work:
SQL> grant select on u2.t1 to u1 with grant option;
Grant succeeded.
SQL> -
Hi All,
I have to select from a maintenance view which is well defined (in ABAP DDIC).
The problem is :
<b>
System is throwing a error saying the view is NOT defined in ABAP DDIC.
</b>
What can be the possible reason for this.
Can we <b>NOT</b> select from maintainance views ?
Please advice.
Regards,
AnirbanHI,
There is no harm in making use of view ...
Can you please let us know the view which you are making use of ??
Regards,
Santosh -
How to bind to a dynamic View in UIX
I wish to have a UIX page access data from a dynamic View (i.e. the View is created at runtime). Since the View is not created at design time, I cannot create bindings for it in the UIX page's UIModel. Therefore, how do I reference this view in the UIX page?
BradSanjay,
No -- but I'm experimenting with something simillar to what you mention. Actually, there is a way to iterate over each element if you made the childData attribute of your contents child of the messageChoice your rangeSet, i.e.:
<messageChoice>
<contents childData="${bindings.myIterator.rangeSet}">
<option text="${uix.current.myfield}"/>
</contents>
<messageChoice>
The problem is that this causes a problem with the subsequent submit, the current row, and what selection shows when the page is re-rendered. I am becoming more convinced because of this and some other things I've run into that there are either problems with using ViewLinks, or problems in UIX components where ViewLinks are involved. I'm pretty much abandoning use of ViewLinks altogether. I haven't seen much of anything work with them that isn't done exactly like tutorials and examples. And with regards to those, most tutorials and examples offer very little UIX help (most of them are JSPs), and even the ones that do have in-a-vaccuum style in-line databinding rather than database databinding (you'd think Oracle, a database company, might actually use database examples), which doesn't clarify a bunch of issues someone writing a reall application runs into.
As to an answer -- no unfortunately. Getting an answer to any ADF/UIX question is a time-consuming, frustrating, and most often fruitless process. Of my 45 some-odd posts on this forum, about 30 of them are unresponded-to posts.
B -
MySQL: SELECT * FROM with a Variable from an HTML form
Hello,
I would like to insert the variable "find" from the HTML form below in the MySQL "SELECT * FROM" query beneath it. In other words, where the word "santafe" appears below, I would like to insert the variable "$find." But I can't quite get it to work. How do I do it?
Thanks in advance,
John
<form action="tsearch11.php" method="post">
<label>Enter Topic:
<input type="text" name="find" size="55"/>
<input type="hidden" name="searching" value="yes" />
<input type="submit" name="search" value="Search" />
</label>
</form>
Then, on tsearch11.php:
<?
mysql_connect("mysqlv3", "username", "password") or die(mysql_error());
mysql_select_db("sand2") or die(mysql_error());
$find = strip_tags($find);
$find = trim ($find);
$t = "SELECT * FROM santafe";
$y = mysql_query($t);
?>Putting a form variable in a SQL query to look for table or column names requires an extra level of security. You need to create an array of the valid names, and check that the form variable is in that array.
$find = get_magic_quotes_gpc() ? stripslashes($_POST['find']) : $_POST['find'];
$find = mysql_real_escape_string(trim($find));
// create an array of valid table names
$tables = array('santafe', 'sanfernando', 'guadalupe');
// check that the variable is in the permitted array
if (in_array($find, $tables)) {
$t = "SELECT * FROM $find";
$y = mysql_query($t);
} else {
$error = 'Sorry, you selected an invalid table.';
In the page itself, check whether $y exists before using it. Otherwise display the error:
if (isset($y)) {
// display the results
} elseif (isset($error)) {
echo $error; -
Where to find "Define field selection for Individual approval view" in ECC5
Hi,
I'm trying to find where I can configure the columns for the managers approval view in the backend in ECC5.
Time sheet>Setting for all user interfaces>Approval procedure>Approve working times> Define field selection for Individual approval view, doesn't appear to exist.
Any help appreciated.
RobRob,
Try this:
IMG->Integration with Other mySAP.Com Components->Business Packages/Functional Packages->Manager Self-Service (mySAP ERP)->Working Time->Approve Working Time->Define Field Selection from Individual Approval View
Alternatively use SM34 and go to view cluster VC_PT_FIELD_SELECTION and enter the screen area as CTS.
Hope this helps. Good luck.
Regards,
Raj.
Maybe you are looking for
-
When I print an A3 document it leaves a gap at the top, this doesn't happen with A4. I've checked that the header and footer is unticked, appreciate any help thanks
-
How can I export 1080i in best possible quality for internet streaming?
Sorry, I'm not too knowledgeable about this but I have Final Cut 6.0.4 and use/captured in HD-1080i. What's the best possible way to export this in great quality for internet streaming? What dimensions should I use? Any help would be extremely apprec
-
Hi Guys. I'm having problems with the quality of my menu in encore. The original file was designed at 3000x2400 pixels and at 300 DPI. Once I import it into encore and a menu and render it out. It loses all its quality and becomes heavily distorted.
-
Bug Whenever a computer is not connected to the internet and email has been written in Apple Mail while it's in offline mode and the application closed and then re-opened in "Offline" mode, Mail attempts to send mail sitting in the outbox nevertheles
-
[SOLVED] Chromuim: Gtk-WARNING **: cannot open display:
I've just tried to install chromium, but the program doesn't start. From terminal I recieve this: [7183:7183:4023157347:FATAL:chrome/browser/browser_main.cc(537)] Check failed: profile. Cannot get default profile. Abortito trying as root: [federico@g