FJ Software Foren-Übersicht  
 Homepage   •  Suchen   •  FAQ   •  Mitgliederliste   •  Registrieren   •  Login
 Minor bugs in VCF import / export (maybe) Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Neues Thema eröffnenDieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.
Autor Nachricht
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Mo Mai 15, 2006 12:01 Antworten mit ZitatNach oben

It's my first post and before asking about a possible bug, I must congratulate for this unique and very solid tool for SE phones.

I'm using the VCF import feature for address book and I notice that if the street field contains a comma, an escape backslash is added before it.

In example:

Via Mazzini, 34

becomes:

Via Mazzini\, 34

The backslash is shown only on the phone, not in myphoneexplorer. Using the comma this way is very common in Italy for addresses.

Another issue is that the exporting of a single entry in VCF format does not work, it does nothing (it works if exporting the entire address book, or using another format).

I'm building on my own the VCF file to import to the phone (I use and excel sheet as my address book and then periodically update my phone generating the VCF file using VBA): should I worry about the X-IRMC-LUID field? Now I'm ignoring it and everything works fine... it seems.

Thanks again for your program!

Franco Fassio
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31498
Wohnort: Tirol

BeitragVerfasst am: Mo Mai 15, 2006 13:28 Antworten mit ZitatNach oben

Hy Franco

SE-Phones has two different ways to interpret VCF-Data, for the old phones (k700, etc..) its not needed to code the comma with a backslash. My W800 needs this backslash to decode the line.

Open the file C:\Documents and Settings\<user>\Appdata\MyPhoneExplorer\general.ini in Notepad. Search for the line ForceEncodeExVCF=. If your phone is listed in this line then take it off, else add it. Then start MyPhoneExplorer and try it again.

Note - you will need Version 1.4.1 for this hack.
Please tell me which phone you're using and and if its working after the change.

Best Regards FJ
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Mo Mai 15, 2006 15:43 Antworten mit ZitatNach oben

My phone is a K600 (firmware R2AB002) and your hack works well! I just removed "K600" from ForceEncodeExVCF, restared and everything worked smooth.

I'm so impressed by your program and your fast support for this issue that I just donated a (small) amount using paypal, you deserve it.

I think MPE is quite better than FMA... maybe less "bells & whistles" but much more solid!

I take this chance to let you know that K600 phone does not support the secondary address (work). If I understand, there is some setting in general.ini to disable this feature too, am I right?

Let me know if you need test to test some specific features / issue on this model of phone, if I can help... by the way I cannot sync the clock with internet, I get the message: "The time could not be set in the phone!"

Thanks again and Kind Regards,

Franco
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31498
Wohnort: Tirol

BeitragVerfasst am: Mo Mai 15, 2006 16:11 Antworten mit ZitatNach oben

Hy Franco

Thanks for reply and thanks for your donation. I will take of the K600 from the new VCF-Style. The issua bout the secondary workaddress is known, but the K600 supports 3 mailaddys i think. "3 mails" and "Workaddress" is linked in the general.ini to the same value, so better you let this be.

Bout the Clocksync - please try it and send me the logfile, then can i look whats going wrong.

Best regards FJ
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Mo Mai 15, 2006 17:39 Antworten mit ZitatNach oben

Yes, K600 supports the 3rd email address.

About the logfile: I found the "write logfile" setting in the options but I was unable to find the file... where is it saved? Sad
Benutzer-Profile anzeigenPrivate Nachricht senden
user_deleted
Gast





BeitragVerfasst am: Mo Mai 15, 2006 18:24 Antworten mit ZitatNach oben

C:\Programs\MyPhoneExplorer\Debug.txt

br ...
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Mi Mai 17, 2006 09:11 Antworten mit ZitatNach oben

Below you can find the log file about the time sync issue. About the log location, I suggest you to move somewhere else in the future or whenever possibile. If the program writes something in "c:\program files" folder, you cannot run it with "USER" privileges but you need to be an "ADMINISTRATOR". Maybe you are wondering why this is an issue... I attended to a Microsoft Security Conference where they talked about the ultimate anti-virus strategy: don't let the viruses act as administrator of your system!
You can read more here:
http://nonadmin.editme.com/

Sorry for the off-topic.. but I think it's worth reading!

Anyway, back to the phonebook issues: when I import a whole phonebook file again, MPE offers the choice to make an intelligent import based on contact name.

Well, if the name of the contact in an existing entry is not a single word but two or more word separated by spaces, when reading back the phone bok MPE considers just the first word to be the name and all the rest to be the family name. The problem comes when importing the same contact again: MPE think is a new contact! Maybe that SE does not make difference between first and last name putting all together and so MPE cannot argue the difference? At the moment I fixed this issue by replacing spaces with undercores ("_") in name. I hope I was able to clearly explain this issue.

Thanks again and regards!



Code:

Logdatei MyPhoneExplorer
************************
Programmversion: 1.4.1
Datum:   17/05/2006


08:45:44.99       Setting Port: 22
08:45:44.99       Setting Baud: 921600
08:45:45.01       Avaiable Ports: COM1=\Device\Serial0; COM2=\Device\Serial1; COM20=\Device\BthModem3; COM21=\Device\BthModem1; COM22=\Device\BthModem2; COM23=\Device\BthModem4; COM24=\Device\BthModem0; COM25=\Device\BthModem5;
08:45:45.18       frmSplash geladen
08:45:45.68       Mainfenster wird geladen
08:45:45.88       Sidebar fertig geladen
08:45:45.88       Aktiviere Subclassing
08:45:45.98       UC SMS wird geladen
08:45:46.04       UC Phonebook wird geladen
08:45:46.07       UC Phonebook fertig geladen
08:45:46.07       UC Calls wird geladen
08:45:46.18       UC Organizer wird geladen
08:45:46.32       DoItemupdate
08:45:46.32       Terminberechnung fertig
08:45:46.37       DoItemUpdate fertig
08:45:46.40       UC Filebrowser wird geladen
08:45:46.48       UC Notes wird geladen
08:45:46.48       UC Calls wird geladen
08:45:46.54       Setting Lastuser: Sony Ericsson K600 [356841002448485]
08:45:46.54       Load Userdatabase: Sony Ericsson K600 [356841002448485]
08:45:46.91       DoItemupdate
08:45:46.91       Terminberechnung fertig
08:45:46.98       DoItemUpdate fertig
08:45:46.99       Clearmessages
08:45:46.99       SMS - Datenbank wird geladen...
08:45:47.01       SMS Laden  - Readfile: 0 Split: 0 Parse: 15 HandleMultiSMS: 0 Nachrichten: 20
08:45:47.34       Mainfenster fertig geladen
08:45:49.96       Neue COM-Bibliothek wird verwendet
08:45:52.54       Settimeout: RT=2000 WT=200
08:45:53.04       Port 22 wurde geöffnet !
08:45:53.88 [TX]: AT+CGSN
08:45:53.98 [RX]: AT+CGSN

08:45:53.98 [RX]: 356841002448485
08:45:53.98 [RX]: OK
08:45:53.98       Settimeout: RT=10000 WT=1000
08:45:53.99 [TX]: AT+CGMI
08:45:54.09 [RX]: AT+CGMI

08:45:54.09 [RX]: Sony Ericsson
08:45:54.09 [RX]: OK
08:45:54.10 [TX]: ATI
08:45:54.13 [RX]: ATI

08:45:54.13 [RX]: Sony Ericsson K600
08:45:54.13 [RX]: OK
08:45:54.15 [TX]: AT+CSCS="UTF-8"
08:45:54.16 [RX]: AT+CSCS="UTF-8"

08:45:54.16 [RX]: OK
08:45:54.18 [TX]: AT+CNMI=2,1,0,1
08:45:54.20 [RX]: AT+CNMI=2,1,0,1

08:45:54.20 [RX]: OK
08:45:54.21 [TX]: AT*ECAM=1
08:45:54.23 [RX]: AT*ECAM=1

08:45:54.23 [RX]: OK
08:45:54.24 [TX]: AT+CBC
08:45:54.27 [RX]: AT+CBC

08:45:54.27 [RX]: +CBC: 0, 51
08:45:54.29 [RX]: OK
08:45:54.29 [TX]: AT+CSQ
08:45:54.32 [RX]: AT+CSQ

08:45:54.32 [RX]: +CSQ: 99,99
08:45:54.34 [RX]: OK
08:45:54.34       Alle Verbindungsaktionen beendet
08:45:54.34       Suche Memorystick: A:\ C:\ D:\ E:\ G:\ N:\ O:\ P:\ Q:\ R:\ S:\ T:\ V:\ W:\ Z:\
08:45:54.34       Suche abgeschlossen:
08:45:58.90 [TX]: AT*EDST?
08:45:58.99 [RX]: AT*EDST?

08:45:58.99 [RX]: *EDST: 1
08:45:58.99 [RX]: OK
08:45:58.99 [TX]: AT+CCLK?
08:45:59.05 [RX]: AT+CCLK?

08:45:59.05 [RX]: +CCLK: "06/05/17,08:45:55+04"
08:45:59.05 [RX]: OK
08:45:59.12 [TX]: AT+CSDF?
08:45:59.20 [RX]: AT+CSDF?

08:45:59.20 [RX]: +CSDF: 1,1
08:45:59.20 [RX]: OK
08:45:59.21 [TX]: AT*ESTF?
08:45:59.27 [RX]: AT*ESTF?

08:45:59.27 [RX]: *ESTF: 1
08:45:59.27 [RX]: OK
08:46:01.55 [TX]: AT*EDST=1
08:46:01.63 [RX]: AT*EDST=1

08:46:01.63 [RX]: OK
08:46:01.65 [TX]: AT+CCLK="06/05/17,08.46.03+04"
08:46:01.71 [RX]: AT+CCLK="06/05/17,08.46.03+04"

08:46:01.71 [RX]: ERROR
08:46:04.34       Settimeout: RT=900 WT=200
08:46:04.34 [TX]: AT+CBC
08:46:04.41 [RX]: AT+CBC

08:46:04.41 [RX]: +CBC: 0, 51
08:46:04.41 [RX]: OK
08:46:04.43 [TX]: AT+CSQ
08:46:04.45 [RX]: AT+CSQ

08:46:04.45 [RX]: +CSQ: 99,99
08:46:04.46 [RX]: OK
08:46:07.45       Port 22 wird geschlossen
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31498
Wohnort: Tirol

BeitragVerfasst am: Mi Mai 17, 2006 18:49 Antworten mit ZitatNach oben

Hy Franco

Some beta's ago i placed the logfile also in users appdata-folder. Then i decided to use the programdirectory again. Simple reason: For a standard-user its maybe to complicated to find the logfile - the programfolder can be found by everyone. But i have an idea: I could add in the options a button like "Show logfile". This button would open the logfile in notepad.

The problem with the addressimport i doesn't understand. It's right, MPE compares not directly First and Lastname. It puts the tags together: Firstnam<space>Lastname. Please explain the problem with other words Wink. Maybe a sample would help.

The bug with the clocksync is fixed, i think i will upload in a few days one more release for 1.4 (i hope its the last)

Best regards FJ
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
user_deleted
Gast





BeitragVerfasst am: Mi Mai 17, 2006 21:56 Antworten mit ZitatNach oben

Hi Franco,

Zitat:
Well, if the name of the contact in an existing entry is not a single word but two or more word separated by spaces, when reading back the phone bok MPE considers just the first word to be the name and all the rest to be the family name. The problem comes when importing the same contact again: MPE think is a new contact! Maybe that SE does not make difference between first and last name putting all together and so MPE cannot argue the difference?


I don't know the K600 but on the K750i there's an option in the phone to set the order for syhnchronisation:
Contacts > Options > Advanced > Sync.order.
There you can choose "by first name" or "by last name".

This did solve the sorting problem in my case. Maybe there's a fitting option in the K600?

br ...
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Do Mai 18, 2006 12:19 Antworten mit ZitatNach oben

FJ hat Folgendes geschrieben:
Hy Franco
I could add in the options a button like "Show logfile". This button would open the logfile in notepad.


If think this is the right idea!

Zitat:

The problem with the addressimport i doesn't understand. It's right, MPE compares not directly First and Lastname. It puts the tags together: Firstnam<space>Lastname. Please explain the problem with other words Wink. Maybe a sample would help.


Sorry FJ, english is not my mother language... Smile I'll try with an example.

1. Let's say you have a friend called James Tiberius Kirk and so you add an entry with MPE:
First name: James Tiberius
Last name: Kirk
Mobile: 1701 or whatever Smile

2. Just after sync, if you edit his entry, you will find:
First Name: James
Last Name: Tiberius Kirk
(Tiberius moved in the "last name field")

3. Using the phone you don't notice the difference, since First and last name are connected altoghether, but when you try to import a full updated list of your contacts, with some new entry new or modified but most of them untouched, MPE now thinks that (speaking VCARD language) "N:Tiberius Kirk;James" is a different guy from "N:Kirk;James Tiberius" so it adds a new entry!

4. As a workaround, at the moment I just add the entry this way:
First name: James_Tiberius
Last name: Kirk
... with an underscore instead of a space

Now I'll try to change the sync order, as suggested by Mr.Deauville...

Zitat:

The bug with the clocksync is fixed, i think i will upload in a few days one more release for 1.4 (i hope its the last)


Many thanks and best regards...!
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31498
Wohnort: Tirol

BeitragVerfasst am: Do Mai 18, 2006 21:09 Antworten mit ZitatNach oben

Hy Franco

I tried it out and it worked correct. MPE doesn't matter name or lastnam. MPE only compares "James Tiberius Kirk".

Maybe after the sync with the phone there is something like an extraspace ? Please do following: Send me the two contacts which should be compared but mpe doesn't compare this. So i can look if there is an extrachar or something else.

By the way - i noticed a Bug. You cannot export a single contact to vcf. So export two contacts. (Bug is already fixed)
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Fr Mai 19, 2006 11:44 Antworten mit ZitatNach oben

Today I forgot the phone at home, so I cannot make tests now and during the weekend I will not have free time Sad

Anyway, I can anticipate you that the "James Tiberius Kirk" was an example to simplify the issue... wait a minute, let me check, I have a VCF file exported some days ago...

BEGIN:VCARD
VERSION:2.1
N:(ospedale);.Amedeo Di Savoia
TEL;WORK:+390114393111
ADR;HOME:;;Corso Svizzera, 164;Torino;TO;;;
NOTE:orario 7.30-10.00
END:VCARD
BEGIN:VCARD
VERSION:2.1
N:(ristorante);.Amici Miei
TEL;WORK:+390115069961
ADR;HOME:;;C.so V.Emanuele II, 94;Torino;TO;10121;;
END:VCARD
BEGIN:VCARD
VERSION:2.1
N:(rist.);.Antica Brus. Pautasso
TEL;WORK:+390114332641
ADR;HOME:;;VIa Cesana, 54;Torino;TO;;;
END:VCARD
BEGIN:VCARD
VERSION:2.1
N:(blocco f.orario);.Banca Sella
TEL;WORK:+39800822056
NOTE:L-V 8.30 13.30 14.45 15.45 / Elena
END:VCARD

For these contacts. the first name begins with a dot (to fool the sorting criteria and group together a bunch of contacts in the alphabetical list and keep separated friends from restaurants, banks,...) and the last name is surrounded by parenthesis. Also, as you can see, names and surnames can have dots in between a be made of 2 or 3 separate words.

BTW, "Amici Miei" is a good suggestion for a pizzeria, if you will ever plan to visit Turin Smile
Benutzer-Profile anzeigenPrivate Nachricht senden
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Di Mai 23, 2006 12:20 Antworten mit ZitatNach oben

Checked again with 1.4.3... I can confirm you that with VCF entries like those listed in my previous post, the intelligent import option is fooled. Can you reproduce this problem?
Benutzer-Profile anzeigenPrivate Nachricht senden
FJ
Site Admin


Anmeldedatum: 15.02.2006
Beiträge: 31498
Wohnort: Tirol

BeitragVerfasst am: Di Mai 23, 2006 17:35 Antworten mit ZitatNach oben

No, please send me the vcf-File, like i said it in prevous posts
Benutzer-Profile anzeigenPrivate Nachricht sendenE-Mail sendenICQ-Nummer
Donald70



Anmeldedatum: 15.05.2006
Beiträge: 20

BeitragVerfasst am: Di Mai 23, 2006 17:59 Antworten mit ZitatNach oben

Step to reproduce this issue:

1. Import the following VCF file in MPE

BEGIN:VCARD
VERSION:2.1
N:Kirk;James Tiberius
TEL;CELL:1701
X-IRMC-LUID:000200000696
END:VCARD

2. Sync to the phone

3. Now try to import the same file again

4. MPE will think the entry is a modified one (you can see the pencil icon next the entry), so on the next sync it will send the entry again to the phone.

------------

In effect I made a mistake in my previous posts: I said that these reimported entries appears are duplicated as new (it was an issue already solved by myself, when fields are longer than the maximum allowed...) but in effect they appears just as modified.

So it's not an issue as I wrote, but just a little slowdown, since I periodically reimport VCF files generated by an xls sheet so tenths of entries need to be sent again to the phone even if they are untouched... I can live with that Smile

Thanks
Benutzer-Profile anzeigenPrivate Nachricht senden
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnenDieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.


 Gehe zu:   



Nächstes Thema anzeigen
Vorheriges Thema anzeigen
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.

Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme :: Alle Zeiten sind GMT + 1 Stunde
Deutsche Übersetzung von phpBB.de