Página 2 de 2

Re: Permisos de escritura en Apple TV

Publicado: 08 Mar 2012, 18:59
por Kega
Gracias Jesús, pero no sé qué puede ser. Te pego el listado.

Código: Seleccionar todo

AppleTV:~ root# cd /
AppleTV:/ root# ls -la
total 42
drwxrwxr-t 17 root     admin     918 Jan  1  1970 ./
drwxrwxr-t 17 root     admin     918 Jan  1  1970 ../
d-wx-wx-wt  2 _unknown _unknown   68 Jan  9 10:04 .Trashes/
----------  1 root     admin       0 Oct  6 05:31 .file
drwx------  2 _unknown _unknown  170 Jan  9 10:04 .fseventsd/
lrwxr-xr-x  1 root     admin      22 Jan  9 10:04 Applications -> var/stash/Applications/
drwxrwxr-x  2 root     admin      68 Nov  3 05:06 Developer/
drwxrwxr-x 18 root     admin     816 Jan  9 15:42 Library/
drwxr-xr-x  3 root     wheel     102 Nov 23  2010 System/
lrwxr-xr-x  1 root     admin      11 Jan  1  1970 User -> /var/mobile/
drwx------  4 root     admin     136 Jan  1  1970 Volumes/
drwxr-xr-x  2 root     wheel    2142 Jan  9 15:53 bin/
drwxr-xr-x  2 root     wheel      68 Oct 28  2006 boot/
drwxrwxr-t  2 root     admin      68 Oct  6 05:31 cores/
dr-xr-xr-x  3 root     wheel    1073 Jan  1  1970 dev/
lrwxrwxrwx  1 root     wheel      12 Feb 10  2011 etc -> private/etc//
drwxr-xr-x  2 root     wheel      68 Oct 28  2006 lib/
drwxr-xr-x  2 root     wheel      68 Oct 28  2006 mnt/
drwxr-xr-x  4 root     wheel     136 Jan  1  1970 private/
drwxr-xr-x  2 root     wheel    1666 Jan  9 10:04 sbin/
lrwxrwxrwx  1 root     wheel      16 Feb 10  2011 tmp -> private/var/tmp//
drwxr-xr-x  8 root     wheel     408 Jan  9 15:42 usr/
lrwxrwxrwx  1 root     wheel      12 Feb 10  2011 var -> private/var//
AppleTV:/ root# 


Re: Permisos de escritura en Apple TV

Publicado: 10 Mar 2012, 00:38
por Kega
Jesús, no sé cómo interpretar el listado. No veo dónde están los megas. ¿Se puede ver ahí la capacidad? ¿Cómomsé qué es lo que del borrar? Gracias de antemano...

Re: Permisos de escritura en Apple TV

Publicado: 10 Mar 2012, 13:28
por jesus
Te lo he dicho mal, el gordo no es un fichero en el raíz sino que está en el directorio "private". Ocupa 6.9GB, el de 7.4GB es el total de todos los directorios :(

Vuelve a repetir el comando "du -h --max-depth=1" dentro de "/private", y vete bajando.

AppleTV:/ root# du -h --max-depth=1
0 ./.Trashes
24K ./.fseventsd
0 ./Developer
13M ./Library
442M ./System
0 ./Volumes
4.7M ./bin
0 ./boot
0 ./cores
1.5K ./dev
0 ./lib
0 ./mnt
6.9G ./private
1.4M ./sbin
23M ./usr
7.4G .
AppleTV:/ root#

Re: Permisos de escritura en Apple TV

Publicado: 10 Mar 2012, 19:56
por Kega
Gracias Jesús, he localizado el archivo de la discordia (por fin). Se llama "syslog" y ocupa 6.4 GB. ¿Se puede eliminar ese archivo o he de editarlo de alguna manera?
Ya lo tenemos casi, que me muero de ganas por probar la nueva versión de pelisalacarta... ;)
Gracias de nuevo

Código: Seleccionar todo

AppleTV:/ root# cd private
AppleTV:/private root# du -h --max-depth=1
688K	./etc
6.9G	./var
6.9G	.
AppleTV:/private root# cd var
AppleTV:/private/var root# du -h --max-depth=1
144K	./Keychains
0	./Managed Preferences
0	./MobileDevice
8.0K	./MobileSoftwareUpdate
0	./audit
0	./backups
153M	./cache
16K	./db
0	./ea
0	./empty
0	./folders
8.0K	./keybags
27M	./lib
0	./local
0	./lock
6.5G	./log
32M	./logs
30M	./mobile
0	./msgs
48K	./preferences
408K	./root
8.0K	./run
0	./spool
191M	./stash
0	./tmp
0	./vm
40K	./wireless
6.9G	.
AppleTV:/private/var root# cd log
AppleTV:/private/var/log root# du -h --max-depth=1
56K	./DiagnosticMessages
16K	./apt
8.0K	./asl
0	./ppp
0	./sa
6.5G	.

Re: Permisos de escritura en Apple TV

Publicado: 11 Mar 2012, 00:23
por Kega
Hola de nuevo. Buceando por la red he encontrado la manera de librarme de esos Gigas de más alojados en el archivo syslog con este comando:

Código: Seleccionar todo

mv syslog syslog1
touch syslog
rm syslog1
Una vez hecho esto, ya he podido actualizar todo :D
Pelisalacarta ya me funciona, por fin, pero tvalacarta me da error cada vez que lo intento iniciar. He probado a reinstalarlo, pero me sigue dando fallo. Te adjunto el log:

Código: Seleccionar todo

00:13:12 T:231759872  NOTICE: -----------------------------------------------------------------------
00:13:12 T:231759872  NOTICE: Starting XBMC (11.0-RC2 Git:20120229-f38655f), Platform: Darwin iOS (11.0.0 AppleTV2,1, Version 5.0.1 (Build 9A406a)). Built on Mar  1 2012
00:13:12 T:231759872  NOTICE: special://xbmc/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
00:13:12 T:231759872  NOTICE: special://xbmcbin/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
00:13:12 T:231759872  NOTICE: special://masterprofile/ is mapped to: /var/mobile/Library/Preferences/XBMC/userdata
00:13:12 T:231759872  NOTICE: special://home/ is mapped to: /var/mobile/Library/Preferences/XBMC
00:13:12 T:231759872  NOTICE: special://temp/ is mapped to: /var/mobile/Library/Preferences/XBMC/temp
00:13:12 T:231759872  NOTICE: special://frameworks/ is mapped to: /var/stash/Applications/XBMC.frappliance/Frameworks
00:13:12 T:231759872  NOTICE: The executable running is: /var/stash/Applications/XBMC.frappliance/XBMC
00:13:12 T:231759872  NOTICE: Local hostname: AppleTV
00:13:12 T:231759872  NOTICE: Log File is located: /var/mobile/Library/Preferences/xbmc.log
00:13:12 T:231759872  NOTICE: -----------------------------------------------------------------------
00:13:12 T:231759872  NOTICE: load settings...
00:13:12 T:231759872  NOTICE: special://profile/ is mapped to: special://masterprofile/
00:13:12 T:231759872  NOTICE: loading special://masterprofile/guisettings.xml
00:13:12 T:231759872  NOTICE: Getting hardware information now...
00:13:12 T:231759872    INFO: Using analog output
00:13:12 T:231759872    INFO: AC3 pass through is disabled
00:13:12 T:231759872    INFO: DTS pass through is disabled
00:13:12 T:231759872    INFO: AAC pass through is disabled
00:13:12 T:231759872    INFO: MP1 pass through is disabled
00:13:12 T:231759872    INFO: MP2 pass through is disabled
00:13:12 T:231759872    INFO: MP3 pass through is disabled
00:13:12 T:231759872   DEBUG: Error: Requested setting (videoscreen.screenmode) was not found.  It must be case-sensitive
00:13:12 T:231759872  NOTICE: Checking resolution 12
00:13:12 T:231759872  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
00:13:12 T:231759872   DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
00:13:12 T:231759872   DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
00:13:12 T:231759872   DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/rtmp/mms/udp
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: flv/aacp/sdp
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdfile
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
00:13:12 T:231759872   DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
00:13:12 T:231759872  NOTICE: Loaded playercorefactory configuration
00:13:12 T:231759872  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
00:13:12 T:231759872  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
00:13:12 T:231759872  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
00:13:12 T:231759872  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
00:13:12 T:231759872  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <network>
                                                <autodetectpingtime>30</autodetectpingtime>
                                                <!-- Tiempo en segundos entre pings para detectar nuevas xbox. Por defecto 30, minimo 1, maximo 240 -->
                                                <curlclienttimeout>60</curlclienttimeout>
                                                <!-- Timeout en segundos para el reproductor (y otras conexiones). Por defecto 10, minimo 1, maximo 1000 -->
                                                <curllowspeedtime>60</curllowspeedtime>
                                                <!-- Tiempo en segundos que el cliente http espera antes de considerar una conexion como lenta. Por defecto 20, minimo 1, maximo 1000 -->
                                                <curlretries>2</curlretries>
                                                <!-- Numero de veces que el cliente http reintenta. Por defecto 2, minimo 0, maximo 10 -->
                                                <disableipv6>true</disableipv6>
                                                <!-- Desactiva ipv6. Por defecto false -->
                                                <cachemembuffersize>0</cachemembuffersize>
                                                <!-- Tamanyo de la cache del reproductor en bytes. Por defecto 20M (20*1024*1024), si es 0 usa una SimpleFileCache. -->
                                              </network>
                                            </advancedsettings>
00:13:12 T:231759872  NOTICE: Getting hardware information now...
00:13:12 T:231759872    INFO: Using analog output
00:13:12 T:231759872    INFO: AC3 pass through is disabled
00:13:12 T:231759872    INFO: DTS pass through is disabled
00:13:12 T:231759872    INFO: AAC pass through is disabled
00:13:12 T:231759872    INFO: MP1 pass through is disabled
00:13:12 T:231759872    INFO: MP2 pass through is disabled
00:13:12 T:231759872    INFO: MP3 pass through is disabled
00:13:12 T:231759872   DEBUG: Error: Requested setting (videoscreen.screenmode) was not found.  It must be case-sensitive
00:13:12 T:231759872  NOTICE: Checking resolution 12
00:13:12 T:231759872  NOTICE: Default DVD Player: dvdplayer
00:13:12 T:231759872  NOTICE: Default Video Player: dvdplayer
00:13:12 T:231759872  NOTICE: Default Audio Player: paplayer
00:13:12 T:231759872  NOTICE: Disabled debug logging due to GUI setting. Level 0.
00:13:12 T:231759872  NOTICE: Log level changed to 0
00:13:12 T:231759872  NOTICE: Loading media sources from special://masterprofile/sources.xml
00:13:13 T:231759872  NOTICE: GL_VENDOR = Imagination Technologies
00:13:13 T:231759872  NOTICE: GL_RENDERER = PowerVR SGX 535
00:13:13 T:231759872  NOTICE: GL_VERSION = OpenGL ES 2.0 IMGSGX535-63.14.2
00:13:13 T:231759872  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.0
00:13:13 T:231759872  NOTICE: GL_EXTENSIONS = GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
00:13:13 T:231759872  NOTICE: initializing playlistplayer
00:13:13 T:231759872  NOTICE: DONE initializing playlistplayer
00:13:14 T:231759872   ERROR: ADDON: extension 'downloader/' is not currently supported for service addon
00:13:15 T:231759872   ERROR: Previous line repeats 1 times.
00:13:15 T:231759872  NOTICE: initialize done
00:13:15 T:231759872  NOTICE: Running the application...
00:13:15 T:229924864  NOTICE: -->Python Interpreter Initialized<--
00:13:15 T:233357312  NOTICE: -->Python Interpreter Initialized<--
00:13:15 T:231759872  NOTICE: ES: Starting event server
00:13:15 T:251039744  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
00:13:15 T:251039744  NOTICE: UDP: Listening on port 9777
00:13:15 T:231759872  NOTICE: starting zeroconf publishing
00:13:16 T:229924864   ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta/core/scrapertools.py:21: DeprecationWarning: the md5 module is deprecated; use hashlib instead
                                              import md5
00:13:16 T:229924864  NOTICE: PLATFORM_NAME=xbmceden
00:13:16 T:229924864  NOTICE: [config.py] xbmceden config 3.2.7
00:13:16 T:229924864  NOTICE: [config.py] runtime path = /var/mobile/Library/Preferences/XBMC/addons/plugin.video.pelisalacarta
00:13:16 T:229924864  NOTICE: [config.py] data path = /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.pelisalacarta/
00:13:16 T:229924864  NOTICE: [config.py] temp path = /var/mobile/Library/Preferences/XBMC/temp/test
00:13:22 T:234422272   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/6/648560b0.png
00:13:23 T:233889792   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/7/76ce50b8.jpg
00:13:23 T:234422272   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/c/c60209b6.png
00:13:25 T:256790528  NOTICE: -->Python Interpreter Initialized<--
00:13:25 T:256790528  NOTICE: [config.py] xbmcdharma config 3.0.1
00:13:25 T:256790528  NOTICE: [config.py] runtime path = /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta
00:13:25 T:256790528  NOTICE: [config.py] data path = /var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.tvalacarta/
00:13:25 T:256790528  NOTICE: [config.py] temp path = /var/mobile/Library/Preferences/XBMC/temp/test
00:13:26 T:256790528   ERROR: /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta/core/scrapertools.py:22: DeprecationWarning: the md5 module is deprecated; use hashlib instead
                                              import md5
00:13:26 T:256790528 WARNING: 'xbmc.output()' is depreciated and will be removed in future releases, please use 'xbmc.log()' instead
00:13:26 T:256790528  NOTICE: [updater.py] checkforupdates
00:13:26 T:256790528 WARNING: 'xbmc.output()' is depreciated and will be removed in future releases, please use 'xbmc.log()' instead
00:13:26 T:256790528  NOTICE: [updater.py] Verificando actualizaciones...
00:13:26 T:256790528 WARNING: 'xbmc.output()' is depreciated and will be removed in future releases, please use 'xbmc.log()' instead
00:13:26 T:256790528  NOTICE: [updater.py] Version remota: http://blog.tvalacarta.info/descargas/tvalacarta-version.xml
00:13:26 T:256790528   ERROR: Error Type: <class 'cookielib.LoadError'>
00:13:26 T:256790528   ERROR: Error Contents: '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.tvalacarta/cookies.lwp' does not look like a Set-Cookie3 (LWP) format file
00:13:26 T:256790528   ERROR: Traceback (most recent call last):
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta/default.py", line 27, in <module>
                                                launcher.run()
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta/platform/xbmc/launcher.py", line 76, in run
                                                plugin.mainlist(params, url, category)
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta/channelselector.py", line 34, in mainlist
                                                updater.checkforupdates()
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta/core/updater.py", line 49, in checkforupdates
                                                data = scrapertools.cachePage( REMOTE_VERSION_FILE )
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta/core/scrapertools.py", line 57, in cachePage
                                                data = downloadpage(url,post,headers)
                                              File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tvalacarta/core/scrapertools.py", line 336, in downloadpage
                                                cj.load(ficherocookies)
                                              File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/cookielib.py", line 1758, in load
                                                self._really_load(f, filename, ignore_discard, ignore_expires)
                                              File "/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/_LWPCookieJar.py", line 98, in _really_load
                                                raise LoadError(msg)
                                            LoadError: '/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.tvalacarta/cookies.lwp' does not look like a Set-Cookie3 (LWP) format file
00:13:26 T:231759872   ERROR: GetDirectory - Error getting plugin://plugin.video.tvalacarta
00:13:26 T:231759872   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.tvalacarta) failed
00:13:34 T:231759872 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x
00:13:38 T:231759872  NOTICE: Storing total System Uptime
00:13:38 T:231759872  NOTICE: Saving settings
00:13:38 T:231759872  NOTICE: stop all
00:13:38 T:231759872  NOTICE: ES: Stopping event server
00:13:38 T:231759872  NOTICE: stopping zeroconf publishing
00:13:39 T:251039744  NOTICE: ES: UDP Event server stopped
00:13:39 T:231759872  NOTICE: stop sap announcement listener
00:13:39 T:231759872  NOTICE: clean cached files!
00:13:39 T:231759872  NOTICE: unload skin
00:13:39 T:231759872   ERROR: ADDON: extension 'downloader/' is not currently supported for service addon
00:13:39 T:231759872  NOTICE: stop python
00:13:39 T:231759872  NOTICE: stopped
00:13:39 T:231759872  NOTICE: destroy
00:13:39 T:231759872  NOTICE: unload sections
00:13:39 T:231759872  NOTICE: destroy
00:13:39 T:231759872 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
00:13:39 T:231759872 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
00:13:39 T:231759872  NOTICE: unload sections
00:13:39 T:231759872  NOTICE: application stopped...
Ya sólo me queda este pequeño fleco para tenerlo todo al 100%. A ver si puedes indicarme cómo solucionarlo.
Gracias de nuevo (sobre todo por la paciencia...)

Re: Permisos de escritura en Apple TV

Publicado: 12 Mar 2012, 14:56
por jesus
El fichero de cookies parece estar corrupto

/var/mobile/Library/Preferences/XBMC/userdata/addon_data/plugin.video.tvalacarta/cookies.lwp

Bórralo, se volverá a crear.

Re: Permisos de escritura en Apple TV

Publicado: 12 Mar 2012, 16:16
por Kega
Pues si señor... Eso era. Vuelve a funcionar todo de maravilla. Muchas gracias!