Ask Your Question
2

Can you "stop publishing" a previously published worksheet?

asked 2011-06-01 15:40:48 +0100

jek gravatar image

As a new user, I thought (but am not sure) I saw a page offer to stop publishing a worksheet but now can't find any reference to that in the documentation or elsewhere. This TRAC entry mentions "stop publishing" and is marked as fixed: http://trac.sagemath.org/sage_trac/ticket/3240

Is this possible?

Can you safely just go into the filesystem and remove ...sagenb/home/pub/n ?

edit retag flag offensive close merge delete

Comments

I had a related problem by publishing a worksheet that was accessible by the url 'https://<srv_address>/home/pub/13', then deleting the worksheet and emptying the trash. The worksheet stayed among the published documents, and was "owned" by 'pub'. I had no mean to remove it by the notebook menus or commands. Publishing a worksheet created a new directory named '13' in a directory named 'pub' in the directory structure of the notebook ('/home/sagemath/.sage/sage_notebook.sagenb/home/__store__/3/3a/3a2/3a21/pub/13' in my installation). Recursively removing '13' from 'pub' succeeded to remove the worksheet from the list of published documents, but only temporarily. The file comes back in the list of 'published worksheet' after a while. Someone knows how to definitely remove it?

Eric Gaul gravatar imageEric Gaul ( 2013-09-25 11:22:45 +0100 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-06-01 16:52:52 +0100

kcrisman gravatar image

Quick answer - it should be, but doesn't seem to work quite right.

Probably the answer to your second question is yes, but someone more knowledgeable should confirm this.

A closely related discussion is at this sage-notebook thread.

edit flag offensive delete link more
0

answered 2011-06-03 22:17:04 +0100

jek gravatar image

I found it! The "stop publishing" interface is part of the "publish" action.

It isn't intuitive because the action is overloaded, but if you open a worksheet marked as "published" and then select the button to publish it, one of the choices is to "stop publishing".

edit flag offensive delete link more

Comments

But the problem is that this doesn't necessarily stop publishing it. Try it out and see if the worksheet is still there in the published link on the main notebook page - it probably still is, with a different user associated to it.

kcrisman gravatar imagekcrisman ( 2011-06-03 22:29:32 +0100 )edit

The one case I checked did get removed. Perhaps you are seeing a copy because someone performed "edit a copy" on the published worksheet and thus got a copy of their own?

jek gravatar imagejek ( 2011-06-05 15:23:03 +0100 )edit

No, that would no longer be shared. But I'm not complaining if it's working correctly for you. What version of Sage are you using?

kcrisman gravatar imagekcrisman ( 2011-06-06 12:49:50 +0100 )edit

The newly released 4.7

jek gravatar imagejek ( 2011-06-07 02:58:20 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-06-01 15:40:48 +0100

Seen: 688 times

Last updated: Jun 03 '11