Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3426166
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:40:55+00:00 2026-05-18T06:40:55+00:00

I wrote a little PyGTK app: Workcycler Now I have the problem that I

  • 0

I wrote a little PyGTK app: Workcycler

Now I have the problem that I need to hit the quit button twice for it to quit and I don’t know why.
I´ve tested it extensively and it allways calls all quit functions but the program simply doesn’t close after the first time.

It’s a pretty short script so could someone please have a look over it?

I think the problem may come from using python’s timers or a part from the pygame lib (mixer).

These are the important files I think: workcycle.py and tray.py

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:40:55+00:00Added an answer on May 18, 2026 at 6:40 am

    You are running the workcycle.ui.tray.WorkcycleTray.start method twice (so gtk.main run twice )
    once in the workcycler and another in workcycle.py line 20, comment that line and everything works fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a little Java servlet that would dynamically generate an image button given
I have wrote this little script which generates a nice random password. The problem
I wrote this little web app that lists the websites running on the local
I wrote a little app that uploads a selected picture form the ImagePicker to
For a mock web service I wrote a little Django app, that serves as
I wrote a little daemon in Perl that calls up FFMpeg to encode a
I wrote a little program that solves 49151 sudoku's within an hour for an
I wrote an little app in C# to keep track of customers and jobs
I wrote a little utility class that saves BitmapSource objects to image files. The
I have wrote a little function to dynamically include CSS file or JS file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.