[Solved] Python Tkinter Frame interaction

I am trying to have a form talk to another one as per exemple below.  I cannot find a way to make this work.  What am I doing wrong or missing
from tkinter import *
from tkinter import ttk
class FirstFrame():
def __init__(self,root):
self.root=root
self.frame=Frame(self.root)
self.PlaceLeftButton()
self.PlaceLabel()
def PlaceLeftButton(self):
self.btn=ttk.Button(self.root,text='Open Child Form',command=self.OpenChild)
self.btn.grid(column=0,row=0)
def PlaceLabel(self):
self.lbl=ttk.Label(self.root, text='At Start')
self.lbl.grid(column=1,row=0)
def OpenChild(self):
top=Toplevel(self.root)
self.child=ChildFrame(top)
class ChildFrame():
def __init__(self, root):
self.root=root
self.childframe=Frame(self.root)
self.PlaceLeftButton()
self.PlaceEntryField()
def PlaceLeftButton(self):
self.btn=Button(self.root,text='Reset parent form', command=self.SetParentValue)
self.btn.grid(column=0,row=0)
def PlaceEntryField(self):
self.entry=Entry(self.root)
self.entry.grid(column=0, row=1)
def SetParentValue(self):
self.root.lbl(text='Parent has been reset')
if __name__=='__main__':
root = Tk()
root.option_add('*font', ('verdana', 12, 'bold'))
root.title("Class Interaction")
display = FirstFrame(root)
root.mainloop()
I should add, it is the SetParentValue method I have no clue how to handle.
Last edited by marxav (2011-03-14 16:21:45)

Got an answer here : http://bytes.com/topic/python/answers/9 … nteraction

Similar Messages

  • [Solved][Python 3] How to center tkinter window?

    Hi.
    I need to center window on the screen. The window that already has some contents like labels and buttons. Found this code snippet on Stack Overflow:
    w = root.winfo_screenwidth()
    h = root.winfo_screenheight()
    rootsize = tuple(int(_) for _ in root.geometry().split('+')[0].split('x'))
    x = w/2 - rootsize[0]/2
    y = h/2 - rootsize[1]/2
    root.geometry("%dx%d+%d+%d" % (rootsize + (x, y)))
    but it doesn't work. It gives me centered window with no width or height when it has some size if I don't use this snippet. What is wrong in this code?
    Last edited by Mr. Alex (2012-09-27 08:38:18)

    I think the main thing wrong with your code is you were asking for the window size before TK had decided what it should be. Your code works in the interactive interpreter if you run it line by line, but not if you run it all at once.
    I adapted some code of my own for you:
    from tkinter import Tk
    from tkinter.ttk import Label
    root = Tk()
    Label(root, text="Hello world").pack()
    # Apparently a common hack to get the window size. Temporarily hide the
    # window to avoid update_idletasks() drawing the window in the wrong
    # position.
    root.withdraw()
    root.update_idletasks() # Update "requested size" from geometry manager
    x = (root.winfo_screenwidth() - root.winfo_reqwidth()) / 2
    y = (root.winfo_screenheight() - root.winfo_reqheight()) / 2
    root.geometry("+%d+%d" % (x, y))
    # This seems to draw the window frame immediately, so only call deiconify()
    # after setting correct window position
    root.deiconify()
    I think it does what you want, although I have two screens side by side so the window is actually split between the two.

  • [SOLVED] python-efl: command 'gcc' failed with exit status 1

    Hi everyone! I'm running an x86_64 system with Enlightenment. I'm trying to install econnman from source to have a simpler life trying to connect to my University's wifi network. However, it misses the python-efl dependency. I downloaded it from the AUR, but I get the error message "error: command 'gcc' failed with exit status 1"  when running 'python setup.py build'. This is the complete terminology output:
    [dude@susan python-efl-1.8.0]$ sudo python setup.py build
    Checking for Eina: OK, found 1.11.2
    Checking for Eo: OK, found 1.11.2
    Checking for Evas: OK, found 1.11.2
    Checking for Ecore: OK, found 1.11.2
    Checking for EcoreFile: OK, found 1.11.2
    Checking for Edje: OK, found 1.11.2
    Checking for Emotion: OK, found 1.11.2
    Checking for DBus: OK, found 1.2.0
    Checking for Elementary: OK, found 1.11.2
    running build
    running build_py
    creating build/lib.linux-x86_64-3.4/e_dbus
    copying compat/e_dbus/__init__.py -> build/lib.linux-x86_64-3.4/e_dbus
    running build_ext
    building 'eo' extension
    gcc -pthread -Wno-unused-result -Werror=declaration-after-statement -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -DEFL_BETA_API_SUPPORT -Iinclude/ -I/usr/include/python3.4m -c efl/eo/efl.eo.c -o build/temp.linux-x86_64-3.4/efl/eo/efl.eo.o -I/usr/include/efl-1 -I/usr/include/eo-1 -I/usr/include/efl-1 -I/usr/include/eina-1 -I/usr/include/eina-1/eina
    efl/eo/efl.eo.c: In function ‘__pyx_pf_3efl_2eo_4event_global_freeze_get’:
    efl/eo/efl.eo.c:1127:3: warning: implicit declaration of function ‘eo_event_global_freeze_get’ [-Wimplicit-function-declaration]
    eo_do(((const Eo *)eo_base_class_get()), eo_event_global_freeze_get((&__pyx_v_fcount)));
    ^
    efl/eo/efl.eo.c: In function ‘__pyx_f_3efl_2eo_object_from_instance’:
    efl/eo/efl.eo.c:1445:3: warning: implicit declaration of function ‘eo_base_data_get’ [-Wimplicit-function-declaration]
    eo_do(__pyx_v_obj, eo_base_data_get(__pyx_k_5, (&__pyx_v_data)));
    ^
    efl/eo/efl.eo.c: In function ‘__pyx_f_3efl_2eo__eo_event_del_cb’:
    efl/eo/efl.eo.c:2050:3: warning: implicit declaration of function ‘eo_base_data_del’ [-Wimplicit-function-declaration]
    eo_do(__pyx_v_self->obj, eo_base_data_del(__pyx_k_5));
    ^
    In file included from efl/eo/efl.eo.c:317:0:
    efl/eo/efl.eo.c: In function ‘__pyx_pf_3efl_2eo_2Eo_4__repr__’:
    efl/eo/efl.eo.c:2286:30: error: too many arguments to function ‘eo_parent_get’
    eo_do(__pyx_v_self->obj, eo_parent_get((&__pyx_v_parent)));
    ^
    /usr/include/eo-1/Eo.h:588:8: note: in definition of macro ‘_eo_do_common’
    __VA_ARGS__; \
    ^
    efl/eo/efl.eo.c:2286:5: note: in expansion of macro ‘eo_do’
    eo_do(__pyx_v_self->obj, eo_parent_get((&__pyx_v_parent)));
    ^
    In file included from /usr/include/eo-1/Eo.h:1112:0,
    from efl/eo/efl.eo.c:317:
    /usr/include/eo-1/eo_base.eo.h:37:12: note: declared here
    EOAPI Eo * eo_parent_get(void);
    ^
    efl/eo/efl.eo.c: In function ‘__pyx_f_3efl_2eo_2Eo__set_obj’:
    efl/eo/efl.eo.c:2496:3: warning: implicit declaration of function ‘eo_base_data_set’ [-Wimplicit-function-declaration]
    eo_do(__pyx_v_self->obj, eo_base_data_set(__pyx_k_5, ((void *)__pyx_v_self), NULL));
    ^
    In file included from efl/eo/efl.eo.c:317:0:
    efl/eo/efl.eo.c: In function ‘__pyx_pf_3efl_2eo_2Eo_14parent_get’:
    efl/eo/efl.eo.c:2963:28: error: too many arguments to function ‘eo_parent_get’
    eo_do(__pyx_v_self->obj, eo_parent_get((&__pyx_v_parent)));
    ^
    /usr/include/eo-1/Eo.h:588:8: note: in definition of macro ‘_eo_do_common’
    __VA_ARGS__; \
    ^
    efl/eo/efl.eo.c:2963:3: note: in expansion of macro ‘eo_do’
    eo_do(__pyx_v_self->obj, eo_parent_get((&__pyx_v_parent)));
    ^
    In file included from /usr/include/eo-1/Eo.h:1112:0,
    from efl/eo/efl.eo.c:317:
    /usr/include/eo-1/eo_base.eo.h:37:12: note: declared here
    EOAPI Eo * eo_parent_get(void);
    ^
    efl/eo/efl.eo.c: In function ‘__pyx_pf_3efl_2eo_2Eo_20event_freeze_get’:
    efl/eo/efl.eo.c:3104:3: warning: implicit declaration of function ‘eo_event_freeze_get’ [-Wimplicit-function-declaration]
    eo_do(__pyx_v_self->obj, eo_event_freeze_get((&__pyx_v_fcount)));
    ^
    error: command 'gcc' failed with exit status 1
    Can anyone help me? Please tell me every output you need. Thanks and a good day to you, sir!
    Last edited by HisDudeness (2014-10-02 08:47:15)

    You know what? You're right!
    I don't know how I exactly got that version... I got back to the AUR and downloaded the new one. The strange thing is, while that old version's tar.gz conained a lot of files like I'd expect from a source archive, the current version only contained the files .AURINFO and PKGBUILD. Guess that's the way it should be, I'm new to all of this so I was initially surprised. Obviously, running makepkg here worked like a charm and downloaded everything that was needed for it to install. Then, econnman installed just fine too. What I can't explain to myself is why 1.8.0's tar.gz contained all those files.
    In the end, I couldn't use nor connman cli nor econnman to connect to my Campus' WiFi but, after a lot of trouble, I got it to work with dhclient and wpa_supplicant like it's suggested. This hasn't been useless anyway, I saw how to install from the AUR for the first time.
    I'll mark the post as solved, but I got one last question: provided I don't need econnman anymore, do you suggest me to keep python-efl or to remove it? Is it needed for something else I'll certainly run into in the future?

  • [SOLVED] Python errors on upgrade

    Hello, it would seem that I have failed to notice over the last week to week and a half that I have been failing to upgrade my system because of python errors (it would seem I have been glazing over the stream of python errors dismissing them as failed updates that would be magically "fixed" in the next update). I have google for similar problems but most of them deal with __pycache__ being the sole problem which I have already deleted from the python3.4 to no avail. As I look over the failures it would seem it is not wholly attributed to __pycache__ folders only either.
    Here is the output I get on submitting sudo pacman -Syu:
    error: failed to commit transaction (conflicting files)
    python-requests: /usr/lib/python3.4/site-packages/requests/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/adapters.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/api.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/auth.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/certs.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/compat.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/cookies.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/exceptions.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/hooks.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/models.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/sessions.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/status_codes.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/structures.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/__pycache__/utils.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/adapters.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/api.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/auth.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/certs.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/compat.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/cookies.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/exceptions.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/hooks.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/models.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/big5freq.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/big5prober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/chardetect.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/chardistribution.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/charsetgroupprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/charsetprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/codingstatemachine.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/compat.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/constants.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/cp949prober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/escprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/escsm.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/eucjpprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/euckrfreq.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/euckrprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/euctwfreq.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/euctwprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/gb2312freq.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/gb2312prober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/hebrewprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/jisfreq.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/jpcntx.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/langbulgarianmodel.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/langcyrillicmodel.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/langgreekmodel.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/langhebrewmodel.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/langhungarianmodel.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/langthaimodel.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/latin1prober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/mbcharsetprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/mbcsgroupprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/mbcssm.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/sbcharsetprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/sbcsgroupprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/sjisprober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/universaldetector.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/__pycache__/utf8prober.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/big5freq.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/big5prober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/chardetect.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/chardistribution.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/charsetgroupprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/charsetprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/codingstatemachine.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/compat.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/constants.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/cp949prober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/escprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/escsm.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/eucjpprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/euckrfreq.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/euckrprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/euctwfreq.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/euctwprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/gb2312freq.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/gb2312prober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/hebrewprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/jisfreq.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/jpcntx.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/langbulgarianmodel.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/langcyrillicmodel.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/langgreekmodel.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/langhebrewmodel.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/langhungarianmodel.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/langthaimodel.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/latin1prober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/mbcharsetprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/mbcsgroupprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/mbcssm.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/sbcharsetprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/sbcsgroupprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/sjisprober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/universaldetector.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/chardet/utf8prober.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/_collections.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/connection.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/connectionpool.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/exceptions.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/fields.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/filepost.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/poolmanager.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/request.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/__pycache__/response.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/_collections.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/connection.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/contrib/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/contrib/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/contrib/__pycache__/ntlmpool.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/contrib/__pycache__/pyopenssl.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/contrib/ntlmpool.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/contrib/pyopenssl.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/exceptions.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/fields.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/filepost.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/__pycache__/ordered_dict.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/__pycache__/six.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/ordered_dict.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/six.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/ssl_match_hostname/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/ssl_match_hostname/__pycache__/_implementation.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/poolmanager.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/request.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/response.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__init__.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/__init__.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/connection.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/request.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/response.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/retry.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/ssl_.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/timeout.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/__pycache__/url.cpython-34.pyc exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/request.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/response.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/ssl_.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/timeout.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/packages/urllib3/util/url.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/sessions.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/status_codes.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/structures.py exists in filesystem
    python-requests: /usr/lib/python3.4/site-packages/requests/utils.py exists in filesystem
    Errors occurred, no packages were upgraded.
    Any guidance towards narrowing and solving the problem would be greatly appreciated.
    Last edited by typedeph (2015-01-14 15:09:41)

    How sad, I could have had this fixed a week ago had I just read this: https://wiki.archlinux.org/index.php/Pa … 9.22_error
    The conflicting package was requests. For some reason it wasn't owned by any package.

  • [solved] Python issues when trying to run tpfanco-svn from AUR

    I installed tpfanco-svn [1] from the AUR, and all that went smoothly. However, I do get some serious Python related errors when I actually try to run tpfand or tpfan-admin, and I do not know whether they are actually Python 2 or Python 3 related.
    Here are the error messages:
    $ tpfand
    Traceback (most recent call last):
    File "/usr/sbin/tpfand", line 26, in <module>
    import tpfand.control
    File "/usr/lib/python2.7/site-packages/tpfand/control.py", line 27, in <module>
    import dbus, dbus.service, dbus.mainloop.glib, dbus.glib
    File "/usr/lib/python3.3/site-packages/dbus/__init__.py", line 82, in <module>
    import dbus.types as types
    File "/usr/lib/python3.3/site-packages/dbus/types.py", line 6, in <module>
    from _dbus_bindings import (
    ImportError: /usr/lib/python3.3/site-packages/_dbus_bindings.so: undefined symbol: PyBytes_Type
    And for the other command:
    $ tpfan-admin
    Traceback (most recent call last):
    File "/usr/bin/tpfan-admin", line 21, in <module>
    import tpfanadmin.globals
    File "/usr/lib/python2.7/site-packages/tpfanadmin/globals.py", line 24, in <module>
    import gtk, gtk.glade, gobject, gtk.gdk
    File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
    File "/usr/lib/python3.3/site-packages/cairo/__init__.py", line 2
    SyntaxError: Non-ASCII character '\xc2' in file /usr/lib/python3.3/site-packages/cairo/__init__.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
    Any ideas how to debug this? Maybe I am missing some package?
    1: https://aur.archlinux.org/packages/tpfanco-svn/
    EDIT/Solution: The scripts, both tpfand and the tpfan-admin GUI, are only meant to be run as root. If done so, no errors are thrown.
    Last edited by Stalafin (2013-04-19 14:12:01)

    clfarron4 wrote:A possible related bug is this, referenced in this thread.
    clfarron4: It looks like it could be however the suggested solution in the bug report did not solve the problem.
    As I did not want to solve it dirty as Thorsten Reinbold did to build his package I downgraded automake from 1.15 to 1.14 temporarily and built the package with no errors. I then installed the package and all is working properly. I then reupgraded to version 1.15.

  • [SOLVED] Report Repeating Frame Will Not Print More Than One Page of Data

    I have a layout which contains only 1 repeating frame, and is not contained in any other frames. The query that the group of this frame is based on returns 414 rows. The report is a character based report of 180x66. All of the fields in the repeating frame are all in a straight line on a single row.
    No matter what I do, the report ends at the bottom of the first page. If I put the frame at row 30, only 36 rows are printed. If I put the frame on the first row, it stops at 66. No mater what I do, it will not continue on the next page.
    Any ideas on what could be the problem here?
    Thanks,
    Kurz
    Edited by: Kurzweil4 on Oct 13, 2008 3:35 PM
    Print condition was set to All. Changing it to First solved the problem.

    Make sure the repeating frame is variable vertically and that all the frames that it encloses are variable.

  • Bouncing the application icon from Python tkinter

    Any idea where I could find out how to bounce the app icon in the dock from within a Python program using tkinter for the gui?
    I've looked everywhere and can't find even a clue.
    Thanks for any help.

    Leroy:
    I deleted the icon from dock and dragged it back from the Macintosh HD, as you recommended. It works perfect, Thanks!
    And now ...I know this is perfectionism... how do I get back the pictograme on the folder in the dock like it is present on the folder shown in the Macintosh HD view?
    Thanks,
    thomas

  • [Solved] Python CGI - how to "include" like in PHP

    Hi.
    When I code PHP I like to use this template system. A short instance would consist of 2 files: "index.php" and "template.php".
    template.php:
    <?php
    echo "<h1>$header</h1>";
    echo "<p>$text</p>";
    ?>
    index.php:
    <?php
    $header = "this is a header";
    $text = "this is a text";
    include "template.php";
    ?>
    So I can use one template for lots of pages - same layout but different vars.
    I cannot find how to do this in Python CGI.
    page.cgi:
    #!/usr/bin/python
    import os, cgi
    x = "This is the page text."
    eval(open('template.cgi').read())
    template.cgi
    print("Content-type: text/html\n")
    print(x)
    This gives me error 500. I am not surprised, this mail.python.org page says:
    > I can't figure out how one would approach this in Python (i'm using
    > mod_python). There's no equivalent to the "include" function from
    > PHP.
    Correct, the concept doesn't exist because you are working
    with vanilla CGI rather than server scripting.
    But maybe there is a way to make something similar?
    Last edited by Mr. Alex (2012-06-05 17:52:42)

    Template (index.html.tpl)
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Main Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style>
    h1 {{
    margin: auto;
    </style>
    </head>
    <body>
    <h1>Admin</h1>
    <ul>
    <li><a href="{}">Monthly Report</a></li>
    <li><a href="{}">Inventory Zip Files</a></li>
    <li><a href="{}">Order Reports</a> -- Last 7 days</li>
    <li><a href="{}">Notes/TODO/Information</a></li>
    <li><a href="{}">EDI Orders</a></li>
    </ul>
    </body>
    </html>
    index.py :
    #!/usr/bin/env python2
    def main():
    template = "index.html.tpl"
    pages = ("monthly", "zips", "reports", "vimwiki", "edi.py")
    sitename = "/"
    pages = ["{}{}".format(sitename, pages) for i in pages]
    tpl = "".join(open(template,'r').readlines())
    print 'Content-type: text/html\n\n' + tpl.format(*pages)
    if __name__ == '__main__':
    main()
    Maybe not the best way...but it works for me Notice the double {{ }} in the template where you want literal brackets, not placeholders.
    Scott

  • [Solved] Python: Creating AUR package, binary can't find python module

    I'm building a PKGBUILD for PyLotRO for the AUR and I'm using a Debian package.  I tried just copying the content of the data.tar.gz to the filesystem assuming the directory structure is the same for the packages but apparently it is not.  At least I'm figuring this is a filesystem problem but I don't know enough about python to be sure.  When I start the program, this is what I'm getting:
    pylotro
    Traceback (most recent call last):
    File "/usr/bin/pylotro", line 31, in <module>
    import PyLotROLauncher.Runner
    ImportError: No module named PyLotROLauncher.Runner
    I can see the file in the package that (I would think) would be the responsible module:
    /usr/share/pyshared/PyLotROLauncher/Runner.py
    So I'm thinking the python package must store modules in a different location?????
    The package requires: 4suite, python, and pyqt.  Any thoughts about what do I need to do here??
    Last edited by Gen2ly (2010-01-01 09:25:03)

    Nezmer wrote:Did you try putting stuff in /usr/lib/python2.6/site-packages/ ?
    Yes, 'site-packages' is the correct place.  Thank you Nezmer.
    wonder wrote:
    why you are using debian package rather that the source?
    http://www.lotrolinux.com/PyLotRO-0.1.11.tar.bz2
    cd $srcdir/PyLotRO-$pkgver
    python setup.py install --root=$pkgdir || return 1
    should be enough
    Ah, beautiful.  Wasn't aware before that python install script could define a destdir.  Much better way of doing it.  Thanks wonder.
    Last edited by Gen2ly (2009-12-29 20:44:12)

  • [Solved] mpv drops frames intermittently

    I'm using openbox with compton as my compositor. My graphics card is an ATI 5450M and I use it with the open source driver. I seem to be having a very weird problem in which mpv (or mplayer, for that matter) skips frames while playing. It's not a whole lot of frames, usually something like ~4-8 frames in a minute. Sometimes it's more, sometimes it's less. The interval at which it happens is not particularly consistent either, but it happens for every video (HD or not doesn't make a difference). The video plays smoothly, and then all of a sudden, it drops 4 frames. It's very grating on the eyes when this happens.
    It doesn't happen in vlc. I know that the easiest thing to do is to use vlc instead of mpv, but I like mpv a lot and would like to use it. It doesn't matter what output type I set. vdpau, opengl, opengl-hq all cause frame drops.
    My compton conf is here (https://github.com/genghizkhan91/dotfil … omptonconf). Another point is to be noted that tinkering with the compton conf didn't change much. This conf led to the smallest number of frames being droppped.
    Any ideas?
    Last edited by genghizkhan91 (2014-03-30 23:58:22)

    kokoko3k wrote:
    * Do you already tried to disable compton?
    * Maybe your screen refresh rate is close to the video one? (24hz - 24p content?)
    * Did you tried to increase the video player cache to (say) 4MB?
    * Any info in the mpv console output when the frames are being dropped?
    * Does mpv uses frameskip by default (in mplayer the -frameskip option is... optional)? maybe you can invert that...
    Tackling your points one by one
    I've tried disabling compton, but it gives me slightly more frame drops as a result.
    My screen refresh rate is 60 Hz.
    I've increased the cache to 4 MB, and it doesn't seem to help either
    An example of the console output whenever I play something (Notice the "Late" in the second last line):
    Playing: 'Nadia' - Shankar Tucker ft. Jaunita John.mp4
    Detected file format: QuickTime / MOV (libavformat)
    Clip info:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2013-09-17 15:16:24
    [stream] Video (+) --vid=1 (*) (h264)
    [stream] Audio (+) --aid=1 --alang=und (*) (aac)
    Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
    Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]
    AO: [alsa] 48000Hz stereo 2ch floatp
    VO: [vdpau] 1280x720 => 1280x720 420p
    [vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
    AV: 00:00:10 / 00:03:30 (4%) A-V: 0.000 Late: 3
    Exiting... (Quit)
    I've tried disabling frameskip, but to no avail
    Last edited by genghizkhan91 (2014-03-30 11:47:09)

  • [SOLVED] Python scripts don't work

    Hello,
    I am trying to get started with the very nice Python programming language, but I have some problems.
    Could you please have a look on the enclosed screenshot ?
    I think the screenshot say everything, it is better to show.
    http://postimg.org/image/q6tkowcy3/
    Thanks,
    Bastien
    Last edited by PolePosition (2014-10-08 11:38:03)

    Maybe you can try
    #!usr/bin/env python2
    print "Hallo Monde"
    That for python2, otherwise
    #!usr/bin/env python
    print("Ciao Mondo")
    Last but not least
    $ 2to3 your_python2_file
    HTH

  • [SOLVED] python problem convert YUV422 images to jpgs

    I hope this is not off topic - but I'm trying this running arch linux, so it is somewhat arch related...
    I have some YUV422 images and want to convert them to jpgs. I've found this pyhthon script which should do the job.
    https://bitbucket.org/hudson/magic-lant … 422-jpg.py
    But I guess i am doing something wrong.
    It starts with: I don't know with which python command I can run the script.
    $ python 422-jpg.py .
    File "422-jpg.py", line 54
    print "Wrong number of subpictures (%d)" % numpics
    ^
    SyntaxError: invalid syntax
    $ python2 422-jpg.py .
    Traceback (most recent call last):
    File "422-jpg.py", line 10, in <module>
    import numpy
    ImportError: No module named numpy
    $ python3 422-jpg.py .
    File "422-jpg.py", line 54
    print "Wrong number of subpictures (%d)" % numpics
    ^
    SyntaxError: invalid syntax
    most promising seemes to me the python2 command. But I don't understand the numpy problem. I know the script uses pythons image libraries but actually I installed them:
    pacman -Suy python-numpy
    pacman -Suy python2-imaging
    or does the script just not find the libs?
    I'm a bit stuck here for I don't know python very well.
    Thanks in advance
    (BTW I need this because I extended my cameras firmware with magiclantern to create time lapse movies, but disabling the mirror mechnism automatically leads to *442 images instead of jpgs - sigh)
    Last edited by keen90 (2013-05-29 16:57:36)

    Hi
    I think it's simply missing numpy for python2.
    It's: extra/python2-numpy
    Greez
    Edit: Alternatively imagemagick could probably do the job.
    Last edited by rebootl (2013-05-28 18:09:26)

  • [solved]python-pip fileconflict with __pycache__ folders

    When I ran pacman -Syu I'v got the following errors.
    error: failed to commit transaction (conflicting files)
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/__init__.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/backwardcompat.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/basecommand.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/baseparser.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/download.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/exceptions.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/index.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/locations.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/log.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/req.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/status_codes.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/__pycache__/util.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/commands/__pycache__/__init__.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/commands/__pycache__/install.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/commands/__pycache__/uninstall.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/__init__.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/bazaar.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/git.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/mercurial.cpython-32.pyc exists in filesystem
    python-pip: /usr/lib/python3.2/site-packages/pip/vcs/__pycache__/subversion.cpython-32.pyc exists in filesystem
    Errors occurred, no packages were upgraded.
    There are no other files in theese __pychace__ folders.Should I try to remove the __pycache__ folders manually and try again?
    Last edited by matyilona200 (2012-09-08 21:49:08)

    Yes but only remove those specific __pycache__ folders. This happens when the maintainer doesn't include the pyc files in the initial package and adds them later.

  • Flash and html frame interaction

    I've got a frameset with 2 frames only, one at the left and
    the second at the right. There is a Flash movie working as a menu
    at the left frame, from which I load different pages in the right
    frame.
    What I am trying to do is to find a simple solution to the
    "Flash back button" issue. As most of you probably know, the
    browser back button does not bring the Flash movie to it's previous
    state. It only takes the main frame content back to it's previous
    page leaving the Flash as it was before clicking the Back. That is
    a big problem for me since the Flash movie and the main frame
    content are (should be ..) synchronized.
    What I did was to create an onLoad > control
    Shockwave/Flash behaviour on the page at the right, so when the
    page loads it brings my Flash movie to the appropriated frame as
    people click on the Back button.
    That is when the problems start. Although it actually works
    (IE only, since I'm sorting one browser at a time)), there is one
    page I can't make to work at all. What amazes me is that the code
    is exactly the same on all pages, they all work apart from this
    single one.
    The code:
    The function:
    function MM_controlShockwave(objStr,x,cmdName,frameNum) {
    //v3.0
    var obj=MM_findObj(objStr);
    if (obj && obj[1]) obj=obj[1];
    if (obj)
    eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
    The body tag with the onLoad trigger on the page that WORKS:
    <body bgcolor="#666666" text="#FFFFFF" link="#FFFFFF"
    vlink="#CCCCCC" alink="#FFFFFF"
    onLoad="MM_controlShockwave('Menu_left?leftFrame','','GotoFrame','37');MM_preloadImages(' ../../../images/Jpegs/portfolio/port_top_2.jpg','../../../images/home_02.jpg','../../../im ages/Jpegs/portfolio/poems_top_2.jpg')">
    The body tag with the onLoad trigger on the page that DOES
    NOT WORK:
    <body bgcolor="#666666" text="#FFFFFF" link="#FFFFFF"
    vlink="#CCCCCC" alink="#FFFFFF"
    onLoad="MM_controlShockwave('MenuLeft?leftFrame','','GotoFrame','23');MM_preloadImages('. ./../images/home_02.jpg')"
    onFocus="MM_controlShockwave('MenuLeft?leftFrame','','GotoFrame','24')">
    The address where the pages can be seen:
    Since this is only a test page, please make sure you don't
    click in any other link apart from the flash movie or the back
    button. That might take you to pages not linked back to the ones
    I'm trying to fix
    http://www.arnoldborgerth.com/Main/framesets/fr_portIE.htm
    Any help will be much appreciated
    Thank you all in advance

    It works when you put it online... :)1

  • How can I solve my photo frame problem?

    Thought I would give this forum a try regarding non-Apple hardware... I have a Coby DP-882 digital picture frame with a SanDisk 2GB card. After connecting the frame via USB, I get the disk reader icon on the desktop. I then just drag the photos there and it loads the frame. I can load about 50MB of digital photo jpegs (using GraphicConverter's browser) when I am prompted that the disk is full. I always make sure the card is cleared before I start and the pane tells me I've got 1.85GB available. My images are only about 500kbs each and I have a total of 400MB to load; should be no problem. I have tried an SD 256MB card to test, same result. Any ideas would be helpful. Thanks!

    Even forum #1 Old Toad had trouble writing to a card for a photo frame. See this thread: http://discussions.apple.com/thread.jspa?messageID=4336916
    You might try adding one photo at a time, like he did, and see if it will work.
    You said you were doing this through Graphic Converter's browser. Is it the same result if you just use the Finder?
    FWIW, I was able to copy about 587 MB of photos to a 1 GB card that already contained 176 MB. The card had been formatted in a camera (not even the same make as my own camera), and I added my pictures to the existing folder structure - to the same folder containing the other photos. It just worked. This leads to the question: How do you format the card for use in the photo frame? Could the card format have to do with the difficulty in writing to it?
    Please let us know if you get an answer from the Coby support guy. You could help a lot of people with this same problem.

Maybe you are looking for

  • How do I get all my music back on my iphone 4?

    Cracked the screen on my iphone 4, went to apple shop, they changed it (lovely) and restored all the settings from icloud, all went very well, except I noticed that the music doesn't get restored from itunes Match. In fact it was completely empty. Yo

  • Stopping call forwarding on one of two numbers?

    HI, I have two Sype numbers, the main one for the UK and a new one that I bought a couple of months ago, a Hong Komg number. The HK number used to be used by a tourism website, and although they have changed their main number on their website, refere

  • Multiple IDOC to Multiple IDOC scenario without BPM steps????

    Hi Could you please give me the solution for this ??? I want steps for sending all IDOCs at a time- ---"Multiple IDOC to Multiple IDOC scenario without using BPM".??? thanks 3nadh

  • Why can't Apple just leave things that work alone

    I just had to ask this. I'm doing a clean install of 10.6 Server as a tester and of course what was simple is now a pain in the butt. Something as simple as DNS is now back to the way 10.5.0 was. I thought this stuff was fixed and wouldn't happen aga

  • Can't find the MP3 Disc buring settings in iTunes 8.x

    I've just been searching for the settings in iTunes in which to change the burning of a disc to MP3 and it's not where it used to be. Can someone please explain this? When I go to click Edit > Preferences, Advanced tab the burning tab isn't there. I