Bug 5173

Summary: Editra do not work (missing file in wxPython)
Product: Mageia Reporter: Jacques Pronchery <jacques.pronchery>
Component: RPM PackagesAssignee: Cesar Vargas <cvargas>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: cvargas, dmorganec, ennael1, fundawang, juan.baptiste, misc
Version: CauldronKeywords: Junior_job
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard: MGA2TOO
Source RPM: wxPython-tools-2.8.12.1-1.mga2 CVE:
Status comment:

Description Jacques Pronchery 2012-04-01 19:37:06 CEST
If I launch editra I have :

[jacques@localhost ~]$ editra
Traceback (most recent call last):
  File "/usr/bin/editra", line 3, in <module>
    from wx.tools.Editra.launcher import main
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/tools/Editra/launcher.py", line 12, in <module>
    execfile(launcher)
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/tools/Editra/Editra'
[jacques@localhost ~]$
Jacques Pronchery 2012-04-01 19:43:11 CEST

Source RPM: tkinter-apps-2.7.2-3.mga2 => wxPython-tools-2.8.12.1-1.mga2

Manuel Hiebel 2012-04-02 00:58:50 CEST

Keywords: (none) => Junior_job
CC: (none) => dmorganec, ennael1, fundawang, misc
Summary: Editra do not work => Editra do not work (missing file in wxPython)

Comment 1 Marja Van Waes 2012-05-26 13:02:30 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 2 Jacques Pronchery 2012-06-14 11:59:58 CEST
This bug is still valid for Mageia 2.

Whiteboard: (none) => MGA2TOO

Manuel Hiebel 2012-06-17 01:57:13 CEST

Keywords: NEEDINFO => (none)

Juan Luis Baptiste 2012-07-31 22:15:07 CEST

CC: (none) => juan.baptiste
Assignee: bugsquad => cvargas

Comment 3 Juan Luis Baptiste 2012-07-31 22:15:19 CEST
AFAIK, when this bug was opened editra wasn't available on mga 1 or 2, not even in cauldron, see the changelog:


[juancho@cauldron ~]$ mgarepo rpmlog editra
* Fri Jul 27 2012 vaci0 <vaci0> 0.7.08-1.mga3
+ Revision: 275113
- Updated to 0.7.08 version
- Removed obsolete defattr call in %%files
- Simplified file instalation with one line for all files in %%files.

* Tue Jul 10 2012 juancho <juancho> 0.7.01-1.mga3
+ Revision: 269184
- Added back BR wxPythonGTK
- Changed macro %%{python_sitelib} for %%{python_sitearch} so it builds on x86_64
- Removed all .mo individual entries in %%files for a generic one for all of them
- Renamed spec to lower case
- Renamed to lower case

  + vaci0 <vaci0>
    - Fix BuildRequires
    - Fix path to icon in .desktop
    - Fix name in lowercase
    - imported package Editra


Anyway, editra is now available on cauldron, please test that one.
Cesar Vargas 2012-08-01 01:55:17 CEST

CC: (none) => cvargas

Comment 4 Jacques Pronchery 2012-08-01 12:38:44 CEST
Editra does not work on Cauldron.

[jacques@localhost ~]$ editra
Traceback (most recent call last):
  File "/bin/editra", line 3, in <module>
    from wx.tools.Editra.launcher import main
  File "/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/tools/Editra/launcher.py", line 12, in <module>
    execfile(launcher)
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/tools/Editra/Editra'
[jacques@localhost ~]$
Comment 5 Cesar Vargas 2012-08-01 16:59:26 CEST
Hi, first:
- Which version of editra you have installed?
- Was installed from the repositories?
Comment 6 Cesar Vargas 2012-08-01 17:04:02 CEST
Hi, first:
- Which version of editra you have installed?
- Was installed from the repositories?
Comment 7 Jacques Pronchery 2012-08-01 17:15:09 CEST
I use editra which comes from the package : wxPython-tools-2.8.12.1-1.mga2

I cannot use the package editra because there is a conflict with the editra
which comes with wxPython-tools.
Comment 8 Cesar Vargas 2012-08-02 17:44:20 CEST
Uninstall wxPython-tools and try editra-0.7.08-1.mga3
Comment 9 Jacques Pronchery 2012-08-02 18:13:20 CEST
Of course, Editra works fine.
But it is not what I want !
In the menu, the icon is in a wrong place.
It is in Tools or it is better in developement.
Comment 10 Juan Luis Baptiste 2012-08-02 20:45:40 CEST
The Editra version that comes bundled with wxPython-tools is really old, it is
0.6.48 from 05/14/2011. The current standalone package in cauldron is 0.7.08
from07/15/2012.  

Editra does its releases independently from wxPython, so IMO, the editra
version that comes within wxPython-tools should be removed and leave the
standalone version. That way editra can be updated to latest version more
easily than if it is included with wxPython-tools, which means it can only be
updated when that package is updated. In case of backports that will be much
harder than if editra is a standalone package.
Comment 11 Jacques Pronchery 2012-08-02 22:25:56 CEST
I think so.
Comment 12 Juan Luis Baptiste 2012-08-10 06:24:25 CEST
Ok, so if nobody opposes I'll go ahead and remove editra from wxPython so it's only available in the standalone package.
Comment 13 Cesar Vargas 2012-08-13 21:59:14 CEST
Editra is now in Development category
Comment 14 Manuel Hiebel 2012-08-13 23:55:32 CEST
and for this bug ? everything resolved ?
Comment 15 Juan Luis Baptiste 2012-08-14 01:51:35 CEST
(In reply to comment #14)
> and for this bug ? everything resolved ?

Nope, as editra also comes with wxPython we need to remove it from there. As that package currently has no maintainer to ask about this, then I'll go ahead and remove editra from wxPython so we only have this standalone version, ok ?
Comment 16 Jacques Pronchery 2012-08-14 07:12:45 CEST
Now in the menu, editra is in Development category but it is also in Tools.
It would be better if it was only in "Development Environment".
Comment 17 Manuel Hiebel 2012-08-18 15:45:00 CEST
@Jacques, please feel free to open a new bug, this one get confuse.

@Juan, yes feel free to do so.
Comment 18 Cesar Vargas 2012-09-20 03:03:49 CEST
(In reply to comment #16)
> Now in the menu, editra is in Development category but it is also in Tools.
> It would be better if it was only in "Development Environment".

Jacques, Editra is only in Development category, not in Tools.
Problem solved?
Comment 19 Jacques Pronchery 2013-03-05 08:02:44 CET
I close this bug, but there is two version of editra :
   one in a editra package
   and an other one in wxPython-tools package

If installing one of these package we cannot install the other.

Status: NEW => RESOLVED
Resolution: (none) => FIXED