Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 575949 Details for
Bug 810641
Picasa uploads fails if filenames have an uppercase extension
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch, backported from the upstream version
googlecl-0.9.9_picase-mimetypes.patch (text/plain), 1.07 KB, created by
Niels de Vos
on 2012-04-07 15:46:44 UTC
(
hide
)
Description:
Proposed patch, backported from the upstream version
Filename:
MIME Type:
Creator:
Niels de Vos
Created:
2012-04-07 15:46:44 UTC
Size:
1.07 KB
patch
obsolete
>--- googlecl-0.9.9/src/googlecl/picasa/service.py 2010-07-24 04:01:12.000000000 +0200 >+++ googlecl-0.9.9.mimetypes/src/googlecl/picasa/service.py 2012-04-07 17:27:21.748454098 +0200 >@@ -22,6 +22,7 @@ > import logging > import os > import urllib >+import mimetypes > import googlecl > import googlecl.service > from googlecl.picasa import SECTION_HEADER >@@ -255,15 +256,9 @@ > if not tags and self.prompt_for_tags: > keywords = raw_input('Enter tags for photo %s: ' % path) > LOG.info('Loading file ' + path + ' to album ' + album.title.text) >- ext = googlecl.get_extension_from_path(path) >- if not ext: >- LOG.debug('No extension match on path ' + path) >- content_type = 'image/jpeg' >- else: >- try: >- content_type = SUPPORTED_VIDEO_TYPES[ext] >- except KeyError: >- content_type = 'image/' + ext >+ if not mimetypes.inited: >+ mimetypes.init() >+ content_type = mimetypes.guess_type(path)[0] > try: > self.InsertPhotoSimple(album_url, > title=os.path.split(path)[1],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 810641
: 575949