Open Another Notebook; zim hangs, if already open

Bug #1250391 reported by Andreas Wehler
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zim (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 10.04.2 LTS; zim 0.60; python 2.6

If you "file / Open Another Notebook" that happens to be already open+zim hangs.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1250391] [NEW] Open Another Notebook; zim hangs, if already open

Can you run zim as "zim -D" and reproduce the issue to generate debug
output ?

Thanks,

jaap

On Tue, Nov 12, 2013 at 11:41 AM, Andreas Wehler <
<email address hidden>> wrote:

> Public bug reported:
>
> Ubuntu 10.04.2 LTS; zim 0.60; python 2.6
>
> If you "file / Open Another Notebook" that happens to be already
> open+zim hangs.
>
> ** Affects: zim (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to zim in
> Ubuntu.
> https://bugs.launchpad.net/bugs/1250391
>
> Title:
> Open Another Notebook; zim hangs, if already open
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+subscriptions
>

Revision history for this message
Andreas Wehler (andreas-wehler) wrote :

Hello Jaap.

See Debug.txt, attached.

There is also a core file, due to "Force to Quit" X11 window.

The Notebooks are mostly empty, just created for playing with zim.

(Thanks a lot! I've made already advertisements for vim, but we'll see).

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1250391] Re: Open Another Notebook; zim hangs, if already open

Wait is the notebook you open from the dialog the same notebook as where
the dialog is opened from ?

If so I understand - the process hangs because it is calling itself .. will
need to fix that.

-- Jaap

On Tue, Nov 12, 2013 at 1:24 PM, Andreas Wehler <
<email address hidden>> wrote:

> Hello Jaap.
>
> See Debug.txt, attached.
>
> There is also a core file, due to "Force to Quit" X11 window.
>
> The Notebooks are mostly empty, just created for playing with zim.
>
> (Thanks a lot! I've made already advertisements for vim, but we'll see).
>
>
> ** Attachment added: "-D output"
>
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+attachment/3906362/+files/Debug.txt
>
> --
> You received this bug notification because you are subscribed to zim in
> Ubuntu.
> https://bugs.launchpad.net/bugs/1250391
>
> Title:
> Open Another Notebook; zim hangs, if already open
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+subscriptions
>

Revision history for this message
Andreas Wehler (andreas-wehler) wrote : Re: [Bug 1250391] Re: Open Another Notebook; zim hangs, if already open

Hello Jaap.

My workstation is a RedHat 5.3 and therefore quite old. There is only
python 2.4, cannot do much about it now.

I've started zim from another noebook and set the DISPLAY to my
workstation. So, that other notebook handles all about zim, but
just the X11 display is somewhere else.

I've also tried to get python 2.6 from our IT department up and
running for RHE 5.3, because there are quite a few of them
for reasons and it surely would pay off. Then I can start zim
directly from teh workstation.

By the way, most if not all python programs start with
    #!/usr/bin/python

presuming that there is a new python version. This may be
not true. Of course you can alwaas start zim by
    /path_to_new_python/python zim.py

Or, consider to let PATH decide what python should be taken:
    #!/bin/env python

Best regards,

    Andreas

Jaap Karssenberg wrote:
> Wait is the notebook you open from the dialog the same notebook as where
> the dialog is opened from ?
>
> If so I understand - the process hangs because it is calling itself .. will
> need to fix that.
>
> -- Jaap
>
>
> On Tue, Nov 12, 2013 at 1:24 PM, Andreas Wehler <
> <email address hidden>> wrote:
>
>> Hello Jaap.
>>
>> See Debug.txt, attached.
>>
>> There is also a core file, due to "Force to Quit" X11 window.
>>
>> The Notebooks are mostly empty, just created for playing with zim.
>>
>> (Thanks a lot! I've made already advertisements for vim, but we'll see).
>>
>>
>> ** Attachment added: "-D output"
>>
>> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+attachment/3906362/+files/Debug.txt
>>
>> --
>> You received this bug notification because you are subscribed to zim in
>> Ubuntu.
>> https://bugs.launchpad.net/bugs/1250391
>>
>> Title:
>> Open Another Notebook; zim hangs, if already open
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+subscriptions
>>
>

--
Dr.-Ing. Andreas Wehler
Development Manager; IVM Senior Consultant
*****************************************
Thales Austria GmbH
Handelskai 92, 1200 Vienna, Austria

Tel.: +43 1 27711-5276
Email: <email address hidden>
Web: www.thalesgroup.com
FN 278233 t / Commercial Court Vienna

Revision history for this message
Andreas Wehler (andreas-wehler) wrote : Re: [Bug 1250391] Just "yes". (Open Another Notebook; zim hangs, if already open)

Hello Jaap.

Jaap Karssenberg wrote:
> Wait is the notebook you open from the dialog the same notebook as where
> the dialog is opened from ?

UUuuhhh, sorry for misunderstanding.

The answer is "YES", because you talk about zim-notebook,
not the physical one, which accidentally is a notebook too.
I wondered how you could guess it, its name is "LabNote", but
you are not in contact with En Es Ei, N xx S xx A, are you? :-)

Best regards,

   Andreas

>
> If so I understand - the process hangs because it is calling itself .. will
> need to fix that.
>
> -- Jaap
>
>
> On Tue, Nov 12, 2013 at 1:24 PM, Andreas Wehler <
> <email address hidden>> wrote:
>
>> Hello Jaap.
>>
>> See Debug.txt, attached.
>>
>> There is also a core file, due to "Force to Quit" X11 window.
>>
>> The Notebooks are mostly empty, just created for playing with zim.
>>
>> (Thanks a lot! I've made already advertisements for vim, but we'll see).
>>
>>
>> ** Attachment added: "-D output"
>>
>> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+attachment/3906362/+files/Debug.txt
>>
>> --
>> You received this bug notification because you are subscribed to zim in
>> Ubuntu.
>> https://bugs.launchpad.net/bugs/1250391
>>
>> Title:
>> Open Another Notebook; zim hangs, if already open
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+subscriptions
>>
>

--
Dr.-Ing. Andreas Wehler
Development Manager; IVM Senior Consultant
*****************************************
Thales Austria GmbH
Handelskai 92, 1200 Vienna, Austria

Tel.: +43 1 27711-5276
Email: <email address hidden>
Web: www.thalesgroup.com
FN 278233 t / Commercial Court Vienna

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1250391] Re: Open Another Notebook; zim hangs, if already open

Sorry, I was talking about notebook as in "zim notebooks" not as in
"notebook PCs".

What I meant is that you have a notebook open in zim when you select the
"open another notebook" dialog, then you click in the list the exact same
notebook to open -- correct ?

-- Jaap

On Tue, Nov 12, 2013 at 2:08 PM, Andreas Wehler <
<email address hidden>> wrote:

> Hello Jaap.
>
> My workstation is a RedHat 5.3 and therefore quite old. There is only
> python 2.4, cannot do much about it now.
>
> I've started zim from another noebook and set the DISPLAY to my
> workstation. So, that other notebook handles all about zim, but
> just the X11 display is somewhere else.
>
> I've also tried to get python 2.6 from our IT department up and
> running for RHE 5.3, because there are quite a few of them
> for reasons and it surely would pay off. Then I can start zim
> directly from teh workstation.
>
> By the way, most if not all python programs start with
> #!/usr/bin/python
>
> presuming that there is a new python version. This may be
> not true. Of course you can alwaas start zim by
> /path_to_new_python/python zim.py
>
> Or, consider to let PATH decide what python should be taken:
> #!/bin/env python
>
>
> Best regards,
>
> Andreas
>
>
> Jaap Karssenberg wrote:
> > Wait is the notebook you open from the dialog the same notebook as where
> > the dialog is opened from ?
> >
> > If so I understand - the process hangs because it is calling itself ..
> will
> > need to fix that.
> >
> > -- Jaap
> >
> >
> > On Tue, Nov 12, 2013 at 1:24 PM, Andreas Wehler <
> > <email address hidden>> wrote:
> >
> >> Hello Jaap.
> >>
> >> See Debug.txt, attached.
> >>
> >> There is also a core file, due to "Force to Quit" X11 window.
> >>
> >> The Notebooks are mostly empty, just created for playing with zim.
> >>
> >> (Thanks a lot! I've made already advertisements for vim, but we'll see).
> >>
> >>
> >> ** Attachment added: "-D output"
> >>
> >>
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+attachment/3906362/+files/Debug.txt
> >>
> >> --
> >> You received this bug notification because you are subscribed to zim in
> >> Ubuntu.
> >> https://bugs.launchpad.net/bugs/1250391
> >>
> >> Title:
> >> Open Another Notebook; zim hangs, if already open
> >>
> >> To manage notifications about this bug go to:
> >>
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+subscriptions
> >>
> >
>
> --
> Dr.-Ing. Andreas Wehler
> Development Manager; IVM Senior Consultant
> *****************************************
> Thales Austria GmbH
> Handelskai 92, 1200 Vienna, Austria
>
> Tel.: +43 1 27711-5276
> Email: <email address hidden>
> Web: www.thalesgroup.com
> FN 278233 t / Commercial Court Vienna
>
> --
> You received this bug notification because you are subscribed to zim in
> Ubuntu.
> https://bugs.launchpad.net/bugs/1250391
>
> Title:
> Open Another Notebook; zim hangs, if already open
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zim/+bug/1250391/+subscriptions
>

Revision history for this message
Andreas Wehler (andreas-wehler) wrote :

See #5; Sorry for the noise.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zim (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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