Displaying 20 results from an estimated 100 matches similar to: "rflickr: invalid auth token when uploading"
2007 May 06
0
can't access rflickr methods
Hi all,
I have some trouble using rflickr. I can instantiate a flickr object
but not use its methods:
this works: flickr = Flickr.new
this doesn''t work: sets = flickr.photosets.getList
That''s the error mesage I get: undefined method `photosets''
I simply copied rflickr to the vendors dir. Was that OK ?
Any ideas ?
2006 Jul 18
3
RFlickr usage
hi friends,
any body know how to use rflickr...
i want to authenticate the user to enter his flickr account from my ROR
app...
ie he can view his images which he uploaded into his flickr account...
is there any way to get this functionality through flickr api?
plz give some ideas...
regards,
Neo
--
Posted via http://www.ruby-forum.com/.
2007 Jan 05
0
Help with rflickr
I''m having trouble generating my flickr token I''m following the tutorial
on Max Dunn''s website when I enter:
f = MyFlickr.new
I get this error:
NameError: uninitialized constant MY_CONFIG
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
`const_missing''
from
2006 Jun 28
0
Reading email attachments
Is anyone sucessfully reading email attachments?
I have had some luck in my local dev environment but only get partial
files on my hosted server (TxD) and then only sometimes.
I use something like this....
Net::POP3.start("widespreadsolutions.com", nil, "briefcase", "y902xas")
do |pop|
if pop.mails.empty?
logger.info "NO MAIL"
else
2006 Jan 09
1
Saving an upload
I am creating a database for movies (films) and television shows (shows)
that will have has_and_belongs_to_many relationships with the pictures
table.
CREATE TABLE screenshots (
id serial NOT NULL,
filename character varying NOT NULL,
content_type character varying NOT NULL,
primary key (id)
);
CREATE TABLE films (
id serial NOT NULL,
name character varying NOT NULL,
2007 Feb 05
0
superclass mismatch for class OrderedOptions (TypeError)
ngw@adreadedsunnyday ~/projects/hotchalk$ script/server
./script/../config/boot.rb:28:Warning: require_gem is obsolete. Use
gem instead.
/opt/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:606:
superclass mismatch for class OrderedOptions (TypeError)
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
from
2006 Mar 23
1
Multiple file uploads
I have a form with multiple file upload fields (1-10), of which 2-10
are optional. So i need to cycle thru all file fields and pick only
those that have a file attached. Selecting only one file in the form,
the paramters look simple: "image"=>{"file_1"=>#<File:/tmp/CGI344.4>,
"file_2"=>"", "file_3"=>""}, so I
2009 Jul 29
0
Problem uploading file to database mysql blob field
Hi All,
Please help me ,I need to look into this issue asap, I need to change
the redmine functionality of uploading files to disk to upload them to
database. I tried suggestion on
http://dizzy.co.uk/ruby_on_rails/contents/store-file-uploads-in-database
but no luck , My form is multipart but still getting the error.
Please bare with me I am new to ruby and rails.
Here is the like for my
2006 May 22
8
flickr tag question
hey,
i am using the flickr wrapper for ruby and need to access the tags of a
specific photo. i got all the rest working. i must admit i am kind of new to
ruby, but i tried and tried and couldn''t figure it out. among other things i
want to read geotags like in my example here:
http://www.flickr.com/photos/whoisstan/146634506/
i''m sure it is deadsimple and i just overlooked it.
2009 Apr 27
1
Testing HEAD
I have successfully compiled HEAD on FreeBSD-7 and I hope I am not doing
anything weird.
./configure \
--cache-file=../cache_file \
--prefix=/opt/dovecot2 \
--with-ioloop=kqueue \
--with-notify=kqueue \
--with-sql=yes \
--with-mysql \
--with-zlib \
--with-bzlib \
--with-ssl=openssl \
--with-sql-drivers
FreeBSD-7# pwd
2007 Jun 19
5
Problems translating should_render from 0.8.2 to 1.0.5
<font size="2">I''m working on a large Rails site and we want to move from RSpec 0.8.2 to the latest and greatest. So we ran the translator and yet we''re having a lot of trouble translating should_render.<br><br>I found this on the web:<br><br>We will NOT be supporting the following in the new syntax:<br>
2008 Oct 10
17
authenticity_token sent, still InvalidAuthenticityToken
Hi!
To send the authenticity token from flex back to the server, I followed
this:
http://blog.dt.org/index.php/2008/06/rails-2-flex-3-and-form-authenticity-tokens/
I have two controllers in my rails app. The method described in the link
above works with the actions in one controller, but does not work with
the other.
The controller which does not work has just one action which performs a
file
2002 Jul 07
2
wins.dat to DNS
Hi,
I'm wondering how to setup my DNS server (BIND 9.1.1) to read a zone from my wins.dat file. Is there a script I can use, or is there some other way to do it? I'm a linux newbie so a lot of info helps!
Thanks,
Jeff Nichols
-------------- next part --------------
HTML attachment scrubbed and removed
2006 Nov 20
7
Acts as attachement
Hi guys
Question about acts as attachment still getting the following error
undefined method `content_type''
I have set everything up according to the following page however i am
still have trouble
http://weblog.techno-weenie.net/articles/acts_as_attachment
One thing, I have wanted to add this to an existing model in my system.
I have not used the...
script/generate
2006 May 31
4
acts_as_attachment , someone using it?
Hi, i just found the acts_as_attachment plugin for image upload, seems
sogood but i cant find any docs about it, if someone here using it can
give some references or working examples about the plugin that will be
excellent.
So what you wanna rails today?
--
Posted via http://www.ruby-forum.com/.
2013 Jun 22
0
[LLVMdev] Outputting constant char array from llvm pass
Hi, all
I want to know how a llvm pass output constant char array defined from the input
source. Here's an example that I want to do.
== test input source ==
char* msg = "hello, world\n";
void msg_out(char * in) {
printf("msg: %s \n", in);
}
main () {
...
msg_out(msg);
...
}
== llvm pass snippet ==
...
const CallInst* ci =
2006 Mar 29
1
Posting multiple files - how to set up params correctly
All,
I have a page where I am allowing the user to specify multiple image
files that are related to one HTML document.
I want to end up with an array of image files that I can then assign
into an array within the controller.
I''m trying to set up my file_field correctly but am having trouble.
I''m not clear on how "the multiple input tags with the same name turning
into
2006 Apr 01
0
Many file fields w/same name don''t show up as params array
All,
I have a page where I am allowing the user to specify multiple image
files that are related to one HTML document.
I''m trying to set up my file_field correctly but am having trouble.
I''m trying to post into an array of images that belongs to a document.
I''ve tried:
<%= file_field(''document'', ''image[]'') %>
<%=
2006 Jul 20
3
Flickr API and Ruby Question...
I have a local version of the flickr.rb file installed and working
properly, but apparently I''m having issues installing it on my Dreamhost
server.
So, does anyone know how to do it the normal way? Just interfacing
directly with the flickr/api without using the gem ''flickr.rb''?
Any tips in the right direction would help me tremendously! Thanks!
--
Posted via
2006 Jul 21
3
Interface with Flickr
Does anyone know how to get going with the flickr api WITHOUT using the
''flickr.rb'' gem? I''m wanting to just use the REXML and ''net/http''
stuff. I''m just wondering how to send requests to the api and handle
the response. Any tips would be great!
Thanks!
--
Posted via http://www.ruby-forum.com/.