Closed
Bug 905656
Opened 11 years ago
Closed 11 years ago
vcf file freeze on import
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect, P1)
Tracking
(blocking-b2g:koi+)
RESOLVED
DUPLICATE
of bug 904973
blocking-b2g | koi+ |
People
(Reporter: hub, Assigned: sergi)
References
Details
(Keywords: perf, Whiteboard: [c= p= s= u=1.2])
Attachments
(1 file)
1.12 MB,
text/vcard
|
Details |
Copy the attached vcf onto the sdcard In contact, select import from sdcard The import will "hang". A the cancel button will not work. (the vcf has been generated with a Perl script of my own from a CSV file coming from "FakeNameGenerator")
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sergi.mansilla
Reporter | ||
Comment 1•11 years ago
|
||
I get this in logcat. I/Gecko ( 618): I/Gecko ( 618): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv I/Gecko ( 618): E/GeckoConsole( 618): [JavaScript Error: "[Exception... "'Error: no message manager set' when calling method: [nsIObserver::observe]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: no]"] 618 is the pid for the b2g process.
Reporter | ||
Comment 2•11 years ago
|
||
The error is more trivial that that. In "contacts_settings.js" in the onFiles() function, VCFReader is unknown.
Reporter | ||
Comment 3•11 years ago
|
||
um. Forget that last comment. This is not the case.
Reporter | ||
Comment 4•11 years ago
|
||
I forgot to mention: this is master (1.2) built from source on Inari.
Reporter | ||
Comment 5•11 years ago
|
||
Related: bug 903971
Comment 6•11 years ago
|
||
Is VCF import required for 1.2? If so, should this block Koi?
blocking-b2g: --- → koi?
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #6) > Is VCF import required for 1.2? If so, should this block Koi? Related bug is leo+, so I guess it might be.
Comment 8•11 years ago
|
||
I'd bet that this is due to the amount of contacts. I ran into this issue whil debugging bug 903971. After discussing with sergi, he started to rewrite the vCard importing using a stream approch. I've just successfully tested it on a dataset of 6000 contacts. It's still early work, but at least the import went through instead of blocking. So there is good chances that this bug will get fixed with this new streaming import.
Reporter | ||
Comment 9•11 years ago
|
||
What's the bug for the new streaming import?
Comment 10•11 years ago
|
||
You should ask sergi, I'm not sure there's one yet.
Flags: needinfo?(sergi.mansilla)
Assignee | ||
Comment 11•11 years ago
|
||
Hi, Progress on this can be followed on https://bugzilla.mozilla.org/show_bug.cgi?id=904313. Hubert, try to see if you have that problem with that branch. It should be stable enough to see if it solves it.
Flags: needinfo?(sergi.mansilla)
Reporter | ||
Comment 12•11 years ago
|
||
I definitely goes further. I get "1/5000" displayed. But then it doesn't move.
Updated•11 years ago
|
Status: NEW → ASSIGNED
blocking-b2g: koi? → koi+
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Whiteboard: [c= p= s= u=][perf-reviewed]
Updated•11 years ago
|
Priority: -- → P1
Assignee | ||
Comment 13•11 years ago
|
||
Ok, I am working on it and getting somewhere. The investigation and review of the patch will be happening in https://bugzilla.mozilla.org/show_bug.cgi?id=904973 from now on.
Updated•11 years ago
|
Whiteboard: [c= p= s= u=][perf-reviewed] → [c= p= s= u=1.2]
Comment 14•11 years ago
|
||
Sergi, are you still working on this? thanks
Flags: needinfo?(sergi.mansilla)
Assignee | ||
Comment 15•11 years ago
|
||
This issue is now being handled at https://bugzilla.mozilla.org/show_bug.cgi?id=904973.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(sergi.mansilla)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•