Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8841 > unrolled thread

Issue on setup.py with imports

Started byMarcos <marcos.costales@gmail.com>
First post2016-09-03 10:20 +0200
Last post2016-09-06 11:10 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Issue on setup.py with imports Marcos <marcos.costales@gmail.com> - 2016-09-03 10:20 +0200
    Re: Issue on setup.py with imports IOhannes m zmölnig (Debian/GNU)  <umlaeute@debian.org> - 2016-09-06 09:40 +0200
      Re: Issue on setup.py with imports Matthias Klose <doko@debian.org> - 2016-09-06 11:10 +0200

#8841 — Issue on setup.py with imports

FromMarcos <marcos.costales@gmail.com>
Date2016-09-03 10:20 +0200
SubjectIssue on setup.py with imports
Message-ID<sdelb-2M5-5@gated-at.bofh.it>
Hi,

I'm migrating Gufw [1] from python2 to python3 and honestly I'm stuck
with an error from the setup.py: Python module controller not found:

costales@dev:~/Desktop/16.10$ sudo python3 setup.py install --prefix=/usr
ERROR: Python module controller not found
running install
running build
running build_py
running build_scripts
running build_i18n
intltool-update -p -g gufw
running build_icons
running build_help
running install_lib
running install_scripts
changing mode of /usr/bin/gufw to 755
changing mode of /usr/bin/gufw-pkexec to 755
running install_data
running install_egg_info
Removing /usr/lib/python3.5/site-packages/gufw-16.10.0-py3.5.egg-info
Writing /usr/lib/python3.5/site-packages/gufw-16.10.0-py3.5.egg-info
costales@dev:~/Desktop/16.10$

And weird... even with that error, Gufw is installed and running :O

costales@dev:~/Desktop/16.10$ sudo gufw
Instance
Controller
Frontend
view/Gufw
ended
costales@dev:~/Desktop/16.10$


I simplified the code in this branch:

bzr brach lp:~costales/gui-ufw/simplycode
cd simplycode


Any help please? Thanks in advance!
Costales.

[1] http://launchpad.net/gui-ufw

[toc] | [next] | [standalone]


#8842

FromIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Date2016-09-06 09:40 +0200
Message-ID<sej97-7iG-1@gated-at.bofh.it>
In reply to#8841

On 2016-09-03 10:18, Marcos wrote:
> I'm migrating Gufw [1] from python2 to python3 and honestly I'm stuck
> with an error from the setup.py: Python module controller not found:
> 
> costales@dev:~/Desktop/16.10$ sudo python3 setup.py install --prefix=/usr
> ERROR: Python module controller not found
> running install
> running build
> running build_py
> running build_scripts
> running build_i18n
> intltool-update -p -g gufw
> running build_icons
> running build_help
> running install_lib
> running install_scripts
> changing mode of /usr/bin/gufw to 755
> changing mode of /usr/bin/gufw-pkexec to 755
> running install_data
> running install_egg_info
> Removing /usr/lib/python3.5/site-packages/gufw-16.10.0-py3.5.egg-info
> Writing /usr/lib/python3.5/site-packages/gufw-16.10.0-py3.5.egg-info
> costales@dev:~/Desktop/16.10$

so the "error" is non-fatal and the installation proceeds.
i fail to see the problem.

fgmasdr
IOhannes

[toc] | [prev] | [next] | [standalone]


#8843

FromMatthias Klose <doko@debian.org>
Date2016-09-06 11:10 +0200
Message-ID<sekyd-8q9-11@gated-at.bofh.it>
In reply to#8842
On 06.09.2016 09:36, IOhannes m zmölnig (Debian/GNU) wrote:
> 
> 
> On 2016-09-03 10:18, Marcos wrote:
>> I'm migrating Gufw [1] from python2 to python3 and honestly I'm stuck
>> with an error from the setup.py: Python module controller not found:
>>
>> costales@dev:~/Desktop/16.10$ sudo python3 setup.py install --prefix=/usr
>> ERROR: Python module controller not found
>> running install
>> running build
>> running build_py
>> running build_scripts
>> running build_i18n
>> intltool-update -p -g gufw
>> running build_icons
>> running build_help
>> running install_lib
>> running install_scripts
>> changing mode of /usr/bin/gufw to 755
>> changing mode of /usr/bin/gufw-pkexec to 755
>> running install_data
>> running install_egg_info
>> Removing /usr/lib/python3.5/site-packages/gufw-16.10.0-py3.5.egg-info
>> Writing /usr/lib/python3.5/site-packages/gufw-16.10.0-py3.5.egg-info
>> costales@dev:~/Desktop/16.10$
> 
> so the "error" is non-fatal and the installation proceeds.
> i fail to see the problem.

the path looks suspicious, it should be /usr/lib/python3/dist-packages

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web