I'm reading a table & dumping to stdout, like this: (sql/with-connection db (dorun (map #(println %) (read-table))))
read-table is doing some gloss calls to parse some floats. Then I try to write it to a file (adapting an example), like this: (sql/with-connection db (with-open [myfile (io/writer "myfile")] (doseq [row (read-table)] (.write myfile (format row))))) and I get "Insufficient bytes to decode frame" from gloss. I didn't expect an error reading the table. What am I doing wrong? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en