Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #51 (permalink)  
Old 10-31-2007, 05:47 PM
Moderator
 
Posts: 6,237
Default

(well the RC1 zimlet works so nice...)

If you we're wondering, the api used in ymaps.js is Yahoo! Maps Web Services - Map Image API and not Yahoo! Maps Web Services - Simple API Reference Manual that everyone sees first when they visit the ymaps devel site.

So my first thought was: "well maybe http://api.local.yahoo.com/MapsService/V1/ moved to .maps. http://api.maps.yahoo.com/Maps/V1/ or http://local.yahooapis.com/MapsService/V1/mapImage"
But either http://api.local.yahoo.com/MapsServi...yvale&state=CA or http://local.yahooapis.com/MapsServi...yvale&state=CA works just fine.
You can substitute in &location="whatever" just fine in that url - which is what ymaps.js uses because it's way easier to work with.
So that's not it.

My next thought was, did results coming back from yahoo change?
As it would be funny if it's not handling the .maps. in gws.maps.yahoo.com properly. When that bug was filed it was gws.local.yahoo.com.
Using .local. or just leaving it out doesn't work: http://gws.yahoo.com/MapImage?appid=...mw=620&imh=500
But this does work fine: http://gws.maps.yahoo.com/MapImage?a...mw=620&imh=500
Though it seems to just be looking for the contents between https://gws & </Result> so it wouldn't matter anyways.
unless it's a gzip problem?

I'm told there's no logged changes in perforce recently to the 4.5.x zimlet itself & hasn't been touched in svn for 10+ months. Thus that would lead me to believe it's stuff the zimlet is calling that might have changed.

In a debug window I get Com_Zimbra_YMaps URL: /service/proxy?target=http%3A%2F%2Fapi.local.yahoo.com%2FMa psService%2FV1%2FmapImage etc etc

Firebug shows the same GET request but no return (highlights it red) with reference to /zimbra/js/Ajax_all.js.zgz line 1439
Which is like:
Quote:
if(_152){
for(var i in _152){
this.__httpReq.setRequestHeader(i,_152[i]);
}
}
this.__httpReq.send(_150);
if(_156){
return this.id;
}else{
if(this.__httpReq.status==200){
return {text:this.__httpReq.responseText,xml:this.__httpR eq.responseXML,success:true};
}else{
return {text:this.__httpReq.responseText,xml:this.__httpR eq.responseXML,success:false,status:this.__httpReq .status};
}
}
};
Proxy service issues?

(Also, I did check the allowed domains, and even set to it * just to avoid any issues. Dump work folder, dump services zimlet folder -the usual etc etc)

Keep an eye on: Bug 20436 - Yahoo Maps Zimlet does not display map image.

I just can't seem to find a pattern as to what version upgraded to what works vs. what upgraded to what fails vs. what fresh works/fails etc.

Last edited by mmorse; 11-06-2007 at 04:53 PM..
Reply With Quote
  #52 (permalink)  
Old 11-01-2007, 03:24 AM
Special Member
 
Posts: 105
Default

Quote:
Originally Posted by mmorse View Post
Similar to what you have?[/URL]
Mine never has worked. Granted, I was on the trial version for 60 days, now the NE with subscription. I never pursued it until now, but don't know if its related. When the upgrade to 4.5.9 runs, it reverts your system backup to the 5 default zimlets, and removed the rest, so it would appear to me to be why everyone is realizing this on 4.5.9. Its like running a fresh deploy all over again, or the procedure you listed.

I don't have any COS other than the default, and one test one, so eveything is applied to the default. I'll be around.
Reply With Quote
  #53 (permalink)  
Old 11-01-2007, 08:56 AM
Moderator
 
Posts: 6,237
Default

After an upgrade only "default" zimlets are installed:
- all zimlets from /opt/zimbra/zimlets
- all zimlets from /opt/zimbra/zimlets-network, for NE

Workaround-
For extras zimlets you always want installed:
ln -s /opt/zimbra/zimlets-extra/com_zimbra_whatever.zip /opt/zimbra/zimlets/com_zimbra_whatever.zip

Now on each upgrade your custom and extra zips will always get reinstalled.
Bug 8711 - Custom Zimlets not found after upgrade

----
Ymaps:
It seems to be hit-and-miss, so Bug 20436 - Yahoo Maps Zimlet does not display map image. may be re-examined shortly.

Last edited by mmorse; 11-12-2007 at 06:56 AM..
Reply With Quote
  #54 (permalink)  
Old 11-29-2007, 09:07 AM
Elite Member
 
Posts: 281
Default

ok. I have two questions Is the bug fixed and where can I get the Yahoo Maps zimlet if it is?

dj
Reply With Quote
  #55 (permalink)  
Old 11-29-2007, 09:09 AM
Moderator
 
Posts: 6,237
Default

It's marked as fixed, you'll need to upgrade to 4.5.10 as server side changes were involved.

Last edited by mmorse; 12-10-2007 at 08:26 AM..
Reply With Quote
  #56 (permalink)  
Old 11-29-2007, 09:14 AM
Moderator
 
Posts: 6,237
Default

Don't know if you were asking this...but once you upgrade (don't forget a backup!) simply:
cd /opt/zimbra/zimlets-extra/
su zimbra
zmzimletctl deploy com_zimbra_ymaps.zip
(and be sure it's enabled on your COS)

Last edited by mmorse; 12-10-2007 at 08:41 AM..
Reply With Quote
  #57 (permalink)  
Old 12-10-2007, 08:24 AM
Special Member
 
Posts: 163
Default Simply does not work...

6567 kinne rd dewitt ny

nope

91 ladd road mexico ny 13114

nope

Am I doing something wrong?
thanks
timg
Reply With Quote
  #58 (permalink)  
Old 12-10-2007, 08:32 AM
Moderator
 
Posts: 6,237
Default

Seems fine to me, 4.5.10 composed in text mode:
(added a zip to one of those)

Last edited by mmorse; 04-14-2008 at 08:57 PM..
Reply With Quote
  #59 (permalink)  
Old 12-10-2007, 08:35 AM
Special Member
 
Posts: 163
Default .10....

I guess I had better maker certain that .10 is where I'm at...
Reply With Quote
  #60 (permalink)  
Old 12-10-2007, 08:37 AM
Moderator
 
Posts: 6,237
Default

preferred, via the command line:
Code:
su zimbra
zmcontrol -v
or in the main search bar of the advanced (ajax) web-client enter:
Code:
$set:get version
http://www.zimbra.com/forums/announc...r-profile.html
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.