[clipart] IRC log: intellectual property, upload=>dms, tarball unpacking, ...

Jonadab the Unsightly One jonadab at bright.net
Fri Aug 26 18:05:49 PDT 2005


(19:51:56) crschmidt: You can turn on logging in the gaim preferences somewhere, but don't know how well it works for IRC.
(19:54:27) Jonadab: Copy-and-paste works.  I am emailing myself a copy of this one.  We talked about some important stuff.
(19:54:53) rejon: yeah, bryce, that sounds great to hook in dms
(19:55:00) rejon: I think that is a good approach...
(19:55:05) rejon: have both systems running for the time being
(19:55:44) rejon: prokoudine: i'm thinking we should just have openfontlibrary.org go to the wiki for the time being...
(19:55:48) rejon: once its live
(19:56:12) rejon: jonadab: well the release procedure is more of something that we created to keep our project growing, right?
(19:56:28) Jonadab: I think it's growing :-)
(19:56:30) rejon: i still think we should do, but once dms is plugged in, will be more of a live system
(19:56:47) Jonadab: Yes, that is the goal we are working toward.
(19:56:53) rejon: :)
(19:56:54) prokoudine: rejon: that's okay with me
(19:57:06) prokoudine: rejon: i'm thinking about functional spec atm
(19:57:14) rejon: prokoudine: cool
(19:57:15) rejon: explain
(19:57:48) Jonadab: Ultimately I'd like to see an author log in, submit clipart, then look at other clipart that's been submitted by others since last time he looked, give feedback to some of it, add keywords to some of it, ...
(19:57:48) rejon: bryce: did you sort out that bug with dms importing above 4000 images
(19:57:53) prokoudine: rejon: basically we want 3 feature: 1) upload 2) preview and 3) download
(19:58:00) rejon: jonadab: totally
(19:58:05) prokoudine: rejon: plus classification of fonts
(19:58:31) Jonadab: Yes, classification is important for fonts.  On several fronts...
(19:58:47) rejon: prokoudine: i think we should just have it be like ocal for now, and once dms is ready, move over to that in one go
(19:58:52) Jonadab: sans / mostly-sans / serif / heavily-decorated
(19:59:18) Jonadab: formal / informal / wacky / grunge
(19:59:21) rejon: prokoudine: really, though, maybe it should just be a wiki for the time being to collect thoughts, etc
(19:59:34) rejon: my bandwidth is low
(19:59:38) rejon: (my brain)
(19:59:41) prokoudine: Jonadab_the_Unsi: > mostly-sans :)))))))
(19:59:56) Jonadab: ASCII / Latin / Unicode / whatever / dingbats
(20:00:17) rejon: prokoudine: i think good to have the wiki, and wiki upload working so that ppl. can submit their fonts that way for the time being, right
(20:00:25) Jonadab: (A lot of monospace/non-proportional/fixed fonts are mostly-sans.  e.g., Andale Mono.)
(20:00:30) prokoudine: Jonadab_the_Unsi: if we go just a little bit further we will reach RDF harbour :)
(20:00:36) rejon: then when dms is ready, will just make a site like ocal but for fonts
(20:00:43) Jonadab: (Most characters are sans, but some characters need distinguishing marks.)
(20:00:59) rejon: man, we really need some great fonts like raphs
(20:01:08) Jonadab: Oh, and fixed / proportional is important to keep track of.
(20:01:08) rejon: i really hope he contributes them to OSS
(20:01:11) rejon: they are so great
(20:01:19) rejon: http://levien.com/type/myfonts/
(20:03:11) bryce_lt: rejon, no I haven't sorted that bug out; that's one thing I need to work on this weekend
(20:03:17) ***Jonadab bookmarks that.
(20:03:50) Jonadab: Ah.  Yes.  If we start putting all of OCAL in DMS, it will pass 4000 RSN.
(20:04:05) rejon: i'm so excited
(20:04:06) Jonadab: Real RSN.
(20:04:17) bryce_lt: but if we start from an empty repo and just add the new uploads, we probably won't hit that limit too quickly
(20:04:30) rejon: i kinda have figured things would start coming together like this by sticking to our monthly schedule, and it seems things are getting there :)
(20:04:37) rejon: y
(20:04:58) bryce_lt: also, I don't remember the details of the bug, but if it is what I think it is, it doesn't get triggered on inserts, just on creating lists
(20:06:35) bryce_lt: the other thing I still need is to have modifications to metadata get stored back into the image, however I think metadata editing could be left for later on
(20:07:03) Jonadab: If metadata modifications are kept track of _somewhere_, they can be put back into the image later, right?
(20:07:10) bryce_lt: I added a routine to SVG::Metadata to help me hook this in, so think I'll have that one sorted out by next month no prob
(20:07:13) bryce_lt: right
(20:07:27) bryce_lt: yeah currently it stores it in a separate file, that all works fine
(20:07:44) bryce_lt: you can even edit keywords, set accepted/rejected state, etc. etc. :-)
(20:08:33) Jonadab: tar -C packages -czf packages/openclipart-0.17CVS-full.tar.gz openclipart-0.17CVS-full
(20:08:33) Jonadab: tar: openclipart-0.17CVS-full/clipart/recreation/sports/cronometro_mauro_olivo_03.svg: File shrank by 16267 bytes; padding with zeros
(20:08:33) Jonadab: tar: Error exit delayed from previous errors
(20:08:33) Jonadab: make: *** [tarball] Error 2
(20:08:50) bryce_lt: rejon, yeah you're right, just keeping at it regularly has helped :-)
(20:08:58) rejon: i think
(20:09:03) Jonadab: (So make exited, then.)
(20:09:24) bryce_lt: strange...
(20:09:36) Jonadab: (No worries, if I can't get make to work, I can tarball up what I've got and it's usable as it stands.)
(20:09:48) bryce_lt: jonadab, you're not out of disk space by any chance?
(20:10:05) Jonadab: Not on /
(20:10:11) Jonadab: It's 25% full.
(20:10:20) Jonadab: 51G free.
(20:10:51) Jonadab: (The clipart_package stuff is on the / filesystem.)
(20:11:18) bryce_lt: hmm, odd.  don't know what would make tar report that error.
(20:12:30) Jonadab: I'm not out of inodes either.  I just did perl -e 'for (2..2000) { `touch temp/$_`; }' with no problems.
(20:14:14) bryce_lt: are you doing this on windows or linux?
(20:14:24) Jonadab: Debian 3.1 Sarge.
(20:14:34) Jonadab: jonadab at vestibule:~/clipart_package$ ls -l -h  packages/openclipart-0.17CVS-full.tar.gz
(20:14:34) Jonadab: -rw-r--r--  1 jonadab jonadab 109M 2005-08-26 20:06 packages/openclipart-0.17CVS-full.tar.gz
(20:14:34) Jonadab: jonadab at vestibule:~/clipart_package$
(20:15:17) Jonadab:  ls -l openclipart-0.17CVS-full/clipart/recreation/sports/cronometro_mauro_olivo_03.svg
(20:15:17) Jonadab: ls: openclipart-0.17CVS-full/clipart/recreation/sports/cronometro_mauro_olivo_03.svg: No such file or directory
(20:15:17) Jonadab: jonadab at vestibule:~/clipart_package$
(20:16:03) Jonadab: That looks more like it could be related to the problem.  The file does not exist that it was trying to tar up.
(20:16:04) Jonadab: But why?
(20:16:30) Jonadab: ls -l openclipart-0.17CVS-full/clipart/recreation/sports/
(20:16:30) Jonadab: ls: openclipart-0.17CVS-full/clipart/recreation/sports/: No such file or directory
(20:16:30) Jonadab: jonadab at vestibule:~/clipart_package$
(20:16:55) Jonadab: In fact,  ls -l openclipart-0.17CVS-full/
(20:16:55) Jonadab: ls: openclipart-0.17CVS-full/: No such file or directory
(20:17:38) Jonadab: Oh, wait, maybe that all should be inside of packages/
(20:17:39) bryce_lt: hmm
(20:18:11) bryce_lt: (last time I saw *those* series of msgs wwas right before my hard drive crashed *grin*)
(20:18:14) Jonadab:  ls -l packages/openclipart-0.17CVS-full/clipart/recreation/sports/cronometro_mauro_olivo_03.svg
(20:18:14) Jonadab: -rw-r--r--  1 jonadab jonadab 32651 2005-08-26 19:37 packages/openclipart-0.17CVS-full/clipart/recreation/sports/cronometro_mauro_olivo_03.svg
(20:19:00) rejon: yeah, to do make dist
(20:19:04) rejon: you might have to be su
(20:19:09) rejon: because of rpm
(20:19:13) rejon: rpmbuild
(20:19:18) Jonadab: Ah.
(20:19:24) Jonadab: I will try it as root.
(20:19:35) ***rejon holds breath.... jk
(20:20:26) Jonadab: Umm, it was fifteen+ minutes into make dist before it hit that air... you could be holding your breath for a while.
(20:20:46) rejon: yeah, that is right...
(20:20:52) rejon: try to do: make tarball
(20:20:55) rejon: just to make tarball
(20:21:00) rejon: make bzip to make bz2
(20:21:02) rejon: make zip to make zip
(20:21:05) rejon: those don't require su
(20:21:18) bryce_lt: what type of filesystem are you using?  ext3?  are you using lvm?
(20:21:30) Jonadab: Okay, will try make tarball first, since that's the one that failed.
No such command.
(20:22:07) Jonadab: The / filesystem is ext3
(20:22:25) bryce_lt: hmm
(20:22:41) Jonadab: (I have some vfat filesystems; my mail for instance is on vfat.  But I don't think anything involved here is on vfat.)
(20:22:49) bryce_lt: is it possible the file is corrupt?  have you tried loading it into inkscape or checking that it ends with </svg> ?
(20:22:58) Jonadab: Will check.
(20:23:13) ***crschmidt wonders where rejon lives
(20:23:20) bryce_lt: berkeley
(20:23:35) bryce_lt: (or thereabouts)
(20:24:15) ***crschmidt nods
(20:24:25) crschmidt: he mentioned the media lab, thought maybe he was living in my neck of the woods
(20:24:45) rejon: san francisco in the mission
(20:24:55) rejon: i will be traveling out to boston though in the fall
(20:24:56) Jonadab: File loads fine in Inkscape.
(20:25:05) Jonadab: (And, why would tar care anyway?)
(20:25:30) crschmidt: rejon: my roomate lives in the mission district! I was out there when I was interviewing with yahoo a couple months ago
(20:25:41) crschmidt: oh, that's right, i realized where you lived after i got back and thought i should have showed up
(20:26:00) rejon: yeah, i've only lived in this new place in the mission for less than a month
(20:26:18) crschmidt: ah
(20:26:43) bryce_lt: oh, I'm just googling for other reported instances of this error messages
(20:26:53) bryce_lt: one situation was where the file was corrupt
(20:27:07) Jonadab: make tarball works as root.
(20:27:19) bryce_lt: looking at the tar source code, it looks like it creates this error message when the block count doesn't match to the amount of data it read
(20:27:32) bryce_lt: ah ok 
(20:27:45) Jonadab: Ah, but now nothing works as non-root, because I get permission denied everyplace.
(20:27:56) ***Jonadab does make distclean as root
(20:28:37) Jonadab: There, now let's try make tarball as a mortal user...
(20:32:08) Jonadab: Out of curiousity, is there something I'm doing wrong that's making it put CVS in the filenames?
(20:32:11) Jonadab: Or is that normal?
(20:32:23) Jonadab: (The filenames of the packages, I mean.)
(20:33:11) bryce_lt: hmm, usually with make dist there is a step where you put the version number into a file or env variable or something
(20:33:30) bryce_lt: often it's set up such that if you don't do that, it defaults to CVS or whatever
(20:33:40) Jonadab: It's using the 0.17 version number, but _also_ CVS.
(20:34:06) Jonadab: e.g., openclipart-0.17CVS-full.tar.gz
(20:35:38) Jonadab: make tarball fails when run as a mortal user:
(20:35:53) Jonadab: # Get rid of non-svg files from SVG directory
(20:35:53) Jonadab: find packages/openclipart-0.17CVS-svgonly/clipart \( -name '*.*' -not -name '*svg' \)\
(20:35:53) Jonadab: -type f -exec rm -f {} \;
(20:35:53) Jonadab: tar -C packages -czf packages/openclipart-0.17CVS-full.tar.gz openclipart-0.17CVS-full
(20:35:53) Jonadab: tar: openclipart-0.17CVS-full/clipart/geography/northern_hemisphere_glo_.svg: Read error at byte 0, reading 4096 bytes: Input/output error
(20:35:53) Jonadab: tar: Error exit delayed from previous errors
(20:35:53) Jonadab: make: *** [tarball] Error 2
(20:36:27) rejon: yeah, the version number is in the file: VERSION
(20:36:32) rejon: not the problem
(20:36:45) rejon: seems to be some kidn of HD error
(20:37:55) Jonadab: Now, _this_ time, Inkscape can't open it either.
(20:37:58) Jonadab: Hmmm...
(20:38:56) Jonadab:  ls -l packages/openclipart-0.17CVS-full/clipart/geography/northern_hemisphere_glo_.svg
(20:38:56) Jonadab: -rw-r--r--  1 jonadab jonadab 571860 2005-08-26 19:37 packages/openclipart-0.17CVS-full/clipart/geography/northern_hemisphere_glo_.svg
(20:38:56) Jonadab: jonadab at vestibule:~/clipart_package$ cat packages/openclipart-0.17CVS-full/clipart/geography/northern_hemisphere_glo_.svg
(20:38:56) Jonadab: cat: packages/openclipart-0.17CVS-full/clipart/geography/northern_hemisphere_glo_.svg: Input/output error
(20:39:20) Jonadab: Maybe I _should_ check my filesystem...
(20:40:04) Jonadab: (I just _bought_ this drive in April...)
(20:40:53) Jonadab: Well, meanwhile, I'll tarball up the release at least...
(20:41:20) prokoudine left the room ("\u0423\u0445\u043e\u0436\u0443 \u044f \u043e\u0442 \u0432\u0430\u0441").
(20:42:42) rejon: y
(20:58:07) ***Jonadab puts a copy of openclipart-0.17.tar.bz2 on a different drive...
(20:58:31) Jonadab: (You can never have too much paranoia...)

-- 
Open Clip Art Library:  Drawing Together
http://www.openclipart.org/




More information about the clipart mailing list