Incomplete setup.py

Bug #1250094 reported by kadin-ecucation
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Epoptes
Confirmed
Medium
Fotis Tsamis

Bug Description

Following an install on Gentoo/Sabayon install, launched from a terminal, the GUI flashes up for a fraction of a second and the following appears on the console:

"/usr/lib64/python2.7/site-packages/epoptes/ui/gui.py:83: GtkWarning: Unknown property: GtkMenu.ubuntu-local
  self.wTree.add_from_file('epoptes.ui')
Connection with epoptes failed:
An error occurred while connecting: 2: No such file or directory."

The install procedure is as below.

Thanks

BASH INSTALL PROC
================
APP=epoptes
install_if_needed dev-vcs/bzr dev-python/python-distutils-extra dev-python/twisted-web
cd $G_ARCHIVE_DIR/Education
bzr branch lp:epoptes
cd $G_ARCHIVE_DIR/Education/epoptes
python setup.py build

The output is:
"twisted.plugins.epoptesd
running build
running build_py
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
running build_scripts
running build_i18n
intltool-update -p -g epoptes
running build_icons
running build_help
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  potfiles-workaround/README
  potfiles-workaround/remote-assistance
  twisted/plugins/epoptesd.py
"

sudo python setup.py install

The output is:

"twisted.plugins.epoptesd

(setup.py:15317): libnotify-WARNING **: Failed to connect to proxy
running install
running build
running build_py
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
running build_scripts
running build_i18n
intltool-update -p -g epoptes
running build_icons
running build_help
running install_lib
running install_scripts
changing mode of /usr/bin/epoptes to 755
running install_data
running install_egg_info
Removing /usr/lib64/python2.7/site-packages/epoptes-0.5.6_1-py2.7.egg-info
Writing /usr/lib64/python2.7/site-packages/epoptes-0.5.6_1-py2.7.egg-info
WARNING: the following files are not recognized by DistUtilsExtra.auto:
  potfiles-workaround/README
  potfiles-workaround/remote-assistance
  twisted/plugins/epoptesd.py"

I then add an application account epoptes and include my current user into the epoptes group.
After logout/in I run
$ epoptes

The app GUI flashes up for a fraction of a second and I am left with:

"/usr/lib64/python2.7/site-packages/epoptes/ui/gui.py:83: GtkWarning: Unknown property: GtkMenu.ubuntu-local
  self.wTree.add_from_file('epoptes.ui')
Connection with epoptes failed:
An error occurred while connecting: 2: No such file or directory."

Revision history for this message
Fotis Tsamis (ftsamis) wrote :

Hello and thanks for your report!
This problem is due to an incomplete setup.py and will be fixed soon.
As a workaround try manually copying the files under data/ and under epoptes/ui/gtk/ in /usr/share/epoptes/ and see if this works.

Fotis

Changed in epoptes:
assignee: nobody → Fotis Tsamis (phantomas)
importance: Undecided → Medium
status: New → Confirmed
summary: - gui.py Unknown property GtkMenu.ubuntu-local
+ Incomplete setup.py
Revision history for this message
Dustin Palmer (cheapojoe) wrote :

Fotis,

I realize this is bug is a three years old, but I'm experiencing the same issue on 14.04 LTS, but not on 16.04 LTS. Could you give a bit more detail on your workaround?

Revision history for this message
Fotis Tsamis (ftsamis) wrote :

Hi Dustin,

Indeed this is a very old bug, and needs to be fixed, but since you are running Ubuntu, could you use https://launchpad.net/~epoptes/+archive/ubuntu/ppa in the meantime? It has the latest Epoptes version and should be just what you want.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.