[LON-CAPA-users] Uploading a mass of questions

James Sullivan lon-capa-users@mail.lon-capa.org
Wed, 8 Nov 2006 11:05:04 -0500


 
Unfortunately I think there is a bug in version 2.1 (the version we are
running) that does not handle zip or tar files correctly (decompress gives
error). I will inquire about getting ssh access to the library server.

Thanks,
Jay
 
> Jay,
> 
> You can zip the problems together and upload a complete zip 
> or tar file.
> LON-CAPA will pull it apart for you. You want to be careful 
> about the number of files in any one directory (a single 
> directory with 700 files will be hard to handle).
> 
> I also endorse the suggestion that you ssh in. Your 
> construction space is simply your /home/user/public_html 
> directory, but you need to be careful with ownership of the files.
> 
> Later,
> Mark
> 
> 
> > In that case, even though it's *strongly discouraged* and 
> not really 
> > supported, I think your best bet is going to be going into 
> the library 
> > server directly via ssh, and dealing with the tarball at 
> the command 
> > line.  Many of us here, including myself, could help you 
> through this 
> > offline, as long as you have a shell account on the server. 
>  Let me know if you want a hand.
> >
> > Todd
> >
> >
> > On Tuesday 07 November 2006 05:15 pm, James Sullivan wrote:
> >> Let's say I had a bunch of loncapa problems on my hard drive. I 
> >> produced these from parsing a latex file that a colleague 
> passed me. 
> >> He uses Scientific Workplace to generate test banks of questions.
> >>
> >> There's 748 questions in total; all of which have been 
> seperated and 
> >> formatted to loncapa conventions by my script. I could 
> copy and paste 
> >> each file into the xml editor but there has to be a better way.
> >>
> >> What's the quickest way to get them up to loncapa? We are 
> running 2.1 
> >> so I don't think I can upload a tar ball.
> >>
> >> Thanks,
> >> Jay
> >>
> >>
> >> James M. Sullivan, Assistant Professor jmsullivan@vcu.edu
> >> Department of Physics                                    Virginia
> >> Commonwealth University
> >> tel: 804/828-6343
> >> fax: 804/828-7073
> >>
> >> 1020 W. Main St.
> >> PO BOX 842000
> >> Richmond, VA 23284-2000
> >>
> >> *
> >> "If you can drive a nail, and if you have any nails to 
> drive, drive them."
> >>           - H. D. Thoureau, 1850
> >> *
> >>
> >>
> >> _______________________________________________
> >> LON-CAPA-users mailing list
> >> LON-CAPA-users@mail.lon-capa.org
> >> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
> >
> > -- 
> > Dr. Todd G. Ruskell                         Phone: 303-384-2080
> > Senior Lecturer, Department of Physics      FAX:   303-273-3919
> > Colorado School of Mines
> > Golden, CO 80401
> > _______________________________________________
> > LON-CAPA-users mailing list
> > LON-CAPA-users@mail.lon-capa.org
> > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
> >
> 
> --------------------------------------------------------------
> --------------
> Mark Lucas					email: lucasm@ohiou.edu
> 252D Clippinger Lab  				phone: (740)597-2984
> Department of Physics and Astronomy             fax:   (740)593-0433
> Ohio University
> Athens, OH 45701
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>