How to safely remove Quickshot?

Asked by Karol Horowski

Hi,
I am not too familiar with open source projects from the developer's side. I didn't know whether to report it as an issue, or perhaps ask a question. I thought that would be safer to start with the second option.

During the testing Quickshot intrigued me how to safely remove the program (all relationships, even Quickshot's user account)? My guess is that Quickshot will also use volunteers with less computer experience. After some time, they probably would like to remove Quickshot. I think they would like to use one command to do that (as well as removing packeges in Ubuntu).

Next thing. I have updated my bazar revision to 77 and I've run it with 'run.sh'. Because I've already had Quickshot accout in my Ubuntu, the program only ask my to log in. In this window there is label with version 0.3, but when I log to Quicksot account and the program starts, there is label with version 0.2.

Is this only my bug or it's ok?

Again, I'm not familiar with reporting bugs in open source projects. It would be great if you tell me what should I do next time.
Sorry for my English. I'm from Poland and I don't have many opportunities to talk/write in English ;)

Regards.
Karol Horowski

Question information

Language:
English Edit question
Status:
Solved
For:
Quickshot Edit question
Assignee:
No assignee Edit question
Solved by:
Luke Jennings
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Best Luke Jennings (ubuntujenkins) said :
#1

Hello Karol Horowski,

Thank you for your question, quickshot will be removable from synaptic. I don't think we had considered how the user account will be removed. I will look into the possibilities for this.

When you run quickshot each time if you do

quickly run -r

that will remove the account and then set up the account again with a newer version of quickshot. This is only temporary there will hopefully be a fix to this soon.

Did your screen resolution change automatically?

Thanks for testing,

Luke Jennings

Revision history for this message
Karol Horowski (karol-hor) said :
#2

Hello Luke Jennings,

Thank you for your reply. I tested quickshot revision 141 and the resolution
changes automatically (to 1024x768). I only want to tell you about two
things:

1) now, the user (tester) must run program manually (the previous way was
better). I understand this is better way for testing
2) on the last screen (when the program capture screenshot), quickshot
crashes: The log from the crash is in attachment.

Good luck at work with Quickshot.
Karol Horowski

2010/3/25 Luke Jennings <email address hidden>

> Your question #105213 on Quickshot changed:
> https://answers.edge.launchpad.net/quickshot/+question/105213
>
> Status: Open => Answered
>
> Luke Jennings proposed the following answer:
> Hello Karol Horowski,
>
> Thank you for your question, quickshot will be removable from synaptic.
> I don't think we had considered how the user account will be removed. I
> will look into the possibilities for this.
>
> When you run quickshot each time if you do
>
> quickly run -r
>
> that will remove the account and then set up the account again with a
> newer version of quickshot. This is only temporary there will hopefully
> be a fix to this soon.
>
> Did your screen resolution change automatically?
>
> Thanks for testing,
>
> Luke Jennings
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.edge.launchpad.net/quickshot/+question/105213/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.edge.launchpad.net/quickshot/+question/105213
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Karol Horowski (karol-hor) said :
#3

Sorry, I should use Launchpad not Gmail contact ;)

Here is crash report:

** (quickshot:3610): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (quickshot:3610): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (quickshot:3610): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
http://stellvia.uguu.ca/~flan/screencaps/
WARNING: you should run this program as super-user.
WARNING: you should run this program as super-user.
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/home/yondo/Projekty/quickshot/quickshot/ProgressDialog.py", line 21, in run
    self.func(*self.args)
  File "bin/quickshot", line 328, in _update
    self.screenshots = quickshot.lib.get_screencap_status(options.server,{"language": language})
  File "/home/yondo/Projekty/quickshot/quickshot/lib/__init__.py", line 130, in get_screencap_status
    (manifest, gathered, final) = server.query_server(server_root, meta)
AttributeError: 'module' object has no attribute 'query_server'

Traceback (most recent call last):
  File "bin/quickshot", line 344, in on_screenshotinfo_show
    self.screenshotinfo_update()
  File "bin/quickshot", line 334, in screenshotinfo_update
    for x in sorted(self.screenshots[1]):
AttributeError: 'QuickshotWindow' object has no attribute 'screenshots'
Traceback (most recent call last):
  File "bin/quickshot", line 370, in on_capture_do
    name = self.screenshotstore.get_value(self.screenshottreeview.get_selection().get_selected()[1], 0)
TypeError: iter must be a GtkTreeIter
^CTraceback (most recent call last):
  File "/usr/share/quickly/templates/ubuntu-project/run.py", line 53, in <module>
    subprocess.call(command_line)
  File "/usr/lib/python2.6/subprocess.py", line 470, in call
Traceback (most recent call last):
  File "/usr/bin/quickly", line 239, in <module>
Traceback (most recent call last):
  File "bin/quickshot", line 434, in <module>
    exit(main())
  File "/usr/bin/quickly", line 227, in main
    gtk.main()
    return(command.launch(os.getcwd(), opt_command[1:], opt_template))
KeyboardInterrupt
  File "/usr/lib/python2.6/dist-packages/quickly/commands.py", line 307, in launch
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 1157, in wait
    pid, sts = os.waitpid(self.pid, 0)
KeyboardInterrupt
    return_code = subprocess.call([self.command] + command_args, cwd=project_path)
  File "/usr/lib/python2.6/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 1157, in wait
    pid, sts = os.waitpid(self.pid, 0)
KeyboardInterrupt

Revision history for this message
Karol Horowski (karol-hor) said :
#4

Thanks Luke Jennings, that solved my question.

Revision history for this message
Luke Jennings (ubuntujenkins) said :
#5

Hello,

Can you please run quickshot again and see if you get the problem still. If so please file a bug.

Thanks

Luke

Revision history for this message
Neil Tallim (red-hamsterx) said :
#6

Hi, Karol.

The stack trace you posted is related to a typo (my fault!) in an older version of Quickshot.

Quickshot, being a project under heavy development, undergoes updates many times per day, to fix problems such as the one you seem to have encountered and to improve usability. Upgrading to the latest source from Bazaar before doing any testing (bzr pull) or using Luke's daily PPA build will help us to identify problems more quickly and will allow you to avoid spending time writing reports for issues that have already been resolved.

Following up on your original message, it is always a good idea to make sure you are running the latest (or most recently published) version of a piece of software before filing a bug. That said, developers really, really like knowing about any mistakes they have made, since it allows them to reduce frustration among the userbase that would normally remain silent, so don't hesitate to report problems when you find them, with any packages you may use.

Revision history for this message
Karol Horowski (karol-hor) said :
#7

Hi, Neil.

When I have run quickly, I had revision 141. I execute it from quickshot account. I don't know why it didn't launch the newest quickshot.

I removed quickshot account (the whole directory), but now it say, that I don't have babel module. Can I find this in ubuntu repositories?

Revision history for this message
Neil Tallim (red-hamsterx) said :
#8

I don't think Quickshot is configured to auto-update itself (we've deferred the logistics to a later release), so you will need to run 'cd quickshot && bzr pull' to make sure your version is always current, at least until we freeze development in preparation for the screencap frenzy. Thank you very much for helping to test it in the meantime, though.

As for babel, the package you want is 'python-pybabel'. This is a dependency of the PPA version, but it needs to be installed manually if installing Quickshot using bzr.

Caution: I am currently reworking the capture logic to make Quickshot portable to other themes and window managers, so things may break over the next half hour.

Revision history for this message
Luke Jennings (ubuntujenkins) said :
#9

Hello,

The ppa can be found here, it will be getting an update sometime today.

https://edge.launchpad.net/~quickshotdevs/+archive/quickshot-daily

Please remove the quickshot user before running the quickshot program.
It appears in Applications > Accessories .

Thanks
Luke

Revision history for this message
Luke Jennings (ubuntujenkins) said :
#10

I should have said that you only need to remove it when running it for the first time.

Revision history for this message
Karol Horowski (karol-hor) said :
#11

Hi,

I'll use ppa. But there is another problem.

I removed quickshot user and pull 163 revision. I start quickshot: quickly run -r. It creates user and so on. Next it ask me to log into quickshot user. Afte log in, nothing happens. I start again quichshot from directory I have revision: quickly run. It opened the window to install quickshot, not to capture screens and then it turn off. When I open terminal from quickshot's home directory (nautilus script) it shows: quickshot: command not found. Nothing happens, so I interrupt it - CTRL+C. It shows: [1]+ 127 EXIT quickshot.

Next fing, but this isn't bug. Suggestion.
I'm from Poland, so I have Polish language in Ubuntu - every translation. When quickshot will be able to send screenshots, on the beginning probably it will do shots for English Ubuntu Manual. When It capture my screenshot there will be no English names, but Polish. It should automatically turn to English translation.

Thanks.
Karol

Revision history for this message
Luke Jennings (ubuntujenkins) said :
#12

There was a problem in revision 163 which was a typo on my part, please update to revision 165.

We have not started translating the quickshot program, yet that is some thing we will discuss in the future.

Any screenshots you take will be uploaded in you langauge, for the translated version of the ubuntu manual. If you would like to help with the polish translations you can start here https://translations.edge.launchpad.net/ubuntu-manual/main/+lang/pl . It will be best to wait until the 31st of march until you start as this is when the writing freeze is.

Thanks again

Revision history for this message
Neil Tallim (red-hamsterx) said :
#13

Unfortunately, I cannot help you with the problems you are experiencing with Quickshot, but I can shed light on the second part of your post.

Quickshot's purpose is to capture screenshots in as many languages as possible. We actually want you to collect pictures of programs with Polish text, for inclusion in the Polish version of the Ubuntu Manual. Quickshot will automatically handle the process of managing screenshots taken in any of the 52 languages it currently supports.

You may be confused based on the fact that we are currently providing descriptions and instructions in English, while asking for screenshots to be taken in non-English environments. That is a regrettable effect of the short development window we had for this release. The next version will support full interface translations, to make it easier for people who are not comfortable with English (your command of the language is quite good, by the way).

Try taking a few screenshots once Quickshot is running again and look at http://stellvia.uguu.ca/~flan/screencaps/ (this is a development server -- it will be taken down once Quickshot enters production, so don't bookmark it). You should see some progress reflected under the 'pl' language entry at the bottom, which means you have successfully uploaded some screenshots that we can actually put into the manual. If you need to re-upload a file because you made a mistake, feel free.

Revision history for this message
Karol Horowski (karol-hor) said :
#14

Thanks Luke Jennings, that solved my question.