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

  • Home
  • SEARCH
  • 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 8638189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:39:54+00:00 2026-06-12T10:39:54+00:00

I am trying to package up a mixed Python/C++ application using py2app. My setup.py

  • 0

I am trying to package up a mixed Python/C++ application using py2app. My setup.py is

from setuptools import setup
setup(app=['voxpopuli.py'],data_files=[],options=
  {'py2app'{'argv_emulation':True}},setup_requires=['py2app'])

and I invoke py2app via

python setup.py py2app --no-strip --iconfile /Users/irving/otherlab/other/bin/OLicon.icns --resources /opt/local/lib/Resources/qt_menu.nib

This completes without warnings or errors, but when I try to run the resuling app a window pops up that simply says “voxpopuli Error”. It has an “Open Console” button, but the only console messages are

9/21/12 11:43:14.691 AM voxpopuli[52765]: voxpopuli Error
9/21/12 11:43:15.926 AM com.apple.launchd.peruser.501[158]: ([0x0-0x177d77c].org.pythonmac.unspecified.voxpopuli[52765]) Exited with code: 255

Are there standard ways to get more information out of py2app to help diagnosing this error?

  • 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-06-12T10:39:56+00:00Added an answer on June 12, 2026 at 10:39 am

    I believe this is a problem with the app rather than the py2app.

    If the app hits an unhandled exception it will exit out like this. Which version of osx are you using? In 10.8 they stopped automatically forwarding stderr to the console, so might be an idea to pipe the applications stdout and stderr to a file to see if you have a stack trace.

    Although if it’s an error in the C++ part I’m guessing you wouldn’t see a stack trace, but the error could be in that part of the application.

    If you really can’t find the issue, try stripping large parts out the app until it runs then add bits back in until it doesn’t run, then strip etc. (like a binary search) to try and find the offending part.

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

Sidebar

Related Questions

Am trying to execute ssis package using dtexec utility from c# app(Creating New Process,
I'm trying to package a Linux program for Mac OS X using py2app. My
I am trying to package a python application on my 64 bit windows 7
I'm trying to package my ruby application as a RubyGem (using Jeweler and Rake).
Trying to make a spinner in android: package com.example.test; import android.app.Activity; import android.widget.ArrayAdapter; import
I am trying to implement this code: package fortyonepost.com.iapa; import android.app.Activity; import android.graphics.Bitmap; import
I am trying to package my web application into war file using Ant. When
Python newbie here. I'm trying to package a console app following this doc .
I'm trying to package my app up and distribute an ad hoc version via
I'm trying to import a WSDL using wsimport (JDK 6). This fails, however, telling

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.