Opened 7 years ago

Closed 7 years ago

#1338 closed defect (duplicate)

Opening a File not in Project kills Padre

Reported by: bowtie Owned by:
Priority: major Milestone:
Component: Project Browser Version: 0.91
Keywords: Cc:


So you are working on your project in Padre, you decided to view a modules code in Perl library and instead of viewing the code you get the following:

Error Dialog

The directory browser got an undef object and may stop working now. Please save your work and restart Padre.

Terminal message

Use of uninitialized value $chd in concatenation (.) or string at /usr/src/Padre/Padre/lib/Padre/Wx/ line 586.
Something is wrong as one of the directory objects is undef (position=2, child=Wx::TreeItemId=SCALAR(0xf86f2f0), chd=) at /usr/src/Padre/Padre/lib/Padre/Wx/ line 586.

This sucks, we should be able to view the contents of a file. which is not associated with a project or the need for a padre.yml file.

Change History (4)

comment:1 Changed 7 years ago by azawawi

I assume you're on ubuntu, right?
Does it occur all the time or sometimes?

comment:2 Changed 7 years ago by bowtie

Allways if Padre project open first as above

Syetem-Info as requested

                   Padre 0.91
                   linux i686-linux-thread-multi
                  kernel 2.6.38-11-generic
             description Ubuntu 11.04 
                    Perl 5.14.1
                 Threads 10
                     Ram 0.0
                      Wx 0.9901
               WxWidgets 2.8.11
                 unicode 1
        Alien::wxWidgets 0.52
 Wx::Perl::ProcessStream 0.30
           Wx::Scintilla 0.30
                     PPI 1.215
                 Config: /usr/src/Padre/Padre/.padre

comment:3 Changed 7 years ago by azawawi

  • Priority changed from blocker to major

comment:4 Changed 7 years ago by bowtie

  • Resolution set to duplicate
  • Status changed from new to closed

see #1374

Note: See TracTickets for help on using tickets.