aabento
Posts: 30
Joined: Sat Dec 29, 2012 3:09 pm

Pi Store stop working after...

Sun Mar 17, 2013 3:43 pm

Pi Store stop Working after upgrade to 2013-02-09-wheezy-raspbian.
see picture about error.

Terminal:

[email protected] ~ $ pistore
pistore_real: cannot connect to X server

sudo apt-get install pistore

A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
pistore já está na versão mais recente. """Pistore in on most recent version."""
0 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 9 não actualizados.

Any idea?
Attachments
pi (Copy).png
pi (Copy).png (38.57 KiB) Viewed 3697 times

User avatar
DrPiD
Posts: 30
Joined: Wed May 16, 2012 9:44 am
Location: Leamington Spa, UK
Contact: Website

Re: Pi Store stop working after...

Mon Mar 18, 2013 10:56 am

Hi there,

Was the store working before you updated?
How are you connected to the network? Are you using wifi/3G or a proxy server?

Are you connecting to the pi via SSH rather than locally? Any details in how you've got your Pi setup would be really useful as we generally just test with the Pi hooked up to a screen via HDMI so if you're doing something different we can try to replicate the setup :)

My first thoughts would be to try updating the repo and then reinstalling:

Remove the pistore with

Code: Select all

sudo apt-get remove pistore
and then run

Code: Select all

sudo apt-get upgrade && sudo apt-get install pistore
Community Manager - IndieCity

aabento
Posts: 30
Joined: Sat Dec 29, 2012 3:09 pm

Re: Pi Store stop working after...

Mon Mar 18, 2013 8:56 pm

I will answer in front of your questions.

-----

Was the store working before you updated?----------- Yes
How are you connected to the network? Are you using wifi/3G or a proxy server? Ethernet cable direct to my router

Are you connecting to the pi via SSH rather than locally? ---- Yes
Any details in how you've got your Pi setup would be really useful as we generally just test with the Pi hooked up to a screen via HDMI so if you're doing something different we can try to replicate the setup
---- I´m using vncserver and access pi through vnc viewer
---- I connect pi direct to my TV trough RCA "interface". No difference.
---- I have not tried using HDMI interface but I believe there is no difference between HDMI and RCA output.

My first thoughts would be to try updating the repo and then re installing:

Remove the pistore with

CODE: SELECT ALL
sudo apt-get remove pistore


and then run

CODE: SELECT ALL
sudo apt-get upgrade && sudo apt-get install pistore
----- I did it but pistore still not working.

Thank you for trying solve the problem.

User avatar
DrPiD
Posts: 30
Joined: Wed May 16, 2012 9:44 am
Location: Leamington Spa, UK
Contact: Website

Re: Pi Store stop working after...

Tue Mar 19, 2013 8:56 am

Hmm, ok!

If you wouldn't mind, please navigate to /usr/share/indiecity/pistore/scripts and run the enablelogging.sh script. If you could then try running the Pi Store a couple of times, you should be able to find a log file at /home/USERNAME/indiecity/pistore/General.log

If you could post the contents of the log here or email them to [email protected], it might give me a better idea of what's going on.
Community Manager - IndieCity

aabento
Posts: 30
Joined: Sat Dec 29, 2012 3:09 pm

Re: Pi Store stop working after...

Tue Mar 19, 2013 9:04 pm

Hi DrPiD
I hope this helps you to understand the problem. :)
Thank you.

***************************************************
Date = Tue Mar 19 20:54:47 2013

Sending 2 Stats. MachineId = 0332F26237990D2CFAC4BBD9914682E8
Attempting to unpack installed ui: /usr/share/indiecity/pistore/packages/pi_ui.uiz
Read in 337768 bytes
Unpacking ui to /var/lib/indiecity/pistore/GUI_tmp
ERROR UnpackUiPackage Failed to create unpack destination folder
ui Unpack complete ui
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays/demo.png
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx
ERROR SwapInDownloadedGui Failed to delete GUI_bak folder

Failed to rename GUI folder to GUI_bak1
ERROR SwapInDownloadedGui Failed to rename downloaded GUI folder to GUI

Loading ui version from map : 2.0.16721.0
Updating client ui
ERROR OnClientInfoRequestFinished CacheGui::OnClientInfoRequestFinished failed to download client info
ERROR OnRequestFinished Network Request failed: file:///var/lib/indiecity/pistore/GUI/index.html. errorCode:203 = Error opening /var/lib/indiecity/pistore/GUI/index.html: File is corrupt
Attempting to unpack installed ui: /usr/share/indiecity/pistore/packages/pi_ui.uiz
Read in 337768 bytes
Unpacking ui to /var/lib/indiecity/pistore/GUI_tmp
ERROR UnpackUiPackage Failed to create unpack destination folder
ui Unpack complete ui
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays/demo.png
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx
ERROR SwapInDownloadedGui Failed to delete GUI_bak folder

Failed to rename GUI folder to GUI_bak1
ERROR SwapInDownloadedGui Failed to rename downloaded GUI folder to GUI

Loading ui version from map : 2.0.16721.0
Updating client ui
ERROR OnClientInfoRequestFinished CacheGui::OnClientInfoRequestFinished failed to download client info
Balloon Message: Error - Unable to load GUI
ERROR CachedGui Unable to load GUI


***************************************************

***************************************************
Date = Tue Mar 19 20:55:15 2013

Sending 2 Stats. MachineId = 0332F26237990D2CFAC4BBD9914682E8
Attempting to unpack installed ui: /usr/share/indiecity/pistore/packages/pi_ui.uiz
Read in 337768 bytes
Unpacking ui to /var/lib/indiecity/pistore/GUI_tmp
ERROR UnpackUiPackage Failed to create unpack destination folder
ui Unpack complete ui
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays/demo.png
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx
ERROR SwapInDownloadedGui Failed to delete GUI_bak folder

Failed to rename GUI folder to GUI_bak1
ERROR SwapInDownloadedGui Failed to rename downloaded GUI folder to GUI

Loading ui version from map : 2.0.16721.0
Updating client ui
ERROR OnClientInfoRequestFinished CacheGui::OnClientInfoRequestFinished failed to download client info
ERROR OnRequestFinished Network Request failed: file:///var/lib/indiecity/pistore/GUI/index.html. errorCode:203 = Error opening /var/lib/indiecity/pistore/GUI/index.html: File is corrupt
Attempting to unpack installed ui: /usr/share/indiecity/pistore/packages/pi_ui.uiz
Read in 337768 bytes
Unpacking ui to /var/lib/indiecity/pistore/GUI_tmp
ERROR UnpackUiPackage Failed to create unpack destination folder
ui Unpack complete ui
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays/demo.png
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx/game-overlays
Failed to delete /var/lib/indiecity/pistore/GUI_bak/gfx
ERROR SwapInDownloadedGui Failed to delete GUI_bak folder

Failed to rename GUI folder to GUI_bak1
ERROR SwapInDownloadedGui Failed to rename downloaded GUI folder to GUI

Loading ui version from map : 2.0.16721.0
Updating client ui
ERROR OnClientInfoRequestFinished CacheGui::OnClientInfoRequestFinished failed to download client info
Balloon Message: Error - Unable to load GUI
ERROR CachedGui Unable to load GUI


***************************************************

User avatar
DrPiD
Posts: 30
Joined: Wed May 16, 2012 9:44 am
Location: Leamington Spa, UK
Contact: Website

Re: Pi Store stop working after...

Wed Mar 20, 2013 10:34 am

Could you try running the following command in LXTerminal:

Code: Select all

stat /var/lib/indiecity/pistore/GUI
If you copy/paste the output into your reply that'd be helpful :)

After that, delete the contents of the /var/lib/indiecity/pistore/GUI folder and run the client again. See what happens :)
Community Manager - IndieCity

aabento
Posts: 30
Joined: Sat Dec 29, 2012 3:09 pm

Re: Pi Store stop working after...

Wed Mar 20, 2013 3:27 pm

Here you have:

login as: aabento
[email protected]'s password:
Linux raspberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l


Last login: Tue Mar 19 20:52:09 2013 from aabento008.lan
[email protected] ~ $ stat /var/lib/indiecity/pistore/GUI
File: «/var/lib/indiecity/pistore/GUI»
Size: 4096 Blocks: 8 IO Block: 4096 pasta
Device: b302h/45826d Inode: 137481 Links: 9
Access: (0755/drwxr-xr-x) Uid: ( 1000/ pi) Gid: ( 1001/indiecity)
Access: 2013-01-02 22:59:20.297940465 +0000
Modify: 2013-01-02 22:59:20.407939868 +0000
Change: 2013-03-18 20:44:48.292056775 +0000
Birth: -
[email protected] ~ $ sudo stat /var/lib/indiecity/pistore/GUI
[sudo] password for aabento:
File: «/var/lib/indiecity/pistore/GUI»
Size: 4096 Blocks: 8 IO Block: 4096 pasta
Device: b302h/45826d Inode: 137481 Links: 9
Access: (0755/drwxr-xr-x) Uid: ( 1000/ pi) Gid: ( 1001/indiecity)
Access: 2013-01-02 22:59:20.297940465 +0000
Modify: 2013-01-02 22:59:20.407939868 +0000
Change: 2013-03-18 20:44:48.292056775 +0000
Birth: -
[email protected] ~ $


- Delete the contents of the /var/lib/indiecity/pistore/GUI
- I start Pistore and same problem
- reboot Pi
- Start Pistore same problem. Sorry :cry: :cry:

User avatar
DrPiD
Posts: 30
Joined: Wed May 16, 2012 9:44 am
Location: Leamington Spa, UK
Contact: Website

Re: Pi Store stop working after...

Thu Mar 21, 2013 10:20 am

Can you try running the following command in the terminal and see if that fixes things:

Code: Select all

sudo chmod -R 775 /var/lib/indiecity/pistore
Community Manager - IndieCity

aabento
Posts: 30
Joined: Sat Dec 29, 2012 3:09 pm

Re: Pi Store stop working after... (solved)

Thu Mar 21, 2013 4:40 pm

Hi
You hit the target center. :D :D :D :D :D
Congratulations and thank you. ;)

User avatar
DrPiD
Posts: 30
Joined: Wed May 16, 2012 9:44 am
Location: Leamington Spa, UK
Contact: Website

Re: Pi Store stop working after...

Thu Mar 21, 2013 4:47 pm

Hurray :) Glad it's working for you now!
Community Manager - IndieCity

Return to “General discussion”