Closed
Bug 400166
Opened 18 years ago
Closed 14 years ago
Kodak easy share hangs on loggin thru firefox
Categories
(Marketing :: General, task)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: cenci, Assigned: kinger)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
kodak easy share companion for firefox. The login thru firefox to kodak gallery will not login. It just continues to show it is loggin in. I do have an account with kodak. because I can loggin directly with kodak on their website. I have version 1.092 on the kodak companion. It did work at one time. I also have the latesdt java and firefox build. I have tried toi uninstall and reinstall it just wont auto loggin thru firefox it seems to just hang their.
Reproducible: Always
Steps to Reproduce:
1.open firefox
2.launch kodak companion
3. auto loggin just hangs
This happens with every theme I have.
Comment 1•18 years ago
|
||
The extension manager manages install / uninstall, upgrade, enable / disable of extensions and it is not responsible for the functionality an extension provides. Please report problems with extensions to the author of the extension.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•18 years ago
|
||
I did send this bug to the author Mozilla.org is the auther of this bug so please reopen and investigate further please
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
| Reporter | ||
Comment 3•18 years ago
|
||
(In reply to comment #1)
> The extension manager manages install / uninstall, upgrade, enable / disable of
> extensions and it is not responsible for the functionality an extension
> provides. Please report problems with extensions to the author of the
> extension.
>
This is being reported to the author of the extension which is mozilla.org so please look into this bug
Version: unspecified → 2.0 Branch
Comment 4•18 years ago
|
||
per cbeard over to Marketting
Assignee: nobody → pkim
Component: Extension/Theme Manager → General
Product: Firefox → Marketing
QA Contact: extension.manager → chofmann
Version: 2.0 Branch → unspecified
| Assignee | ||
Comment 5•18 years ago
|
||
Feel free to reassign to me if you want a fix. I will try and repro.
| Reporter | ||
Comment 6•18 years ago
|
||
I have only used bugzilla twice the first time it was a duplicate bug and you already had a fix for it. Will some one let me know when there is fix.
| Assignee | ||
Comment 7•18 years ago
|
||
I can not reproduce this on 2 systems:
- Windows Vista Business, Firefox 2.0.0.8
- Mac OS X 10.4.10, Firefox 2.0.0.7
I can log in to Kodak without problems.
Bill : Does the error console (Tools->Error Console) give any clues?
| Reporter | ||
Comment 8•18 years ago
|
||
It was in there twice when I just tried to login on sunday 10/21 at 19:22 pm
I don't know I will look. Error: pickupLog is not defined
Source File: chrome://pickup/content/js/services/kodak/kodakPhotoService.js
Line: 515
Error: pickupLog is not defined
Source File: chrome://pickup/content/js/services/kodak/kodakPhotoService.js
Line: 515 this is what I get when I try to log into kodak easy share
The error below was also in there I hope this help to narrow it down.
Error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFileOutputStream.init]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///D:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_writeFile :: line 2055" data: no]
Source File: file:///D:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
Line: 2055
| Reporter | ||
Comment 9•18 years ago
|
||
This is what is that file when I click on it I did not include the license block at the beginning
* kodakPhotoService Object:
* - implements the PhotoService interface for the kodak API
*/
/* Constructor
*/
function kodakPhotoService()
{
this.PM_URL = "http://www.kodakgallery.com/";
this.NEW_ACCOUNT_URL = "http://www.kodakgallery.com/Register.jsp?";
this.FRIENDLY_ID = "kodak.com";
this.SERVICE_NAME = "kodak";
this.FRIENDLY_NAME = "Kodak EasyShare Gallery";
this.XMI_VERSION = "3.0";
this.LOGIN_URL = "https://secure.xmi.kodakgallery.com/servlet/XMIDispatchServlet";
this.REST_URL = "http://xmi.kodakgallery.com/servlet/XMIDispatchServlet";
this.UPLOAD_URL = "http://xmiup.kodakgallery.com/servlet/PartnerUploadXMI";
this.UPLOAD_HOST = "xmiup.kodakgallery.com";
this.SUPPORTED_FILE_TYPES = "jpeg,jpg";
// URLs
// TODO FIXME var isn't a constant, shouldn't be CAPITALIZED
this.GALLERY_HOME = "";
this.supports = function(feature)
{
if (feature == this.SUPPORTS_PASSWORD_AUTH) return true;
if (feature == this.SUPPORTS_PHOTOSETS) return true;
if (feature == this.SUPPORTS_PHOTOSET_CREATE) return true;
if (feature == this.SUPPORTS_PHOTOSET_WO_PHOTO) return true;
if (feature == this.SUPPORTS_EDIT_AFTER_UPLOAD) return true;
if (feature == this.SUPPORTS_TITLES) return true;
if (feature == this.SUPPORTS_REMOVE_ON_UPLOAD) return true;
return false;
}
this.login = function (username, password)
{
this.username = username;
this.password = password;
this._kodak_login_withPassword(username, password, this.onLoginComplete, this.onLoginError);
}
this.getPhotosURL = function ()
{
this._kodak_get_user_urls(this.onGetPhotosURLComplete, this.onGetPhotosURLError);
}
this.getPhotosets = function ()
{
this._kodak_albums_get(this.onGetPhotosetsComplete, this.onGetPhotosetsError);
}
this.createPhotoset = function (title, primaryPhoto)
{
this._kodak_albums_create(title, this.onCreatePhotosetComplete, this.onCreatePhotosetError);
}
this.addPhotoToSet = function (photo, photosetId)
{
// adding to albums/photosets is done during upload
this.onAddPhotoToSetComplete();
}
this.uploadPhotos = function (photos)
{
service = this;
service._uploadedCount = -1;
service._uploadedPhotos = new Array();
service._uploadedBytes = 0;
service._totalBytes = 0;
service._pendingCancelUpload = false;
for (var i=0; i<photos.length; i++)
{
service._uploadedPhotos[i] = new Array();
for (var j in photos[i])
{
service._uploadedPhotos[i][j] = photos[i][j];
}
service._totalBytes += photos[i].filesize;
}
this._uploadNext(this);
};
// PRIVATE METHODS
this._uploadNext = function (service, req)
{
pickupLog.logMessage("_uploadNext");
if (service._pendingCancelUpload)
{
service._pendingCancelUpload = false;
return;
}
var photoId = 0;
// extract photo id from last request
if (req)
{
try
{
pickupLog.logMessage("_uploadNext - req response:");
pickupLog.logMessage(req.responseText);
var status = req.responseXML.getElementsByTagName("status").item(0).firstChild.nodeValue;
pickupLog.logMessage("_uploadNext - status is '" + status + "'");
if (status != "success")
{
if (req.responseXML.getElementsByTagName("message").item(0) && req.responseXML.getElementsByTagName("message").item(0).firstChild)
{
var message = req.responseXML.getElementsByTagName("message").item(0).firstChild.nodeValue;
service.onUploadPhotosError(message);
}
else
{
service.onUploadPhotosError(status);
}
return; // not sure if this is right thing to do ... if one fails, all uploads are stopped.
}
else
{
service._uploadedPhotos[service._uploadedCount].id = req.responseXML.getElementsByTagName("photoid").item(0).firstChild.nodeValue;
photoId = service._uploadedPhotos[service._uploadedCount].id;
}
}
catch(e)
{
pickupLog.logMessage(e);
pickupLog.logMessage(req.responseText);
service.onUploadPhotosError("An internal error occured while processing the response.");
return;
}
}
service._uploadedCount++;
service.onUploadPhotosProgressByCount(service._uploadedCount, service._uploadedPhotos.length, photoId, false);
if (service._uploadedCount >= service._uploadedPhotos.length)
{
// call the callback
service._kodak_get_user_urls(service.onUploadPhotosComplete);
service.onUploadPhotosComplete();
return;
}
if (!service._uploadedPhotos[service._uploadedCount])
{
service.onUploadPhotosError("No such photo: " + service._uploadedCount);
return;
}
pickupLog.logMessage("Going to upload photo " + service._uploadedCount + " \"" + service._uploadedPhotos[service._uploadedCount].url + "\"");
service._kodak_image_upload
(
service._uploadNext,
service.onUploadPhotosError,
service._uploadedPhotos[service._uploadedCount].url,
service._uploadedPhotos[service._uploadedCount].title,
service._uploadedPhotos[service._uploadedCount].photoset
);
}
this._kodak_login_withPassword = function (username, password, onComplete, onError)
{
var args = new Array();
args["EmailAddress"] = username;
args["Password"] = password;
args["APIKey"] = this._getSignature();
this._dispatchRequest(
"ofoto_login",
args,
function(service, req)
{
service.token = req.responseXML.getElementsByTagName("sessionid").item(0).firstChild.nodeValue;
pickupLog.logMessage("Kodak session ID = "+service.token);
service._isLoggedIn = true;
onComplete();
},
function(msg, code)
{
onError(msg, 0, service.FRIENDLY_NAME);
}
);
}
this._kodak_albums_get = function (onComplete, onError)
{
var args = new Array();
args.sessionid = this.token;
this._dispatchRequest(
"get_albums",
args,
function(service, req)
{
pickupLog.logMessage(req.responseText);
var albumElems = req.responseXML.getElementsByTagName("album");
service._photosets = new Array();
var albumCount = 0;
for (var i=0; i<albumElems.length; i++)
{
var title = "";
var id = 0;
var sample = false;
try
{
id = albumElems[i].getElementsByTagName('collectionid').item(0).firstChild.nodeValue;
title = albumElems[i].getElementsByTagName('title').item(0).firstChild.nodeValue;
sample = (albumElems[i].getElementsByTagName('sample').item(0).firstChild.nodeValue == "true");
}
catch (e)
{
}
if (!sample) {
service._photosets[albumCount] =
{
id: id,
title: title,
description: null
};
albumCount++;
}
}
onComplete(service._photosets);
},
onError
);
}
this._kodak_albums_create = function (aName, onComplete, onError)
{
var args = new Array();
args["sessionid"] = this.token;
args["name"] = aName;
//args["primary_photo_id"] = primaryPhoto.id;
args["description"] = ""; // for now
this._dispatchRequest (
"create_album",
args,
function(service, req)
{
var photosetId = req.responseXML.getElementsByTagName("collectionid").item(0).firstChild.nodeValue;
onComplete(photosetId, aName);
},
onError
);
}
this._kodak_get_user_urls = function (onComplete, onError)
{
var service = this;
var args = new Array();
args["APIKey"] = this._getSignature();
args["sessionid"] = this.token;
this._dispatchRequest (
"get_user_urls",
args,
function(service, req)
{
pickupLog.logMessage("get_user_urls response : "+req.responseText);
var urls = req.responseXML.getElementsByTagName("urls")[0];
if (!urls)
return;
for (var i=0; i<urls.childNodes.length; i++)
{
var utype = "";
var url = urls.childNodes[i];
try
{
utype = url.getElementsByTagName('type').item(0).firstChild.nodeValue;
uurl = url.getElementsByTagName('value').item(0).firstChild.nodeValue;
if (utype == "gallery_home") {
service.GALLERY_HOME = uurl;
service._lastPostUploadURL = uurl;
service.photosURL = uurl;
}
// else ... for more if needed later
}
catch (e) {
pickupLog.logMessage("Kodak : problem setting user URLs");
}
}
onComplete();
},
//onError
function (msg) {
alert(msg);
if (onError) onError;
}
);
}
this._kodak_image_upload = function (onComplete, onError, fileURL, title, albumID)
{
if (!onError) onError = function (msg) { alert(msg); }
var service = this;
var args = new Array();
args["method"] = "upload_photo";
args["fileURL"] = fileURL;
var ioService = Components.classes["@mozilla.org/network/io-service;1"].createInstance(Components.interfaces.nsIIOService);
var uri = fileURL ? ioService.newURI(fileURL, "", null) : null;
var fic;
if (uri instanceof Components.interfaces.nsIFileURL)
fic = uri.file;
args["fileName"] = fic.leafName;
if (title) args["Caption"] = title;
args["Caption"] = title ? title : args["FileName"];
//args["APIKey"] = this._getSignature();
//args["ResponseType"] = "REST";
args["sessionid"] = this.token;
args["AlbumID"] = albumID;
var packet = this._constructRequestXML(args);
var upargs = new Array();
upargs["ofoto_xml"] = packet;
var upload_request = this._prepare_upload_request(fileURL, upargs, true);
this._do_upload_request(upload_request, onComplete, onError);
}
/** moved to interface
this.abortUpload = function ()
{
if (this._outstream) this._outstream.close();
}
**/
this._constructRequestXML = function (pArgs)
{
for (var i in pArgs)
{
pArgs[i] = escapeHTML(pArgs[i]);
}
var packet = '<?xml version="1.0" ?>';
switch (pArgs.method) {
case "ofoto_login":
packet += '<partner_login action="'+pArgs.method+'" version="'+this.XMI_VERSION+'">';
packet += '<sourceid>'+pArgs.APIKey+'</sourceid>';
packet += '<userid>'+pArgs.EmailAddress+'</userid>';
packet += '<password>'+pArgs.Password+'</password>';
packet += '</partner_login>';
break;
case "get_albums": // See p.65 of Partner XMI Reference doc for what input fields mean
packet += '<partner_query action="'+pArgs.method+'" version="'+this.XMI_VERSION+'">';
packet += '<sessionid>'+pArgs.sessionid+'</sessionid>';
packet += '<request_type>0</request_type>';
packet += '<include_empty>true</include_empty>';
//packet += '<max_thumb>1</max_thumb>';
//packet += '<start>0</start>';
//packet += '<end>5</end>';
packet += '</partner_query>';
break;
case "upload_photo":
packet += '<partner_upload action="'+pArgs.method+'" version="'+this.XMI_VERSION+'">';
packet += '<sessionid>'+pArgs.sessionid+'</sessionid>';
packet += '<auto_submit>false</auto_submit>';
var uploadSource = gBrandBundle.getString('kodak.uploadsource');
pickupLog.logMessage("uploadSource : "+uploadSource);
packet += '<upload_source>'+uploadSource+'</upload_source>';
packet += '<caption>'+pArgs.Caption+'</caption>';
packet += '<sequence>1</sequence>';
packet += '<collectionid>'+pArgs.AlbumID+'</collectionid>';
packet += '</partner_upload>';
break;
case "get_user_urls":
packet += '<partner_config action="'+pArgs.method+'" version="'+this.XMI_VERSION+'">';
packet += '<sessionid>'+pArgs.sessionid+'</sessionid>';
packet += '<sourceid>'+pArgs.APIKey+'</sourceid>';
packet += '<url_types>';
packet += '<url_type>my_projects</url_type>';
packet += '<url_type>gallery_home</url_type>';
packet += '</url_types>';
packet += '</partner_config>';
break;
case "create_album":
packet += '<partner_query action="'+pArgs.method+'" version="'+this.XMI_VERSION+'">';
packet += '<sessionid>'+pArgs.sessionid+'</sessionid>';
packet += '<album_name>'+pArgs.name+'</album_name>';
if (pArgs.description != "")
packet += '<album_description>'+pArgs.description+'</album_description>';
packet += '</partner_query>';
break;
default:
packet = "";
}
pickupLog.logMessage("Kodak Input Packet:");
pickupLog.logMessage(packet);
return packet;
}
this._dispatchRequest = function (method, args, onComplete, onError)
{
if (!args) args = new Array();
if (!onError) onError = function (msg) { alert(msg); }
var service = this;
args["method"] = method;
var packet = this._constructRequestXML(args);
//if (this.token && this.token != "") args["SessionID"] = this.token;
//args["api_sig"] = this._signRequest(args);
var queryString;
switch (args.method) {
case "ofoto_login":
queryString = this.LOGIN_URL;
break;
case "get_albums":
case "create_album":
case "get_user_urls":
queryString = this.REST_URL;
break;
default:
return;
}
const BOUNDARY = "------FOTOFOX_111222111";
const MULTI="@mozilla.org/io/multiplex-input-stream;1";
const STRINGIS="@mozilla.org/io/string-input-stream;1";
const BUFFERED="@mozilla.org/network/buffered-input-stream;1";
const nsIMultiplexInputStream=Components.interfaces.nsIMultiplexInputStream;
const nsIStringInputStream=Components.interfaces.nsIStringInputStream;
const nsIBufferedInputStream = Components.interfaces.nsIBufferedInputStream;
var mis=Components.classes[MULTI].createInstance(nsIMultiplexInputStream);
var buf=Components.classes[STRINGIS].createInstance(nsIStringInputStream);
buf.setData(packet,packet.length);
var hsis=Components.classes[STRINGIS].createInstance(nsIStringInputStream);
var sheader="\r\n"+"--"+BOUNDARY+"\r\n";
sheader+="Content-disposition: form-data;name=\"ofoto_xml\"\r\n\r\n";
hsis.setData(sheader,sheader.length);
var endsis=Components.classes[STRINGIS].createInstance(nsIStringInputStream);
var bs="\r\n--"+BOUNDARY+"\r\n";
endsis.setData(bs,bs.length);
mis.appendStream(hsis);
mis.appendStream(buf);
mis.appendStream(endsis);
var req = new XMLHttpRequest();
req.open('POST', queryString, true);
req.setRequestHeader("Content-Length",(mis.available()-2));
req.setRequestHeader("Content-Type","multipart/form-data; boundary="+BOUNDARY);
req.onreadystatechange = function ()
{
if (req.readyState == 4)
{
pickupLog.logMessage("...finished request");
pickupLog.logMessage(req.responseText);
try
{
req.status;
pickupLog.logMessage(req.status);
}
catch (e)
{
onError("Internal server error", -1);
return;
}
if (req.status && req.status == 200)
{
var status = req.responseXML.getElementsByTagName("status").item(0).firstChild.nodeValue;
if (status != "success") {
onError(status);
}
else {
onComplete(service, req);
}
}
else {
// XX LOCALISE ME
onError("An internal server error occured (" + req.status + ")");
}
}
};
req.send(mis);
}
this._getSignature = function ()
{
var pickup = Components.classes["@briks.si/pickup;1"].createInstance(Components.interfaces.mozIPickup);
return pickup.ks;
//return "2533302";
}
}
kodakPhotoService.prototype = new photoService;
| Assignee | ||
Comment 10•18 years ago
|
||
(In reply to comment #8)
> I don't know I will look. Error: pickupLog is not defined
> Source File: chrome://pickup/content/js/services/kodak/kodakPhotoService.js
> Line: 515
> Error: pickupLog is not defined
> Source File: chrome://pickup/content/js/services/kodak/kodakPhotoService.js
> Line: 515 this is what I get when I try to log into kodak easy share
This is the only error related to the extension code. I don't know why it is failing, I have never seen it and have got no reports about it before. What other extensions have you got installed?
| Assignee | ||
Updated•18 years ago
|
Assignee: pkim → brian
| Reporter | ||
Comment 11•18 years ago
|
||
Brian here are all the other extensions I have installed, chatzilla,colorful tabs, cool iris previews, dom inspector, lexmark tool bar, mr tech local install, random theme switcher, stumbleupon, tab effect, update notifier. these all seem to work as far as I can tell. Any other info you need just let me know. I also have these themes installed dallas cowboys, new york yankees, simpsons, aqataint black, halloFF Impact light blue, metal lion 300 ice and vista, nautaupils noia spernome, pimpzilla, aista aero, aluminum allow
Comment 12•17 years ago
|
||
seems to occur on Linux as well
Comment 13•17 years ago
|
||
sorry for the double post, but i forgot to list my extensions: none, nothing besides Kodak extension installed
Comment 14•17 years ago
|
||
Bill, what is the status on this issue? Are you still experiencing it with the newest versions of FF, and the Kodak extension?
| Reporter | ||
Comment 15•17 years ago
|
||
Tyler If I shut my firewall completley down I can get it to work FF 2013. I have not tried it with FF 3 as of yet. I have it disabled right now until I can find a fix to make it work with out taking my firewall down.The firewall I am using is CA Internet suite.I have tried all the suggestions from their tech support. They have yet to provide me with a working solution. So I will keep looking until I find one.
Comment 16•17 years ago
|
||
I think you meant Firefox 2.0.0.13, correct? Can you please update to Firefox 2.0.0.16.
| Assignee | ||
Comment 17•17 years ago
|
||
Bill, the extension has been updated for Firefox 3. Could you please try it there and let me know if you still experience this problem. If so, I will look into it deeper.
| Reporter | ||
Comment 18•17 years ago
|
||
Hi Brian,
I have it loaded with firefox 3 in Vista and a different Firewall (commodo)The extension works just great. I still cannot get CA internet suite and firefox 3 with your updated version to work yet. I disable my firewall to login and than renable the firewall once logged in and that seems to work. I get a jave script internal server error (0) now with the current configuration and Ca firewall.The error says this login already exists when calling method.nsiloginmanager::addlogin ns result: 0x8057001e Ns_ error_XPC_js_threw_string location JS frame::chrome??fotofox/content/js/login.js::anonymous::line 62 data:no. this is whats in the first line of the error console I left out some of the brackets.
Chrome://fotofox/content/js/login.js.is whats directly below the error. I can paste what comes in the link when I click on it if you think it will help.
| Assignee | ||
Comment 19•15 years ago
|
||
Bill,
Can I close this one off or are you still having problems with recent versions?
| Assignee | ||
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago → 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•