|
Fenix-TX
|
 |
« Reply #195 on: November 25, 2006, 05:23:51 pm » |
|
Hi! Yesterday i formatted my HD because i had a lot of problems with some sectors...well, the problem is that i've installed kubuntu edgy. i've compiled tcl/tk 8.5a5 and tile0.7.8 with tcl/tk 8.5a5 but Chameleon doesn't start, in aMSN Console, i've executed package require tile and i have this: Can't find a usable tile.tcl in the following directories: /usr/lib/tcl8.5/tile0.7.8 /usr/lib/tile0.7.8 /usr/lib/tk8.5/tile0.7.8 /usr/lib/tk8.5/ttk/tile0.7.8 /home/jesus/.amsn/plugins/tile0.7.8 utils/linux/tile0.7.8 utils/tile0.7.8 /home/jesus/.amsn/plugins/chameleon/tile0.7.8 /lib/tile0.7.8 /usr/library
/usr/lib/tile0.7.8/tile.tcl: invalid command name "style" invalid command name "style" while executing "style theme settings default {
style configure "." -borderwidth 1 -background $colors(-frame) -foreground black -troughcolor $colors(-darker..." (in namespace eval "::tile" script line 16) invoked from within "namespace eval tile {
package provide tile::theme::default $::tile::version
variable colors array set colors { -frame "#d9d9d9" -acti..." (file "/usr/lib/tile0.7.8/defaults.tcl" line 7) invoked from within "source [file join $tile::library defaults.tcl]" (file "/usr/lib/tile0.7.8/tile.tcl" line 155) invoked from within "source /usr/lib/tile0.7.8/tile.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $file]"
This probably means that tile wasn't installed properly.
What can i do?
|
|
|
|
|
Logged
|
|
|
|
JeeBee
Power user
Offline
Posts: 139
|
 |
« Reply #196 on: November 25, 2006, 09:05:56 pm » |
|
That's because you are using the Tk version that has now Tile included. Several changes are needed. All references to ::tile::* should become ::ttk::*, should not "package require Tile", not all procs are there (e.g. ::tile::availableThemes should be copied somehow). I already implemented that but not in a way that I can commit (it should be implemented in a way that users with old Tcl/Tk are not affected).
In other words, downgrade Tcl/Tk a bit perhaps? Or do not load chameleon until this gets fixed.
|
|
|
|
|
Logged
|
|
|
|
|
Fenix-TX
|
 |
« Reply #197 on: November 25, 2006, 09:08:54 pm » |
|
Ok, thanks
|
|
|
|
|
Logged
|
|
|
|
NoWhereMan
Contributor
Super Power User

Offline
Posts: 502
|
 |
« Reply #198 on: December 04, 2006, 08:23:10 pm » |
|
seems like Chameleon crashes when the font dialog is issued. Alrady sent a bug report through aMSN embedded tracker bye 
|
|
|
|
|
Logged
|
|
|
|
|
WM-666
|
 |
« Reply #199 on: December 07, 2006, 02:46:10 pm » |
|
WinXP Just did an svn-update, tried to activate Chameleon --> "you need the tile extension etc..." followed by "Plugins System: Can't initialize plugin: init procedure caused internal error" I downloaded tile0.7.8 and unzipped it to amsn/scripts/plugins/tile0.7.8
Am I missing something?
|
|
|
|
|
Logged
|
Win7 x64, currently no Ubuntu (will install 10.04)
|
|
|
JeeBee
Power user
Offline
Posts: 139
|
 |
« Reply #200 on: December 07, 2006, 03:03:59 pm » |
|
Hmm, have to ask you as well. Are you using Tcl/Tk svn? Tile has been integrated in this new version and hence the Tile package cannot be loaded anymore by chameleon. Edit: to figure out, start wish8.5 and find out whether you have a namespace named ::ttk $ wish8.5 % namespace exists ::ttk 1 % $ wish8.4 % namespace exists ::ttk 0 %
By the way, I have a patch that quite fixes this problem already. I'll probably soon commit this as not doing so will lead to more troubles I guess. It's not working very well yet, so I thought I'd discuss it with the plugin's original author, our beloved mr kkrt, first.
|
|
|
|
|
Logged
|
|
|
|
|
WM-666
|
 |
« Reply #201 on: December 07, 2006, 04:23:43 pm » |
|
this is on windows  Don't know which tcl/tk it is using.. 8.4 I guess?
|
|
|
|
|
Logged
|
Win7 x64, currently no Ubuntu (will install 10.04)
|
|
|
JeeBee
Power user
Offline
Posts: 139
|
 |
« Reply #202 on: December 07, 2006, 04:27:12 pm » |
|
Ok, if you didn't compile Tcl/Tk yourself, then this will probably not be the case. Typing "info patchlevel" at the prompt will tell you what version you are using. And while you are at that prompt anyways, :lol: , type "package require tile 0.7" and give us the output. This thread is getting long..
|
|
|
|
|
Logged
|
|
|
|
|
kakaroto
|
 |
« Reply #203 on: December 07, 2006, 04:28:39 pm » |
|
yeah, should be 8.4 press Alt-P and in the plugins window, clear it, then load amsn, and see the error where it says couldn't initialize, paste that line and the subsequent, error related lines... thx
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
kakaroto
|
 |
« Reply #204 on: December 07, 2006, 04:31:08 pm » |
|
this thread is definitely getting long... I should un-announce it, and reannounce a new one with updated links, etc.. right now, all my previous links don't work... oh well.. 'someday'... p.s.: WM, Jeebee said 'at the prompt', he meant, press Ctrl-C from the main window and you'll get a console.. there's your prompt..
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
WM-666
|
 |
« Reply #205 on: December 07, 2006, 05:22:24 pm » |
|
(scripts) 6 % info patchlevel 8.4.13 (amsn) 1 % package require tile 0.7 can't find package tile 0.7 (scripts) 2 % package require tile 0.7.8 can't find package tile 0.7.8 (scripts) 3 % package require tile0.7.8 can't find package tile0.7.8 (scripts) 4 % package require tile0.7 can't find package tile0.7 :shock: [17:22:07] core: Getting Chameleon and author [17:22:07] core: Chameleon_author [17:22:07] core: Getting Chameleon and plugin_version [17:22:07] core: Chameleon_plugin_version [17:22:07] core: Getting Chameleon and description [17:22:07] core: Chameleon_description [17:22:08] core: Getting Chameleon and amsn_version [17:22:08] core: Chameleon_amsn_version [17:22:08] core: Getting Chameleon and plugin_file [17:22:08] core: Chameleon_plugin_file [17:22:08] core: Getting Chameleon and plugin_namespace [17:22:08] core: Chameleon_plugin_namespace [17:22:08] core: Getting Chameleon and init_proc [17:22:08] core: Chameleon_init_proc [17:22:08] core: Plugin needs 0.96 [17:22:08] core: appending to loadedplugins [17:22:08] core: Initializing plugin Chameleon with chameleon::Init [17:22:09] core: Unloading plugin Chameleon [17:22:09] core: Getting Chameleon and plugin_namespace [17:22:09] core: Chameleon_plugin_namespace [17:22:09] core: Getting Chameleon and plugin_namespace [17:22:09] core: Chameleon_plugin_namespace [17:22:09] core: Getting Chameleon and deinit_proc [17:22:09] core: Chameleon_deinit_proc [17:22:09] core: Error in deinit proc : can't read "defaultBgColor": no such variable [17:22:09] core: save_config: saving plugin config for user xxxx@hotmail.com in C:/Documents and Settings/Bert/amsn/xxx_hotmail_com] [17:22:09] core: save_config: saving plugin config_file. Opening of file returned : file2ef79c0 [17:22:09] core: Getting Nudge and plugin_namespace [17:22:09] core: Nudge_plugin_namespace [17:22:09] core: save_config: Saving from Nudge's namespace: Nudge [17:22:09] core: Getting Cam Shooter and plugin_namespace [17:22:09] core: {Cam Shooter_plugin_namespace} [17:22:09] core: Getting remind and plugin_namespace [17:22:09] core: remind_plugin_namespace [17:22:09] core: save_config: Saving from remind's namespace: remind [17:22:09] core: Getting Inkdraw and plugin_namespace [17:22:09] core: Inkdraw_plugin_namespace [17:22:09] core: Getting Music and plugin_namespace [17:22:09] core: Music_plugin_namespace [17:22:09] core: save_config: Saving from Music's namespace: music [17:22:09] core: save_config: Plugins config saved [17:22:09] core: Getting Chameleon and author [17:22:09] core: Chameleon_author [17:22:09] core: Getting Chameleon and plugin_version [17:22:09] core: Chameleon_plugin_version [17:22:09] core: Getting Chameleon and description [17:22:09] core: Chameleon_description [17:22:09] core: Initialization of plugin Chameleon with chameleon::Init failed can't read "autopath": no such variable can't read "autopath": no such variable while executing "set ::auto_path $autopath" (procedure "::chameleon::Init" line 29) invoked from within "::${namespace}::${init_proc} [file dirname $file]" [17:22:09] core: Unloading plugin Chameleon [17:22:09] core: Getting Chameleon and plugin_namespace [17:22:09] core: Chameleon_plugin_namespace [17:22:09] core: Getting Chameleon and deinit_proc [17:22:09] core: Chameleon_deinit_proc [17:22:09] core: Error in deinit proc : can't read "defaultBgColor": no such variable [17:22:09] core: save_config: saving plugin config for user xxxx@hotmail.com in C:/Documents and Settings/Bert/amsn/xxxx_hotmail_com] [17:22:09] core: save_config: saving plugin config_file. Opening of file returned : file2f59370 [17:22:09] core: Getting Nudge and plugin_namespace [17:22:09] core: Nudge_plugin_namespace [17:22:09] core: save_config: Saving from Nudge's namespace: Nudge [17:22:09] core: Getting Cam Shooter and plugin_namespace [17:22:09] core: {Cam Shooter_plugin_namespace} [17:22:09] core: Getting remind and plugin_namespace [17:22:09] core: remind_plugin_namespace [17:22:09] core: save_config: Saving from remind's namespace: remind [17:22:09] core: Getting Inkdraw and plugin_namespace [17:22:09] core: Inkdraw_plugin_namespace [17:22:09] core: Getting Music and plugin_namespace [17:22:09] core: Music_plugin_namespace [17:22:09] core: save_config: Saving from Music's namespace: music [17:22:09] core: save_config: Plugins config saved
|
|
|
|
|
Logged
|
Win7 x64, currently no Ubuntu (will install 10.04)
|
|
|
|
kakaroto
|
 |
« Reply #206 on: December 07, 2006, 05:41:05 pm » |
|
hi WM, it seems that you use an old version of the plugin, because that bug was fixed... if you're using SVN, then I should re-fix it... about tile not being available, I know why, you put it in amsn/scripts/plugins/tile0.7.8, you should have put it in the chameleon plugin folder, so amsn/scripts/plugins/chameleon/tile0.7.8 try that and see if it works.
p.s.: your signature says tcl/tk 8.5a5.. but you seem to be using 8.4.13.. what a lier :p
|
|
|
|
|
Logged
|
KaKaRoTo
|
|
|
|
WM-666
|
 |
« Reply #207 on: December 07, 2006, 06:03:41 pm » |
|
Aha, that was the magic trick  The description of Chameleon said: " For it to be detected (tile) either install it in your tcl lib dir or copy the tile0.7 dir to this plugins directory" I thought it meant the "plugins" dir, not the "plugins/Chameleon" dir... tcl/tk8.5a5 is in Ubuntu  8.4.13 is in Windows  *edit* once again thanx for all your patience and help 
|
|
|
|
|
Logged
|
Win7 x64, currently no Ubuntu (will install 10.04)
|
|
|
|
GuS-Arg
|
 |
« Reply #208 on: December 22, 2006, 03:22:04 pm » |
|
Hi!! @KKRT i think i found another bug: When i have chameleon i have a bug when in the CW i try to chage the font, then appears: 1º can't use non-numeric string as operand of "-" while executing "expr {$last - $first}" (procedure "::pixmapscroll::Snit_methodset" line 111) invoked from within "$path.vscroll set $vmin $vmax" (procedure "ScrolledWindow::_set_vscroll" line 19) invoked from within "ScrolledWindow::_set_vscroll .fontsel.frame.topf.labf1.f.sw 0,219424 0,244604" (vertical scrolling command executed by listbox)
2º can't use non-numeric string as operand of "*" while executing "expr {($first * ($newsize - ($arrow1height + $arrow2height))) + $arrow1height}" (procedure "::pixmapscroll::Snit_methodDrawScrollbar" line 178) invoked from within ".fontsel.frame.topf.labf1.f.sw.vscroll DrawScrollbar" (command bound to event)
and is related to the pixmapscroll, because after this bugs (showed each one 3 times), when i try to move the scrollbar another bug: can't use non-numeric string as operand of "+" while executing "expr {$Priv(initPos) + $delta}" (procedure "tk::ScrollDrag" line 16) invoked from within "tk::ScrollDrag .fontsel.frame.topf.labf1.f.sw.vscroll 10 117" (command bound to event)
When i disable Chameleon plugin, this does not happen. I disabled to test if pixmapmenu was the trouble... but no... is when you enable chameleon.
|
|
|
|
|
Logged
|
|
|
|
|
GuS-Arg
|
 |
« Reply #209 on: December 22, 2006, 03:25:40 pm » |
|
Never mind.. was TileQT the problem.... :S
|
|
|
|
|
Logged
|
|
|
|
|