Reply
Thread Tools
Posts: 13 | Thanked: 20 times | Joined on Apr 2012
#71
Awesome app. Thanks!
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#72
Hi wwwjfy.
I tried to use your app in my script (N9Qtweak), but have some problem...
I extracted your file smsbackuprestore from deb and put him to /usr/bin
When I try to run this command: smsbackuprestore export /home/user/MyDocs/SMSCALL/SMS/smsbackup I always get this error: smsbackuprestore: Permission denied
Same error I get if i run by this way:
devel-su user -c "smsbackuprestore export /home/user/MyDocs/SMSCALL/SMS/smsbackup"
or
develsh -c "smsbackuprestore export /home/user/MyDocs/SMSCALL/SMS/smsbackup"
or
/usr/bin/smsbackuprestore export /home/user/MyDocs/SMSCALL/SMS/smsbackup
or
devel-su user -c "/usr/bin/smsbackuprestore export /home/user/MyDocs/SMSCALL/SMS/smsbackup"
or
develsh -c "/usr/bin/smsbackuprestore export /home/user/MyDocs/SMSCALL/SMS/smsbackup"

Why I always get Permission denied ? Can you help me please ?
Thanks
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#73
i'd got the same error when wwwfy uploaded the callbackuprestore file. we tried many steps but it failed (previous pages). finally when he put it in a deb file it worked. i think tt's why its failing at your end too with the smsbackuprestore
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#74
Now i tried run this command before:
chmod +x /usr/bin/smsbackuprestore
I think it's worked, but now i got this output:
Code:
Choose 1 or 2: 1
QTrackerDirectSelectResult: QSparqlError(9, "GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.119" (uid=0 pid=2675 comm="smsbackuprestore export /home/user/MyDocs/SMSCALL/") interface="org.freedesktop.Tracker1.Steroids" member="Query" error name="(unset)" requested_reply=0 destination="org.freedesktop.Tracker1" (uid=29999 pid=1153 comm="/usr/lib/tracker/tracker-store "))", 4) "SELECT ?channel  nie:subject(?channel)  nie:generator(?channel)  nie:identifier(?channel)  nie:title(?channel)  ?_lastDate   ( SELECT COUNT(?_total_messages_1)    WHERE {      ?_total_messages_1 nmo:communicationChannel ?channel .      ?_total_messages_1 nmo:isDeleted false .  })  ( SELECT COUNT(?_total_unread_messages_1)    WHERE {      ?_total_unread_messages_1 nmo:communicationChannel?channel .      ?_total_unread_messages_1 nmo:isRead false .      ?_total_unread_messages_1 nmo:isDeleted false .  })  ( SELECT COUNT(?_total_sent_messages_1)    WHERE {      ?_total_sent_messages_1 nmo:communicationChannel ?channel .     ?_total_sent_messages_1 nmo:isSent true .     ?_total_sent_messages_1 nmo:isDeleted false .  })  ?_lastMessage   (SELECT GROUP_CONCAT(   fn:concat(tracker:id(?contact), "\u001e",            tracker:coalesce(nco:nameGiven(?contact), ""), "\u001e",               tracker:coalesce(nco:nameFamily(?contact), ""),    "\u001d",              tracker:coalesce(nco:nickname(?contact), ""),              "\u001d",              tracker:coalesce(?nicknames, "")),     "\u001c")   WHERE {    SELECT ?contact   (SELECT GROUP_CONCAT(fn:string-join((nco:imID(?addr), ?nickname), "\u001f"), "\u001e")    WHERE {      ?contact nco:hasAffiliation [ nco:hasIMAddress ?addr ] .       ?addr nco:imNickname ?nickname .     }) AS ?nicknames     WHERE {   {      ?part nco:hasIMAddress ?address .   ?contact nco:hasAffiliation [ nco:hasIMAddress ?address ] .     } UNION {      ?part nco:hasPhoneNumber [ maemo:localPhoneNumber ?number ] .       ?contact nco:hasAffiliation [ nco:hasPhoneNumber [ maemo:localPhoneNumber ?number ] ] .     }}  }) AS ?contacts   rdf:nil   fn:string-join((nmo:messageSubject(?_lastMessage),nie:plainTextContent(?_lastMessage)),"\u001e")  nfo:fileName(nmo:fromVCard(?_lastMessage))  rdfs:label(nmo:fromVCard(?_lastMessage))  rdf:type(?_lastMessage) AS ?_type   nmo:deliveryStatus(?_lastMessage) AS ?_deliveryStatus   ?_lastModified   nmo:sentDate(?_lastMessage)WHERE {  {    SELECT ?channel ?_lastDate ?_lastModified ?part   ( SELECT ?_message WHERE {        ?_messagenmo:communicationChannel ?channel .        ?_message nmo:isDeleted false .        ?_message nmo:sentDate ?messageSentDate .      } ORDER BY DESC(?messageSentDate) DESC(tracker:id(?_message))    LIMIT 1) AS ?_lastMessage     WHERE    {     GRAPH <commhistory:message-channels> {    ?channel a nmo:CommunicationChannel .}      ?channel nmo:lastMessageDate ?_lastDate.      ?channel nie:contentLastModified ?_lastModified .      ?channel nmo:hasParticipant ?part .           }  }}ORDER BY DESC(?_lastDate)"
"GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules;type="method_call", sender=":1.119" (uid=0 pid=2675 comm="smsbackuprestore export /home/user/MyDocs/SMSCALL/") interface="org.freedesktop.Tracker1.Steroids" member="Query" error name="(unset)" requested_reply=0 destination="org.freedesktop.Tracker1" (uid=29999 pid=1153 comm="/usr/lib/tracker/tracker-store "))"
And this created empty file named "smsbackup"..
Any ideas?
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#75
in your output it shows comm="smsbackuprestore export /home/user/MyDocs/SMSCALL/") but you were trying to export to /home/user/MyDocs/SMSCALL/SMS/smsbackup. something strange here. how did the SMS folder be bypassed or does the SMS folder actually exist.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#76
SMS folder exist and the empty backup file created here.. Don't know what the problem..
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#77
Now i tried with this command:
develsh -c "smsbackuprestore export /home/user/MyDocs/SMSCALL/SMS/smsbackup"

It's started with this:
Code:
hoose 1 or 2: 1
libqtcontacts-tracker: initializing libqtcontacts-tracker 4.18.2-1+0m7 for /usr/bin/smsbackuprestore [3063]
libqtcontacts-tracker: queue.cpp:104: The taskqueue's background thread stalled
libqtcontacts-tracker: queue.cpp:104: The taskqueue's background thread stalled
it's work something like 5 min and still don't stop Don't know if this ok..
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#78
i've had that happen to me several times before. it never stops. it just does a partial backup. in this case a complete uninstall, reboot and re-install was the only solution.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#79
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#80
yup just close the terminal. once that error comes the backup has actually stopped.
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 22:33.