QSettings::Sync: filename is null/empty

Lately, I think: since the big testing-to-current operation, I've been getting error messages like this every time I open an application:
QSettings::Sync: filename is null/empty
QSettings::Sync: filename is null/empty
QSettings::Sync: filename is null/empty
QSettings::Sync: filename is null/empty
QSettings::Sync: filename is null/empty
QSettings::Sync: filename is null/empty
Sometimes they only show up when I open the program from a console, other times (e.g. with the KDE System Guard), a warning window pops up.
I see from the Trolltech support site (http://www.trolltech.com/developer/knowledgebase/642/) that this is caused by QSettings not being able to find the settings file, in any of the locations in the path, but it doesn't say which file it's looking for.
Can anyone help me out here? The programs work without problem, but the error message tells me something is wrong...
I don't know if it's related, but I've also had problems with making shortcut settings in KMail stay - they seem to be correctly entered in the various config/rc files, but they won't remain - sometimes not from session to session, other times not even for the duration of a single session.

I have got fixed. http://www.trolltech.com/developer/knowledgebase/642/
Owner of qtrc in /home/myusername/.qt/qtrc was root
So eyolf change it to your username if it's same in your case.
Last edited by Mindaugas (2007-04-21 01:26:10)

Similar Messages

  • Passing null/empty values from a actionscript VO to a Coldfusion ORM object

    This is the situation.
    If you have an actionscript VO that binds to a Coldfusion ORM object via the RemoteClass metadata and some of the values are not set, null, or empty strings and you pass it from Flex to Coldfusion then the Coldfusion deserialization barfs saying the values are not acceptable date values (for type="date") or valid emails (for validation="email") or other such validations, even if required="false" on the property.
    For instance, if you have the following actionscript VO:
    package vo
        [RemoteClass(alias="com.companyname.Person")]
        [Bindable]
        public class Person
            public var person_id:Number;
            public var last_name:String;
            public var first_name:String;
            public var email:String;
            public var created_date:date;
         public function Person() {}
    And you have the corresponding Coldfusion component:
    <cfcomponent displayname="person" output="false"
        alias="com.companyname.Person"
        schema="dbo" persistent="true"
        table="PERSON">
        <cfproperty name="person_id" type="numeric" fieldtype="id" validate="integer" required="true" column="PERSON_ID"/>
        <cfproperty name="last_name" type="string" column="LAST_NAME" required="true"/>
        <cfproperty name="first_name" type="string" required="true" column="FIRST_NAME"/>
        <cfproperty name="email" type="string" validate="email" required="false" column="EMAIL"/>
        <cfproperty name="date_created" type="date" required="false" column="DATE_CREATED"/>
    </cfcomponent>
    Then if you pass the actionscript VO as is to Coldfusion, the deserialization complains that you do not have a valid email or a valid date for date_created.  This is bad, bad, bad.  Essentially if you have a validation of certain types (email being one) or a date property, or probably some other cases, then you essentially can not make it not required, it automatically makes it required because the Coldfusion serializer considers null/empty values as invalid dates or emails.  But the serializer should not care for values that are not required, there has to be a way to pass null/empty values to these data types, but apparently there's not.  If you pass an empty string ("") you still have the same problem.  I know Coldfusion does not have null values, but there has to be a way to do this, otherwise it defeats the purpose of having required="false" and some kind of validation on the property.
    There seems to be two ways around it.  One is to override the implicit setters for the properties on the Coldfusion side and check for 0 length values yourself, then set the property if it is not, or create your own validation routine.  I ended up creating my own validation function since I didn't want to have to write a setter function for everyone of these cases and I can pass back user friendly validation messages.
    Have other people encountered this problem?  How have you gotten around it?  Thanks.

    I realize that I didn't clarify that I am using ColdFusion
    for getting the data. This class was generated by the Create CFC
    wizard in Flex Builder.
    package com.generated
    [Managed]
    [RemoteClass(alias="components.generated.clients.Clients")]
    public class Clients
    public var clientid:Number = 0;
    public var clientfirstname:String = "";
    public var clientlastname:String = "";
    public var clientaddress1:String = "";
    public var clientaddress2:String = "";
    public var clientcity:String = "";
    public var clientstate:String = "";
    public var clientzip:String = "";
    public var clientphone:String = "";
    public var clientemail:String = "";
    public function Clients()
    }

  • Passing null/empty values from Flex to a Coldfusion ORM object

    This is the situation.
    If you have an actionscript VO that binds to a Coldfusion ORM object via the RemoteClass metadata and some of the values are not set, null, or empty strings and you pass it from Flex to Coldfusion then the Coldfusion deserialization barfs saying the values are not acceptable date values (for type="date") or valid emails (for validation="email") or other such validations, even if required="false" on the property.
    For instance, if you have the following actionscript VO:
    package vo
        [RemoteClass(alias="com.companyname.Person")]
        [Bindable]
        public class Person
            public var person_id:Number;
            public var last_name:String;
            public var first_name:String;
            public var email:String;
            public var created_date:date;
         public function Person() {}
    And you have the corresponding Coldfusion component:
    <cfcomponent displayname="person" output="false"
        alias="com.companyname.Person"
        schema="dbo" persistent="true"
        table="PERSON">
        <cfproperty name="person_id" type="numeric" fieldtype="id" validate="integer" required="true" column="PERSON_ID"/>
        <cfproperty name="last_name" type="string" column="LAST_NAME" required="true"/>
        <cfproperty name="first_name" type="string" required="true" column="FIRST_NAME"/>
        <cfproperty name="email" type="string" validate="email" required="false" column="EMAIL"/>
        <cfproperty name="date_created" type="date" required="false" column="DATE_CREATED"/>
    </cfcomponent>
    Then if you pass the actionscript VO as is to Coldfusion, the deserialization complains that you do not have a valid email or a valid date for date_created.  This is bad, bad, bad.  Essentially if you have a validation of certain types (email being one) or a date property, or probably some other cases, then you essentially can not make it not required, it automatically makes it required because the Coldfusion serializer considers null/empty values as invalid dates or emails.  But the serializer should not care for values that are not required, there has to be a way to pass null/empty values to these data types, but apparently there's not.  If you pass an empty string ("") you still have the same problem.  I know Coldfusion does not have null values, but there has to be a way to do this, otherwise it defeats the purpose of having required="false" and some kind of validation on the property.
    There seems to be two ways around it.  One is to override the implicit setters for the properties on the Coldfusion side and check for 0 length values yourself, then set the property if it is not, or create your own validation routine.  I ended up creating my own validation function since I didn't want to have to write a setter function for everyone of these cases and I can pass back user friendly validation messages.
    Have other people encountered this problem?  How have you gotten around it?  Thanks.

    Looks like a known workaround to this issue is to wrap the Flex object in an array.
    The ColdFusion CFC will accept that as an array, with the first an only element being a struct, which is the object you built in Flex.

  • Safari won't sync the bookmark - After Sync the bookmarks stays empty

    Safari won't sync the bookmark - After Sync the bookmarks stays empty
    I have tried replacing what is on the ME server over my current iMac , but no luck there.
    Is there a way of reseting the bookmark?

    Did I sound completely looney? Not a single suggestion.
    For anyone interested or NOT
    I fixed the problem by updating firmware on my Airport Extreme. Its true, that was the problem. huh,

  • Remove null & empty values

    I created a report with multiple fields. I would like to create a generic formula in which it evaluates all the values and if it found a null or empty value it will be replaced by a 'N/A'. I was searching in the forums and I found the following formula
    if  (isnull() or ( ='')) then
           "Display the required text"
    else
    when I tried to use it i had an error that the value must be boolean. Is there is a way where  I can change all the fields as string?? and a assign "N/A"
    or
    how can I assign a "N/A"to a boolean field??
    also  I have approx. 140 fields to evaluate, does the formula can be generic or I will need to create a formula for each variable??
    thanks

    Usually when Crystal runs across a field that is NULL, it immediately stops executing the formula, unless the field is enclosed within IsNull().  However, I'm not sure if that is the case for a parameter being passed to a function.  So, you may be able to create a function like (Formula Workshop -> Create Custom Functions -> Add; basic syntax):
    function DisplayString (inVal as string) as string
    if (isnull(inVal) or (inVal ='')) then
      DisplayString = "N/A"
    else
      DisplayString = inVal
    end if
    If Crystal does stop when passing a NULL value as a parameter, then you could code a similar function (without the isnull()), and check the Convert NULL Database Values to Default option on the File -> Report Options panel.
    You would need to create one such function for each data type that you want to show "N/A" for, and for data types other than string, convert the value to a string when it is not null.
    These functions could then be used in the Display String formula for the field on the report.
    The only other way I can think of achieving this would be to base the report(s) on an SQL Command and convert NULL values to "N/A" there.  It might be a bit easier to do in an SQL Command, but probably not a whole bunch.
    Or, educate your users that when nothing is printed, it means that it's not applicable! 
    HTH,
    Carl

  • Null/Empty Strings use in ESB Database Adapter

    Hi
    I'm trying to use a database adapter to execute an update on a table with a composite primary key; one of the primary key columns sometimes contains an empty string, however whenever I try to call the adapter, it always converts this to a null value. Is there an easy way to force the adapter to use an empty string instead of a null?
    Thanks.

    the idea here is to execute the dbms statement, or the setpolicycontext statement in a db session, and being able to execute the next sql statement in the same db session.
    This is possible with consecutive database adapters sharing the same db session.
    and two db adapters sharing the same db session is possible, if you make sure that the bpel is participating in the db transaction which can be made possible via xa db connections.
    Hope this helps,
    Write back in case you need more info.

  • My synced photo albums are empty, why?

    I synced my photo albums from my computer but the are empty on my iPad and iphone

    I have the same problem. Latest iOS release (5.1.1 9B206). Latest Snow Leopard release (10.6.8). iPhoto 8.1.2 (424).
    Some albums synced from iPhoto show up by name on my iPhone 4S, but they are empty. The file extension problem referenced by one person here isn't what is happening in my case.
    I've tried unchecking the option in iTunes to sync photos, syncing, then rechecking the option, and syncing again. Problem still exists.

  • Log file sync waits with null sql_ids

    10.2.0.3
    I am querying V$ACTIVE_SESSION_HISTORY to drill into log file sync waits.
    select sql_id,sum(time_waited)
    from v$active_session_history
    where sample_time > sysdate - 1/24
    group by sql_id
    order by 2 desc
    All of my top sessions for this have null sql_ids. I did some google searches and these are the answers that I found have null sql_ids. There are some other sessions where the sql_id is not null, but they are not anywhere near the top.
    1. could be running pl/sql. yeah ok. but I would need to run 'dml' and issue a commit for this event to fire).
    2. no sql is running. does this mean the insert finished and then I am waiting on the 'commit' part?
    I want to track these sqls down so I can track them back to the application. I want to get the developers to limit their commit frequency and use batch (array based) DML. How do I track this down?
    Also, is there anyway to figure out how often different users are committing? I want to track back to the worst offenders. Could be some parts of the application are commit periodically and others are  not, but log file sync's could slow down everyone.

    You are either bored or suffer from Compulsive Tuning Disorder.
    It can be a challenge to solve  a problem that only exists between your ears
    post results from SQL below
    SELECT sql_id,
           SUM(time_waited) / 1000000
    FROM   v$active_session_history
    WHERE  sample_time > SYSDATE - 1 / 24
           AND time_waited > 0
    GROUP  BY sql_id
    ORDER  BY 2 DESC

  • LDAP user sync - CanonicalName is null

    Hi!
    I need to setup user sync from LDAP to LiveCycle. It seems to be very intuitive and easy, but ...
    I can connect LDAP well, but no users are transfered. I found the LDAP query was OK and LDAP response was OK. LiveCycle complains about:
    This record is missing a required attribute and cannot be used. Specifically CanonicalName is null. Common Name: Adam Agama
    The LDAP entry is:
    dn: cn=Adam Agama, ou=Users, o=My org,c=CZ
    o: My org
    givenName: Adam
    sn: Agama
    ou: Users
    mail: [email protected]
    userCertificate;binary:: MIIIODCCB....
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: opencaEmailAddress
    objectClass: pkiUser
    uid: [email protected]
    cn: Adam Agama
    What does the LiveCycle mean by CanonicalName? I have not seen such an attribute anywhere.
    Any help would be appreciated.
    --- Jaroslav Pavlicek

    I reply myself:
    When configuring LDAP connection, there are predefined templates for various LDAP types: SunOne, ActiveDirectory, IBM Domino, ...
    You probably must select one. If you don't, "Unique identifier" field would not appear on following page and you are not allowed to edit it. And also you would have no idea, what the Unique identifier is expected to be :)

  • How to validate incoming messages with mandatory field coming as null/empty

    Hi,
    I want to validate the incoming messages received by the file adpater.
    1. Need to check that all the mandatory fields(minoccurs=1) has values, else it should return fault. But what happening now is even though the mandatory fields are empty/null, file is being read by the file adapter and not getting faulted.
    2. I have tried using the Validate Activity/Assign Activity but this is a business fault and not sytem fault, hence no faults are auto generated.
    3. We are presently using the if/switch activity and putting the conditions manually in order to validate the mandatory fields and hence it is throwing the business faults explicitly.
    4. But if there is 200 fields mandatory out of 500 fields schema, then we need to hardocde manually all 200 fields. Please advise me if this is possible in any dynamic way.
    Thanks
    Edited by: 902781 on 15.mar.2012 07:33

    Dear vijay,
    This is my xsd::
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="0"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="0"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I tried the above xsd as well as
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="1"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="1"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    But instance is getting completed even though the mandatory string field(element 1) is empty/null like:
    <element1></element1>
    What I feel is, string will accept all the values whether it is int, date, long and in the same way it is accepting null character.
    Please let me know if you have any solutions to overcome this.
    Thanks again.

  • Entourage & iCal Calendars in Sync but .Mac Calendar Empty

    I am able to sync my Entourage and iCal calendars between my two machines with no problem but my .Mac calendar is empty though it displays the correct name for the calendar when I access it at http://ical.mac.com/[myname]/[calendar name]. Can anyone help me please? Is this an iDisk problem? I have closed down and rebooted both machines but this hasn't made any difference.

    I would also like to know what to do about this as I am having the exact same problem. 
    If I upgrade to Lion will it import all the calendars from the iCloud?
    or Can i get everything back without having to upgrade?

  • Can i sync my ipod to empty itunes

    so my songs got deleted off of my itunes library on my computer. is there a way that i can plug my ipod into the computer and it will sync the songs on my ipod onto the itunes library? i have windows xp if that matters

    If your iPod is set to update automatically you need to take care connecting to an empty iTunes. You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes 7 installed hold down the Control and Alt keys (or Shift + Ctrl keys in older versions). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes 7 Keyboard Shortcuts for Windows
    Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it. Also when using most of the utilities listed below your iPod needs to be enabled for disc use, changing to manual update will do this by default. Check the "manually manage music and videos" box in Summary then press the Apply button: Managing content manually on iPod
    Once you are safely connected there are a few things you can do to restore your iTunes from the iPod. If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows. The procedure is a bit involved and was written long before iTunes 7 so it requires a little adaptation, also it won't recover playlists but if you're interested it's posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. This is just a selection, you'll find that they have varying degrees of functionality and some will transfer movies, videos, photos and games as well. Have a look at the web pages and documentation, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    YamiPod Mac and Windows Versions
    iGadget Windows Only
    iPod Access Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    TuneJack Windows Only
    CopyPod Windows Only
    Tansee iPod Transfer Windows Only
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up in case you have problems again. External drives are comparatively inexpensive these days and you can get loads of storage for a reasonable outlay.

  • Setting a null(empty) binary stream in a PreparedStatement

    How can I bind a null binary stream into a PreparedStatement?
    In the following, if pMap is null how do I bind it? If I try to serialize a null pMap I get and error that not all columns bound.
    if(pMap == null)
    else
    byte[] _bytes = SerializeUtility.serializeObject(pMap);
    pStatement.setBinaryStream(pColCount, new ByteArrayInputStream(_bytes), _bytes.length);
    Thanks,
    David

    I was too close to the monitor, couldn't see the big picture ! :-) Now it works.
    Although, I still get that Websphere error:
    7c7fc721 SharedPool I J2CA0086W: Shareable connection MCWrapper id 31c73d Managed connection comm.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@2e55c73d State:STATE_TRAN_WRAPPER_INUSE from resource jdbc/ds was used within a local transaction containment boundary.
    It use to work fine, no errors.
    Any ideeas??
    mihut

  • Exchange Sync - Certain folders are empty, some calendar/Invites not synced

    We currently have several people getting their Exchange emails on the iPhone utilizing ActiveSync.
    However, we have one user who says that his Trash folder is empty while another user complains that her Sent folder is empty. The respective folders in Outlook (PC) are full of messages that are not downloaded to their iPhone. They don't have problem with subfolders they have created under the inbox, just the trash and/or Sent folder.
    How does one get iphone to force download messages in either folder?
    Also, one of the user also says that one invited meeting was accepted on the iPhone but never appeared on his Outlook.
    Is this an iphone or Microsoft ActiveSync problem?
    Any help is appreciated!

    Anyone?

  • HT1451 Syncing iPod to library, will not sync. Wants to empty contents of iPod

    Ive downloaded all purchased songs out of the cloud, but have a lot of songs on my iPod that I want on my new desktop, How do I go about doing this?

    The  sync is one way - computer to ipod.  The only exception is itunes purchases:  File>Devices>Transfer Purchases

Maybe you are looking for

  • Premiere Elements 7: track matte key video effect does not work?

    I want to use the track matte key video effect to fade out some cropped video clips. So I did a test: first track: video clip second track: PNG file, black with white circle third track: video clip with FX with second track (here: Video 5) and lumina

  • WHAT IS WRONG WITH THIS BROWSER? I NO LONGER USE IT. IT SHOWS A TAB FOR THE EWEBISIT, I CAN'T GET TO IT. I GO I IE EXPLORER INSTEAD OFDEALIG WITH THIS

    == Issue == Firefox is having problems with certain web sites == Description == I HAVE TO USE ANOTHER BROWER. T5HIS HAPPEN WAY WYWA WAY TOO MUCHN. <blockquote>language cleaned up by a moderator - eh https://support.mozilla.com/en-US/kb/Forum+and+chat

  • Inactive cost center report

    Hello all, i wanted a list of my cost centers that are active only ( i dont want the inactive ones to be in this list). I couldnt find a indicator for this which i coudl use to distinguish active vs inactive. Plesae advice how we find this difference

  • Error in recalculation of Depreciation Ecc6

    Dear All, We have recently upgraded our test system to Ecc6 with support pack SAPKGPAD06. As suggested by Nathan Genez on SDN T code AFAR - Recalculate Values was executed for recalculation of Depreciation values. It has resulted in 19 assets in erro

  • Regarding ALV selection screen

    hi all, my issue: i have an alv report which has almost 10 paramters based on which the internal table will be populated. the two parameters are mandatory .. 4 are select options and 4 are radiobuttons. i think this will lead to a lot of select queri