Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
calibre 0.8.26
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
brain salad surgery
Apprentice
Apprentice


Joined: 21 Apr 2004
Posts: 216

PostPosted: Wed Nov 16, 2011 10:43 pm    Post subject: calibre 0.8.26 Reply with quote

Anyone has a fix for this ?
no permission for mounting the usb device with calibre under normal user

Code:
Version: 0.8.26
USB devices on system:
[['0x2237', '0x4165', '0x110', 'Kobo', 'eReader', 'KBN647B1A4B04131'],
 ['0x1a40', '0x101', '0x111', '', 'USB 2.0 Hub', ''],
 ['0x1d6b',
  '0x2',
  '0x206',
  'Linux 2.6.39-gentoo-r3 ehci_hcd',
  'EHCI Host Controller',
  '0000:00:1a.0'],
 ['0x46d', '0xc505', '0x1711', 'Logitech', 'USB Receiver', ''],
 ['0x10f1', '0x1a28', '0x8301', 'Importek', 'HP Webcam', ''],
 ['0x1d6b',
  '0x2',
  '0x206',
  'Linux 2.6.39-gentoo-r3 ehci_hcd',
  'EHCI Host Controller',
  '0000:00:1d.0'],
 ['0x8087', '0x20', '0x0', '', '', ''],
 ['0xbc7',
  '0x1',
  '0x100',
  'X10 Wireless Technology Inc',
  'USB ActiveHome Interface',
  ''],
 ['0x1a40', '0x201', '0x100', '', 'USB 2.0 Hub [MTT]', ''],
 ['0x58f',
  '0x6366',
  '0x100',
  'Generic',
  'Mass Storage Device',
  '058F63666433'],
 ['0x138a', '0x5', '0xc90', '', '', '2410a8369d00'],
 ['0x13fd',
  '0x1840',
  '0x108',
  'Generic',
  'External',
  '395653305046515420202020'],
 ['0x3f0', '0x231d', '0x306', 'Broadcom Corp', 'HP Integrated Module', '']]
Available plugins: ADAM ALEX ALURATEK_COLOR ANDROID ARCHOS7O AVANT AZBOOKA BAMBOOK
BLACKBERRY BOEYE_BDX BOEYE_BEX BOOQ BOOX COBY COOL_ER CYBOOK DBOOK E52
E71X EB511 EB600 EBK52 ECLICTO EDGE EEEREADER ELONEX ESLICK EX124G
FOLDER_DEVICE_FOR_CONFIG GEMEI GER2 HANLINV3 HANLINV5 ILIAD INVESBOOK
IPAPYRUS IREXDR1000 IREXDR800 IRIVER_STORY ITALICA JETBOOK
JETBOOK_MINI KINDLE KINDLE2 KINDLE_DX KOBO LIBREAIR LUMIREAD MENTOR
MOOVYBOOK N516 N770 N810 NEWSMY NEXTBOOK NOOK NOOK_COLOR NUUT2 ORIZON
PALMPRE PDNOVEL PDNOVEL_KOBO PICO POCKETBOOK301 POCKETBOOK360
POCKETBOOK360P POCKETBOOK602 POCKETBOOK701 PRS505 PRST1 README S60
SHINEBOOK SNE SOVOS SPECTRA STASH SUNSTECH_EB700 SWEEX TECLAST_K3
THEBOOK TREKSTOR USER_DEFINED VELOCITYMICRO WEBOS WEXLER
 
Looking for devices...
   (8759, 16741, 272, 'Kobo', 'eReader', 'KBN647B1A4B04131')
      Detected possible device KOBO
 
Devices possibly connected: Kobo Reader Device Interface, 
Trying to open Kobo Reader Device Interface ... Udisks mount call failed:
Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/devices/usbms/device.py", line 616, in do_mount
    mount(node)
  File "/usr/lib64/calibre/calibre/devices/udisks.py", line 61, in mount
    u.mount(node_path)
  File "/usr/lib64/calibre/calibre/devices/udisks.py", line 40, in mount
    'sync', 'nodev', 'uid=%d'%os.geteuid(), 'gid=%d'%os.getegid()]))
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
Udisks mount call failed:
Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/devices/usbms/device.py", line 616, in do_mount
    mount(node)
  File "/usr/lib64/calibre/calibre/devices/udisks.py", line 61, in mount
    u.mount(node_path)
  File "/usr/lib64/calibre/calibre/devices/udisks.py", line 40, in mount
    'sync', 'nodev', 'uid=%d'%os.geteuid(), 'gid=%d'%os.getegid()]))
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
Udisks mount call failed:
Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/devices/usbms/device.py", line 616, in do_mount
    mount(node)
  File "/usr/lib64/calibre/calibre/devices/udisks.py", line 61, in mount
    u.mount(node_path)
  File "/usr/lib64/calibre/calibre/devices/udisks.py", line 40, in mount
    'sync', 'nodev', 'uid=%d'%os.geteuid(), 'gid=%d'%os.getegid()]))
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized
failed
Opening of the following devices failed
<calibre.devices.kobo.driver.KOBO object at 0x3128910>
Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/devices/__init__.py", line 124, in debug
    dev.open(None)
  File "/usr/lib64/calibre/calibre/devices/usbms/device.py", line 858, in open
    self.open_linux()
  File "/usr/lib64/calibre/calibre/devices/usbms/device.py", line 641, in open_linux
    _('Unable to mount main memory (Error code: %d)')%ret)
DeviceError: Unable to mount main memory (Error code: 1)
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Tue Nov 22, 2011 7:00 am    Post subject: Reply with quote

Is the user in the usb group?
_________________
AMD FX6100 CPU, 16 GiB RAM, OCZ Vertex 3 SSD
ASRock 970 Extreme3 motherboard with S/PDIF audio
Galaxy-NVidia GeForce 8800GT video card, Cyber Power CP550HG USB UPS
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Tue Nov 22, 2011 10:01 am    Post subject: Reply with quote

bjlockie wrote:
Is the user in the usb group?

:roll: Honestly.
'org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized' means pretty much it's a consolekit problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum