Mount Power
 
Picture

Pokrewne:

Cytat:

invalid command name "regexo"





Wiaz - Czw Sie 02, 2007 10:35 am
" />DDL:
Kod:CREATE TABLE [element]
(
[id] INTEGER PRIMARY KEY autoincrement not null,
[nazwa] VARCHAR
    (
        100
    )
    unique not null,
[id_pref_dostawca] INTEGER references dostawca
    (
        id
    ),
[id_typ] INTEGER references typ_elementu
    (
        id
    )
    not null,
[magazyn] INTEGER default 0,
[magazyn_w_drodze] INTEGER default 0,
[uwagi] TEXT
)
right clicking treeview on the table->edit table
gives error:
Kod:invalid command name "regexo"
    while executing
"regexo -- {(?i).*\s+DEFAULT\s+(\d+).*} $col"
    invoked from within
"if {[regexp -- {(?i).*\s+DEFAULT.*} $col]} {
         set defaultStr ""
         set col [string map [list "''" "\x01\x01\x01\APO\x01\x01\x01"] $col]
         if {[rege..."
    ("uplevel" body line 101)
    invoked from within
"uplevel 1 {
      set obj [NewTableDialog::Column ::#auto -name $colName]

      set colType ""
      if {[regexp -- "(?i)\\s*(\\S+|'\[^']+'|\\\[\[^\\]]+\])\\s+([..."
    (object "::.editTable" method "::EditTableDialog::parseColumn" body line 2)
    invoked from within
"parseColumn"
    while constructing object "::.editTable" in ::EditTableDialog::constructor (body line 27)
    invoked from within
"EditTableDialog .editTable -title [mc {Edit table}] -db $db -table $table"
    (object "::.mainWin.d.l.sb" method "::DBTree::editTable" body line 9)
    invoked from within
"::.mainWin.d.l.sb editTable"
    (menu invoke)

clicking icon 'table edit' within table schema view:
Kod:invalid command name "regexo"
    while executing
"regexo -- {(?i).*\s+DEFAULT\s+(\d+).*} $col"
    invoked from within
"if {[regexp -- {(?i).*\s+DEFAULT.*} $col]} {
         set defaultStr ""
         set col [string map [list "''" "\x01\x01\x01\APO\x01\x01\x01"] $col]
         if {[rege..."
    ("uplevel" body line 101)
    invoked from within
"uplevel 1 {
      set obj [NewTableDialog::Column ::#auto -name $colName]

      set colType ""
      if {[regexp -- "(?i)\\s*(\\S+|'\[^']+'|\\\[\[^\\]]+\])\\s+([..."
    (object "::.editTable" method "::EditTableDialog::parseColumn" body line 2)
    invoked from within
"parseColumn"
    while constructing object "::.editTable" in ::EditTableDialog::constructor (body line 27)
    invoked from within
"EditTableDialog .editTable -title [mc {Edit table}] -db $_db -table $_table"
    (object "::tableWin3" method "::TableWin::editTable" body line 2)
    invoked from within
"::tableWin3 editTable"
    invoked from within
".mainWin.d.r.win4.main.tabs.cols.toolbar.tb.tbframe.grp_default.w2 invoke "
    invoked from within
".mainWin.d.r.win4.main.tabs.cols.toolbar.tb.tbframe.grp_default.w2 instate {pressed !disabled} { .mainWin.d.r.win4.main.tabs.cols.toolbar.tb.tbframe.g..."
    (command bound to event)




Googie - Czw Sie 02, 2007 10:51 am
" />Ah, obscure mistake :/ Will be fixed in beta3.
  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • przeloty.htw.pl