djvusmooth missing dependencies

In bash I type:
>djvusmooth

Then I get



Traceback (most recent call last):
  File "/usr/bin/djvusmooth", line 19, in <module>
    from djvusmooth.gui.main import Application
  File "/usr/lib/python2.7/site-packages/djvusmooth/gui/main.py", line 28, in <module>
    import djvusmooth.dependencies as __dependencies
  File "/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py", line 68, in <module>
    _check_wx()
  File "/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py", line 58, in _check_wx
    raise ImportError('wxPython 2.6 or 2.8 with Unicode support is required')
ImportError: wxPython 2.6 or 2.8 with Unicode support is required

And with that it crashes.

How difficult is it to extend your copy/paste sweep a little bite so that it includes the prompt, the command, the output (the only tibg you show) and the next prompt. That ne we can see who you where, where yoy where, what you typed, what you got in one CODE sectioon without you needing to trell a story aboyt what you type.

E.g. (just an an example) not:

I typed “date” and I got

do aug 29 21:49:09 CEST 2013

==========
but

henk@boven:~> date
do aug 29 21:49:09 CEST 2013
henk@boven:~>

==========
More efficient for you and us and tells even more.

And then, this is on my system:

henk@boven:~> >djvusmooth
henk@boven:~>

But it is on openSUSE 12.2 and I have no idea what you have.

I did not include the prompt because it made no difference that it existed all I typed was:

%djvusmooth

just like you did, no options, no arguments, no anything. All the lines I posted are all the lines that were in xterm excluding the prompt.

I even wrote:
“In bash I type:
> djvusmooth”

On 2013-09-13 22:16, ballsystemlord wrote:
>
> I did not include the prompt because it made no difference that it
> existed all I typed was:
>
>
> Code:
> --------------------
> %djvusmooth
> --------------------
>
>
> just like you did, no options, no arguments, no anything. All the lines
> I posted are all the lines that were in xterm excluding the prompt.
>
> I even wrote:
> “In bash I type:
>> djvusmooth”

Instead of all that descriptive text, it is preferable to just paste it
all in one section, complete. Like this:


> cer@Telcontar:~/Documentation/recetas> djvusmooth MermeladaDeNaranja.djvu
> cer@Telcontar:~/Documentation/recetas>

If you don’t believe us, it does not matter: please humour us. :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Now please, you come here to get help. When people here, giving help in their spare time, try to get the information they think they need to help you, you can do two things:

  1. Provide that information willingly, being glad that people are takiing the effort to discuss your problem with you, and when you do not understand how to do what they ask for, explain why you coudl not fullfill their wish and they will try to take a more step to step approach with you.
  2. Think that you know better what path to walk to solve your problem then the people you asked for help. In which case members here will soon start to ignore your thead copmpletley and spend their time to help more cooperative people.

As an extra I will take your remark above as a polite request, formulated e.g.: You aks for a complete copy/paste of a prompt-command-output-prompt sequence, what is so favourable about this?

Amongst other things:

  • we can see what shell you use;
  • we can see what your working directory is;
  • we can see if the command is done by a normal user or as the superuser;
  • we can see exactly the command used with all arguments, as typed with all escaping, etc.
  • we will then have the strong suggestion that it is not tinkered with and complete.

And all that, not becaue we think that you are cheeting us or lying to us, but because the experience of helping people with debuggng for thens of years, learned that people are leaving out critical information because they think it is completely unrelated to their problem. That is only human.

On 2013-09-14 11:06, hcvv wrote:

> And all that, not becaue we think that you are cheeting us or lying to
> us, but because the experience of helping people with debuggng for thens
> of years, learned that people are leaving out critical information
> because they think it is completely unrelated to their problem. That is
> only human.

Absolutely. Very well explained, thanks.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Umm, actually I was concerned that you actually thought that I thought that you could telepathically (or something,) discover the configuration of my computer, which I find it hard to believe that anybody, even a beginner, would think that you could do that.

That said here:

ballsystemlord@linux-rkpo:~> djvusmooth
Traceback (most recent call last):
  File "/usr/bin/djvusmooth", line 19, in <module>
    from djvusmooth.gui.main import Application
  File "/usr/lib/python2.7/site-packages/djvusmooth/gui/main.py", line 28, in <module>
    import djvusmooth.dependencies as __dependencies
  File "/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py", line 68, in <module>
    _check_wx()
  File "/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py", line 58, in _check_wx
    raise ImportError('wxPython 2.6 or 2.8 with Unicode support is required')
ImportError: wxPython 2.6 or 2.8 with Unicode support is required
ballsystemlord@linux-rkpo:~> 


ballsystemlord@linux-rkpo:/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/grub2-efi/themes/openSUSE/icons> sudo djvusmooth
root's password:
Traceback (most recent call last):
  File "/usr/bin/djvusmooth", line 19, in <module>
    from djvusmooth.gui.main import Application
  File "/usr/lib/python2.7/site-packages/djvusmooth/gui/main.py", line 28, in <module>
    import djvusmooth.dependencies as __dependencies
  File "/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py", line 68, in <module>
    _check_wx()
  File "/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py", line 58, in _check_wx
    raise ImportError('wxPython 2.6 or 2.8 with Unicode support is required')
ImportError: wxPython 2.6 or 2.8 with Unicode support is required
ballsystemlord@linux-rkpo:/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/boot/grub2-efi/themes/openSUSE/icons> 

I’ve run rpm -Vvf /usr/bin/djvusmooth and I’ve ran yast in verification mode. I try to avoid giving you guys the infamous “Guess the configuration error” problems.

On 2013-09-26 22:36, ballsystemlord wrote:

> That said here:
>
>
>
> Code:
> --------------------
> ballsystemlord@linux-rkpo:~> djvusmooth
> Traceback (most recent call last):
> File “/usr/bin/djvusmooth”, line 19, in <module>
> from djvusmooth.gui.main import Application
> File “/usr/lib/python2.7/site-packages/djvusmooth/gui/main.py”, line 28, in <module>
> import djvusmooth.dependencies as __dependencies
> File “/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py”, line 68, in <module>
> _check_wx()
> File “/usr/lib/python2.7/site-packages/djvusmooth/dependencies.py”, line 58, in _check_wx
> raise ImportError(‘wxPython 2.6 or 2.8 with Unicode support is required’)
> ImportError: wxPython 2.6 or 2.8 with Unicode support is required
> ballsystemlord@linux-rkpo:~>
> --------------------

Ok…

Run and paste here:


rpm -qi python
rpm -qi djvusmooth
zypper lr --details


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

%rpm -qi python
Name        : python
Version     : 2.7.3
Release     : 10.1.1
Architecture: x86_64
Install Date: Wed 06 Mar 2013 06:26:13 AM EST
Group       : Development/Languages/Python
Size        : 1351640
License     : Python-2.0
Signature   : RSA/SHA256, Sun 27 Jan 2013 07:54:26 AM EST, Key ID b88b2fd43dbdc284
Source RPM  : python-2.7.3-10.1.1.src.rpm
Build Date  : Sun 27 Jan 2013 07:53:50 AM EST
Build Host  : build09
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.python.org/
Summary     : Python Interpreter
Description :
Python is an interpreted, object-oriented programming language, and is
often compared to Tcl, Perl, Scheme, or Java.  You can find an overview
of Python in the documentation and tutorials included in the python-doc
(HTML) or python-doc-pdf (PDF) packages.

If you want to install third party modules using distutils, you need to
install python-devel package.
Distribution: openSUSE 12.3

%rpm -qi djvusmooth
Name        : djvusmooth
Version     : 0.2.13
Release     : 2.1.2
Architecture: noarch
Install Date: Sat 20 Apr 2013 11:31:26 PM EDT
Group       : Productivity/Publishing/Other
Size        : 485285
License     : GPL-2.0
Signature   : RSA/SHA256, Fri 01 Feb 2013 11:33:40 AM EST, Key ID b88b2fd43dbdc284
Source RPM  : djvusmooth-0.2.13-2.1.2.src.rpm
Build Date  : Fri 01 Feb 2013 11:33:14 AM EST
Build Host  : build23
Relocations : (not relocatable)
Packager    : http://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://jwilk.net/software/djvusmooth
Summary     : Graphical Text Editor for DjVu
Description :
DjVuSmooth is a graphical text editor for DjVu documents.
Distribution: openSUSE 12.3

%zypper lr --details
#  | Alias                     | Name                               | Enabled | Refresh | Priority | Type     | URI                                                                                                                            | Service
---+---------------------------+------------------------------------+---------+---------+----------+----------+--------------------------------------------------------------------------------------------------------------------------------+--------
 1 | add-on                    | add-on                             | Yes     | No      |   99     | yast2    | iso:///?iso=openSUSE-12.3-Addon-NonOss-BiArch-i586-x86_64.iso&url=file:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/iso/suse/ |        
 2 | assorted                  | assorted                           | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-assorted                                                       |        
 3 | essentials                | essentials                         | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-essentials                                                     |        
 4 | extra                     | extra                              | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-extra                                                          |        
 5 | games                     | games                              | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-games                                                          |        
 6 | multimedia                | multimedia                         | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-multimedia                                                     |        
 7 | os                        | os                                 | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-os                                                             |        
 8 | repo-debug                | openSUSE-12.3-Debug                | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/distribution/12.3/repo/oss/                                                                 |        
 9 | repo-debug-update         | openSUSE-12.3-Update-Debug         | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/update/12.3/                                                                                |        
10 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/update/12.3-non-oss/                                                                        |        
11 | repo-non-oss              | openSUSE-12.3-Non-Oss              | No      | No      |   99     | NONE     | http://download.opensuse.org/distribution/12.3/repo/non-oss/                                                                   |        
12 | repo-oss                  | openSUSE-12.3-Oss                  | No      | No      |   99     | NONE     | http://download.opensuse.org/distribution/12.3/repo/oss/                                                                       |        
13 | repo-source               | openSUSE-12.3-Source               | No      | No      |   99     | NONE     | http://download.opensuse.org/source/distribution/12.3/repo/oss/                                                                |        
14 | repo-update               | openSUSE-12.3-Update               | No      | No      |   99     | NONE     | http://download.opensuse.org/update/12.3/                                                                                      |        
15 | repo-update-non-oss       | openSUSE-12.3-Update-Non-Oss       | No      | No      |   99     | NONE     | http://download.opensuse.org/update/12.3-non-oss/                                                                                                                                   |        

No, I’ve never been connected so you’ll have to forgive the fact that I mirrored most of the repo’s to my hard disk (the missing parts being most of the Gnome, LXDE, XFCE, packages as well as yast2-trans-* and the -lang packages(it wastes my and your time and bandwidth to mirror more than I need.))

On 2013-10-26 18:16, ballsystemlord wrote:

Sigh…

You started the question by the end of august. We ask you something in
turn, and you answer weeks later. Do you think that I can remember what
your problem was or why we asked whatever we asked of you long ago?

You are making it very difficult to help you.

Now I have to read the entire thread again, to try remember what this
was about.


>     %rpm -qi python
>   Name        : python
>   Version     : 2.7.3
>   Release     : 10.1.1

Ok, current release is for openSUSE 12.3 is 10.8.1, so it means your
system is not up to date.


>   %rpm -qi djvusmooth
>   Name        : djvusmooth
>   Version     : 0.2.13
>   Release     : 2.1.2

This one seems correct.


>   %zypper lr --details
>   #  | Alias                     | Name                               | Enabled | Refresh | Priority | Type     | URI                                                                                                                            | Service
>   ---+---------------------------+------------------------------------+---------+---------+----------+----------+--------------------------------------------------------------------------------------------------------------------------------+--------
>   1 | add-on                    | add-on                             | Yes     | No      |   99     | yast2    | iso:///?iso=openSUSE-12.3-Addon-NonOss-BiArch-i586-x86_64.iso&url=file:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/iso/suse/ |
>   2 | assorted                  | assorted                           | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-assorted                                                       |
>   3 | essentials                | essentials                         | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-essentials                                                     |
>   4 | extra                     | extra                              | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-extra                                                          |
>   5 | games                     | games                              | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-games                                                          |
>   6 | multimedia                | multimedia                         | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-multimedia                                                     |
>   7 | os                        | os                                 | Yes     | No      |   99     | plaindir | dir:///media/717c7f6f-ad7b-4953-af41-9ed864c7fcc2/archives/12.3-os                                                             |
>   8 | repo-debug                | openSUSE-12.3-Debug                | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/distribution/12.3/repo/oss/                                                                 |
>   9 | repo-debug-update         | openSUSE-12.3-Update-Debug         | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/update/12.3/                                                                                |
>   10 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/update/12.3-non-oss/                                                                        |
>   11 | repo-non-oss              | openSUSE-12.3-Non-Oss              | No      | No      |   99     | NONE     | http://download.opensuse.org/distribution/12.3/repo/non-oss/                                                                   |
>   12 | repo-oss                  | openSUSE-12.3-Oss                  | No      | No      |   99     | NONE     | http://download.opensuse.org/distribution/12.3/repo/oss/                                                                       |
>   13 | repo-source               | openSUSE-12.3-Source               | No      | No      |   99     | NONE     | http://download.opensuse.org/source/distribution/12.3/repo/oss/                                                                |
>   14 | repo-update               | openSUSE-12.3-Update               | No      | No      |   99     | NONE     | http://download.opensuse.org/update/12.3/                                                                                      |
>   15 | repo-update-non-oss       | openSUSE-12.3-Update-Non-Oss       | No      | No      |   99     | NONE     | http://download.opensuse.org/update/12.3-non-oss/                                                                                                                                   |
>
> --------------------

> No, I’ve never been connected so you’ll have to forgive the fact that I
> mirrored most of the repo’s to my hard disk (the missing parts being
> most of the Gnome, LXDE, XFCE, packages as well as yast2-trans-* and the
> -lang packages(it wastes my and your time and bandwidth to mirror more
> than I need.))

Well, you need to connect and update your system ASAP. Your problem
could be a bug that was solved months ago in an update, but as you have
not applied them…


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Ok, thanks.