After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 301989 - Unable to log into flickr pro account
Unable to log into flickr pro account
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
0.0.x
Other Linux
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-25 23:52 UTC by Gary Coady
Modified: 2009-07-27 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change int to long (712 bytes, patch)
2005-04-25 23:55 UTC, Gary Coady
none Details | Review

Description Gary Coady 2005-04-25 23:52:08 UTC
Distribution/Version: Ubuntu/5.04

1. Upgrade to flickr pro account.
2. Try to export photos through f-spot to flickr.
3. See traffic like
<?xml version="1.0" encoding="utf-8" ?>
<user>
.<username>xxx</username>
.<status>
..<pro>1</pro>
.</status>
.<transfer>
..<limit>2147483648</limit>
..<used>0</used>
.</transfer>
</user>
4. Get error message on console like
System.OverflowException: Number overflow.
in <0x001c3> System.Int32:Parse (string)
in [0x00109] (at /build/buildd/f-spot-0.0.12/src/FlickrRemote.cs:139)
FlickrRemote:Login (string,string)
Comment 1 Gary Coady 2005-04-25 23:55:24 UTC
Created attachment 45680 [details] [review]
Change int to long

This changes the variables limit and used from int to long (unsigned int would
be too close to the current limit of 2GB for comfort).

The patch also fixes what looks like a typo in setting "used" instead of
"limit" in one place.
Comment 2 Larry Ewing 2005-04-26 00:14:12 UTC
the overflow was already fixed in CVS, I've added the fix for the the c&p error
of  limit/used.  Thanks for the patch!