ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] GUI для форматирование флешек
Date: Tue, 19 Jan 2010 09:11:24 +0200
Message-ID: <op.u6rp9au6y60z1c@localhost.localdomain> (raw)
In-Reply-To: <201001190922.53068.alisher_faiz@rambler.ru>

On Tue, 19 Jan 2010 05:22:53 +0200, alisher  wrote:

<кусь>

>> Премного благодарен.
>> Только вот работать не хочет.
>> При запуске выдаёт:
>>
>> ./qfflash.py
>> Traceback (most recent call last):
>>    File "./qfflash.py", line 5, in <module>
>>      import sys, os, dbus, subprocess
>> ImportError: No module named dbus
>> [aleksander@oc qfflash]$ [aleksander@oc qfflash]$ ./qfflash.py
>> Traceback (most recent call last):
>>    File "./qfflash.py", line 133, in <module>
>>      class kflash (QtGui.QMainWindow, form_class):
>>    File "./qfflash.py", line 138, in kflash
>>      trigger = QtCore.pyqtSignal()
>> AttributeError: 'module' object has no attribute 'pyqtSignal'
>  trigger = QtCore.pyqtSignal() закоментируйте, можно вообще эту строку
> удалить)

Так, уже получше будет --- появилось GUI-окно с действиями.

Но при этом в консоль посыпались сообщения об ошибках, типа:

ERROR:dbus.proxies:Introspect error on  
:1.0:/org/freedesktop/Hal/devices/storage_serial_SATA_WDC_WD1200JB_00WD_WMA8C4521680:  
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: A  
security policy in place prevents this sender from sending this message to  
this recipient, see message bus configuration file (rejected message had  
interface "org.freedesktop.DBus.Introspectable" member "Introspect" error  
name "(unset)" destination ":1.0")

по всей видимости связано с правами доступа к устройствам
(запускается не от рута)

Далее при попытке полного (не быстрого) форматирования выскакивает окошко  
и ничего не происходит
(бесконечный режим прогресса работы 0%), а в консоли сообщение

Traceback (most recent call last):
   File "./qfflash.py", line 93, in run
     if lines[0].split(' ')[0] != lines[1].split(' ')[0]:
IndexError: list index out of range

:(


  reply	other threads:[~2010-01-19  7:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18  7:29 Aleksander Gorohovski
2010-01-18 15:53 ` Denis Nazarov
2010-01-18 15:57   ` Denis Nazarov
2010-01-18 16:50     ` Aleksander Gorohovski
2010-01-19  3:22       ` alisher
2010-01-19  7:11         ` Aleksander Gorohovski [this message]
2010-01-19  9:21           ` alisher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.u6rp9au6y60z1c@localhost.localdomain \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git