Opened 6 years ago

Closed 5 years ago

#218 closed defect (fixed)

Padre failed to start on Czech MS WinXP Pro SP3

Reported by: mj41 Owned by:
Priority: minor Milestone:
Component: editor Version: 0.23
Keywords: Cc:

Description

$ padre
DBI connect('C:\Documents and Settings\jurosz\Local Settings\Data aplikací\.padre\config.db','',...) failed: unable to o
pen database file(1) at dbdimp.c line 94 at C:/strawberry/perl/site/lib/ORLite/Migrate.pm line 75
Can't call method "selectrow_arrayref" on an undefined value at C:/strawberry/perl/site/lib/ORLite/Migrate.pm line 76.
BEGIN failed--compilation aborted at C:/strawberry/perl/site/lib/Padre/DB.pm line 22.
Compilation failed in require at C:/strawberry/perl/site/lib/Class/Autouse.pm line 410.
 at C:/strawberry/perl/site/lib/Padre.pm line 118
        Padre::new('Padre') called at C:\strawberry\perl\bin/padre line 18

Local Settings path contains letter "long i" (í) http://en.wikipedia.org/wiki/%C3%8D .

With

$ mkdir c:\tmp
$ set PADRE_HOME=c:\tmp
$ padre

Padre runs ok.

Env:
MS Windows XP Pro SP3 Czech localization
Strawberry Perl 5.10.0.3
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
Wx Version: 0.89 wxWidgets 2.8.8

Attachments (1)

Padre-0.24-1231349860.log (61.8 KB) - added by mj41 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by mj41

comment:1 follow-up: Changed 6 years ago by mj41

Padre was forced to install after second run of "cpanp install Padre" failed. Log attached ( http://padre.perlide.org/attachment/ticket/218/ ).

comment:2 in reply to: ↑ 1 Changed 6 years ago by azawawi

For more information:
http://pastebin.com/m36a2aca1
http://irclog.foorumbbs.com/padre_20090107.log.html

The issue was fixed by manually setting $default in View.pm to en-us.... seems me to me that on win32 locale defaulting is not working correctly...

comment:3 Changed 5 years ago by szabgab

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

this was due to DBD::SQLite not handling locale correctly. It was fixed a long time ago.

Note: See TracTickets for help on using tickets.