Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

Problems after upgrading to Sierra, High Sierra, Mojave, or Catalina? Try these steps
Problems after upgrading to NeoOffice 2017? Try these steps
Download or installation problems? Try these steps


Support
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


RSS Feeds
· Announcements Only
· All Posts


  
NeoOffice :: View topic - probable conflict w/neolight, NeoOffice & OOo on same sy
probable conflict w/neolight, NeoOffice & OOo on same sy
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoLight Development
View previous topic :: View next topic  
Author Message
EJ
Agent


Joined: Jan 08, 2006
Posts: 11

PostPosted: Thu Jan 19, 2006 10:37 am    Post subject: probable conflict w/neolight, NeoOffice & OOo on same sy Reply with quote

OOo 2.0.1
OS X 10.4.3

The neolight Spotlight plugin appears to have installed just fine...

I have a file: BA_Guide_v1.odt

The file contains a referenced quote by Karl E. Wiegers.

When I search for Weigers in Spotlight, I don't get a hit on the document.

So, I re-run the import manually and I see an apparent error in the import, but no obvious pointer to the problem:

Eric-Johnsons-Computer:/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide% sudo /usr/bin/mdimport -d3 BA_Guide_v1.odt
Password:
2006-01-19 11:16:38.911 mdimport[15606] Attributes of file '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' before import: {
"_kMDItemImporterCrashed" = <null>;
"com_apple_metadata_modtime" = 159325594;
kMDItemContentCreationDate = 2006-01-12 22:28:50 -0700;
kMDItemContentModificationDate = 2006-01-18 18:06:34 -0700;
kMDItemContentType = "org.oasis.opendocument.text";
kMDItemContentTypeTree = ("org.oasis.opendocument.text", "public.content", "public.data", "public.item");
kMDItemDisplayName = {"" = "BA_Guide_v1.odt"; };
kMDItemKind = {"" = Document; };
}
2006-01-19 11:16:38.913 mdimport[15606] Import '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' type 'org.oasis.opendocument.text' using 'file://localhost/Library/Spotlight/neolight.mdimporter/'
2006-01-19 11:16:38.914 mdimport[15606] Importer indicated failure for file '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt'
2006-01-19 11:16:38.916 mdimport[15606] Sending attributes of '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' to server. Attributes: '{
"com_apple_metadata_modtime" = 159325594;
kMDItemContentCreationDate = 2006-01-12 22:28:50 -0700;
kMDItemContentModificationDate = 2006-01-18 18:06:34 -0700;
kMDItemContentType = "org.oasis.opendocument.text";
kMDItemContentTypeTree = ("org.oasis.opendocument.text", "public.content", "public.data", "public.item");
kMDItemDisplayName = {"" = "BA_Guide_v1.odt"; };
kMDItemKind = {"" = Document; };
}'

----

The failure message is meaningless to me. I will try with -d4 and see if I can get some helpful detail.

Anyone seen anything like this? Any help much appreciated.

--EJ


Last edited by EJ on Thu Jan 19, 2006 1:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
EJ
Agent


Joined: Jan 08, 2006
Posts: 11

PostPosted: Thu Jan 19, 2006 10:48 am    Post subject: Here's the output of mdimport -d4 Reply with quote

Eric-Johnsons-Computer:/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide% sudo /usr/bin/mdimport -d4 BA_Guide_v1.odt
2006-01-19 11:44:55.007 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/AppleWorks.mdimporter/' for type com.apple.appleworks.cwk
[snip]
2006-01-19 11:44:55.020 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.neooffice.writer
2006-01-19 11:44:55.020 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.neooffice.calc
2006-01-19 11:44:55.020 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.neooffice.impress
2006-01-19 11:44:55.020 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.neooffice.draw
2006-01-19 11:44:55.020 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.oasis.opendocument.text
2006-01-19 11:44:55.020 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.oasis.opendocument.spreadsheet
2006-01-19 11:44:55.021 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.oasis.opendocument.graphics
2006-01-19 11:44:55.021 mdimport[18886] loading sniffer 'file://localhost/Library/Spotlight/neolight.mdimporter/' for type org.oasis.opendocument.presentation
[snip]
2006-01-19 11:44:55.093 mdimport[18886] Plugin 'Spotlight/neolight.mdimporter/ -- /Applications/Office_and_Business/NeoOfficeJ.app/Contents/Library/' UUID already claimed by 'file://localhost/Library/Spotlight/neolight.mdimporter/'
[snip]
2006-01-19 11:44:55.539 mdimport[18886] Attributes of file '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' before import: {
"_kMDItemImporterCrashed" = <null>;
"com_apple_metadata_modtime" = 159388403;
kMDItemContentCreationDate = 2006-01-12 22:28:50 -0700;
kMDItemContentModificationDate = 2006-01-19 11:33:23 -0700;
kMDItemContentType = "org.oasis.opendocument.text";
kMDItemContentTypeTree = ("org.oasis.opendocument.text", "public.content", "public.data", "public.item");
kMDItemDisplayName = {"" = "BA_Guide_v1.odt"; };
kMDItemKind = {"" = Document; };
}
2006-01-19 11:44:55.541 mdimport[18886] Import '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' type 'org.oasis.opendocument.text' using 'file://localhost/Library/Spotlight/neolight.mdimporter/'
2006-01-19 11:44:55.543 mdimport[18886] Importer indicated failure for file '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt'
2006-01-19 11:44:55.544 mdimport[18886] Sending attributes of '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' to server. Attributes: '{
"com_apple_metadata_modtime" = 159388403;
kMDItemContentCreationDate = 2006-01-12 22:28:50 -0700;
kMDItemContentModificationDate = 2006-01-19 11:33:23 -0700;
kMDItemContentType = "org.oasis.opendocument.text";
kMDItemContentTypeTree = ("org.oasis.opendocument.text", "public.content", "public.data", "public.item");
kMDItemDisplayName = {"" = "BA_Guide_v1.odt"; };
kMDItemKind = {"" = Document; };
}'
Eric-Johnsons-Computer:/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide%
Back to top
View user's profile Send private message
EJ
Agent


Joined: Jan 08, 2006
Posts: 11

PostPosted: Thu Jan 19, 2006 10:54 am    Post subject: UUID already claimed error? Reply with quote

Is it possible there's a Spotlight conflict involving MIME-type or creator mapping between my NeoOffice installation and my OOo 2.0.1 installation?

Again, any help much appreciated.
Back to top
View user's profile Send private message
EJ
Agent


Joined: Jan 08, 2006
Posts: 11

PostPosted: Thu Jan 19, 2006 12:34 pm    Post subject: Or should I say UTI? Reply with quote

Haven't quite got my head around UTIs, but I'm guessing some mucking about with them in neolight's info.plist may resolve the issue... Or, not. The problem is what to change, where, what are the risks, etc...

Some pointers regarding the neolight info.plist would be appreciated. Maybe I'll try to change all the NeoOffice references to OOo 2.x... For anyone that may read this later, I'm also investigating this bug:

http://bugzilla.neooffice.org/bug.php?op=show&bugid=894

And reading up on UTIs at:

http://arstechnica.com/reviews/os/macosx-10.4.ars/11

As an aside, I didn't realize how much I would love Spotlight. The indexing/searching of OOo/NeoJ 1.x stuff works brilliantly. Thanks to the developer (Edward Peterlin, I'm assuming) for putting this together. Now I just need to get over the hurdle with OOo 2.x files. Once done, I will be one step closer to computing bliss. In the meantime I will be tinkering with undocumented configuration files and trying to decypher cryptic error messages. Ironic, huh?

--EJ
Back to top
View user's profile Send private message
EJ
Agent


Joined: Jan 08, 2006
Posts: 11

PostPosted: Thu Jan 19, 2006 1:02 pm    Post subject: Reply with quote

Looks like I probably have the problem licked...

- I uninstalled neolight, NeoOfficeJ and OOo 2.0.1
- Re-installed just OOo 2.0.1.
- Re-installed neolight

Spotlight/neolight now seem to be finding the file appropriately. I'm going to have Spotlight re-index my drive, but I think I should be fine. If others can verify this NeoOfficeJ - OpenOffice 2.x conflict with neolight, I'd suggest add ing a comment in the release notes or even checking for the potential problem in the installer script.

Thanks again to Edward for putting this together.

--EJ
Back to top
View user's profile Send private message
EJ
Agent


Joined: Jan 08, 2006
Posts: 11

PostPosted: Thu Jan 19, 2006 1:36 pm    Post subject: Reply with quote

By the way, when I re-run the mdimport, this is what I see:

:/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide% sudo /usr/bin/mdimport -d3 BA_Guide_v1.odt
Password:
2006-01-19 13:58:46.518 mdimport[6345] Attributes of file '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' before import: {
"_kMDItemImporterCrashed" = <null>;
"com_apple_metadata_modtime" = 159396693;
kMDItemContentCreationDate = 2006-01-12 22:28:50 -0700;
kMDItemContentModificationDate = 2006-01-19 13:51:33 -0700;
kMDItemContentType = "org.oasis.opendocument.text";
kMDItemContentTypeTree = ("org.oasis.opendocument.text", "public.content", "public.data", "public.item");
kMDItemDisplayName = {"" = "BA_Guide_v1.odt"; };
kMDItemKind = {"" = Document; };
}
2006-01-19 13:58:46.520 mdimport[6345] Import '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' type 'org.oasis.opendocument.text' using 'file://localhost/Library/Spotlight/neolight.mdimporter/'
/usr/bin/unzip -p "/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt" "content.xml"
/usr/bin/unzip -p "/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt" "meta.xml"
/usr/bin/unzip -p "/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt" "styles.xml"
2006-01-19 13:58:46.794 mdimport[6345] Sending attributes of '/Users/ej/Work/SDT_Tech/4. Artifacts_Templates_Examples/Business_Analyst_Guide/BA_Guide_v1.odt' to server. Attributes: '{
"_kMDItemImporterCrashed" = <null>;
"com_apple_metadata_modtime" = 159396693;
kMDItemAuthors = ("Eric Johnson", "Eric Johnson");
kMDItemContentCreationDate = 2006-01-12 22:28:50 -0700;
kMDItemContentModificationDate = 2006-01-19 13:51:33 -0700;
kMDItemContentType = "org.oasis.opendocument.text";
kMDItemContentTypeTree = ("org.oasis.opendocument.text", "public.content", "public.data", "public.item");
kMDItemDisplayName = {"" = "BA_Guide_v1.odt"; };
kMDItemKind = {"" = Document; };
kMDItemTextContent = "Writing Good Requirements Many organizations assume that anyone can write good requirements. They are half right; anyone can write requirements.
[snip]

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

One additional FYI, it appears that an embedded spreadsheet is not indexed when the parent or containing document is indexed. I don't see this as a problem, just a limitation that's good to know about.

Cheers...
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11841
Location: California, USA

PostPosted: Thu Jan 19, 2006 1:48 pm    Post subject: Reply with quote

EJ wrote:
- I uninstalled neolight, NeoOfficeJ and OOo 2.0.1


If you were using NeoOffice/J 1.1, you had a very old copy of the NeoLight plugin installed. NeoOffice 1.2 Beta is the current release and it bundles the latest version of the NeoLight plugin.

Patrick
Back to top
View user's profile Send private message Visit poster's website
EJ
Agent


Joined: Jan 08, 2006
Posts: 11

PostPosted: Thu Jan 19, 2006 11:51 pm    Post subject: Reply with quote

My NeoJ install was from ~November and I just recently (yesterday) installed neolight via the latest standalone neolight installer. Not sure that helps.

I haven't been using NeoJ much lately, since I need some of the new features in OOo Calc (like Validity lists). This means I can't say for sure whether I was using the old NeoJ 1.1.2 code line or not. I can boot a system backup and check it, if there's significant interest.

I can say for certain that the neolight code is/was the latest.

--EJ
Back to top
View user's profile Send private message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11841
Location: California, USA

PostPosted: Fri Jan 20, 2006 8:15 am    Post subject: Reply with quote

EJ wrote:
My NeoJ install was from ~November and I just recently (yesterday) installed neolight via the latest standalone neolight installer. Not sure that helps.


Yes, but the binary was built in June 2005 so it had the NeoLight plugin as of that date. As of that date, OOo's ODF file formats were still being tweaked as was NeoLight's code.

EJ wrote:
I haven't been using NeoJ much lately, since I need some of the new features in OOo Calc (like Validity lists). This means I can't say for sure whether I was using the old NeoJ 1.1.2 code line or not. I can boot a system backup and check it, if there's significant interest.


You don't need to use Neo/J for its bundled NeoLight plugin to work as the plugin gets registered when you install Neo/J. After that, even if you never launch Neo/J, Mac OS X knows about the bundled plugin and may use it.

Not that that is necessarily the real problem. It might very well be that Mac OS X cannot handle having two or more Spotlight plugins installed that are mapped to the same document types.

Patrick
Back to top
View user's profile Send private message Visit poster's website
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Tue Jan 24, 2006 9:18 pm    Post subject: Reply with quote

OS X cannot deal with mutiple applications claiming the same UTI type for documents. whatever plugins or applications get assigned responsibility for a shared type is up to the operating system and Spotlight.

It's the same issue as setting which application responds when double clickng a file in the Finder. We can't fix the crackheaded behaviour of an operating system service that isn't designed to handle multiple applications that can understand the same file type.

AFAIK, the plugin works, go complain to Apple Very Happy

ed
Back to top
View user's profile Send private message Visit poster's website AIM Address
bezvardis
Keymaker


Joined: Dec 10, 2004
Posts: 89
Location: Latvia

PostPosted: Tue Jul 25, 2006 10:03 am    Post subject: Reply with quote

I noticed the same thing with spotlight not finding odt files by content. I have OOo on my machine but I don't really need it. I rather have functional spotlight. So I understand - I could get spotlight finding odt files if I uninstall OOo. So how do I do this? Is trashing the application enough? Or should I remove some additional files as well?
Back to top
View user's profile Send private message
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Tue Jul 25, 2006 11:38 am    Post subject: Reply with quote

bezvardis wrote:
So I understand - I could get spotlight finding odt files if I uninstall OOo. So how do I do this? Is trashing the application enough? Or should I remove some additional files as well?

OOo is irrelevant here, since it doesn't ship with a Spotlight importer.

Either you have a version of standalone NeoLight installed, or an old version of Neo installed (probably Neo/J), and this importer is interfering with the current importer in NeoOffice 1.2.2 or 2.0 Alpha 4 (whichever of the latter you have)--or Spotlight is fubared Razz

Remove any old versions and trigger a reindex, and that should get Spotlight to find ODF files, AIUI.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
View user's profile Send private message Visit poster's website
bezvardis
Keymaker


Joined: Dec 10, 2004
Posts: 89
Location: Latvia

PostPosted: Wed Jul 26, 2006 3:45 am    Post subject: Reply with quote

sardisson wrote:
Either you have a version of standalone NeoLight installed, or an old version of Neo installed (probably Neo/J)
Smokey


Thank you - I think this solved the issue. I trashed Neo/J and re-indexed the parts where the 'missing' odt files were and now Spotlight can find the files I need.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    NeoOffice Forum Index -> NeoLight Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.03 Seconds