You are viewing a single comment's thread from:

RE: [piston.web] First Open Source Steem GUI - Searching for alpha testers

in #piston8 years ago

@xeroc I tried to use your piston.web, put there's an error that I cannot figure out. This is it:

Traceback (most recent call last):
File "/usr/local/bin/piston", line 9, in < module>
load_entry_point('steem-piston==0.2.3a0', 'console_scripts', 'piston')()
File "/usr/local/lib/python3.5/site-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python3.5/site-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/local/lib/python3.5/site-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/local/lib/python3.5/site-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.5/site-packages/steem_piston-0.2.3a0-py3.5.egg/piston/main.py", line 9, in < module>
from .storage import configStorage as config
File "/usr/local/lib/python3.5/site-packages/steem_piston-0.2.3a0-py3.5.egg/piston/storage.py", line 321, in < module>
if not configStorage.exists_table():
File "/usr/local/lib/python3.5/site-packages/steem_piston-0.2.3a0-py3.5.egg/piston/storage.py", line 120, in exists_table
connection = sqlite3.connect(sqlDataBaseFile)
sqlite3.OperationalError: unable to open database file

Sort:  

I ran into this problem and reported the bug to @xeroc already.

The workaround is to do:

mkdir ~/.local/share/piston

When do I type in this code?

I missed two lines of code to generate the above directory. You can create that directory by hand to fix the error. I will fix the repository asap

I fixed this issuer earlier today, you may want to run a git pull and reinstall

Thanks for the help, but... I have encountered another problem... here it is :

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/7x/_dsd44s94_nft92r9myn3y0h0000gq/T/pip-build-MsWRmL/websockets/setup.py", line 17, in <module>
    with open(os.path.join(root, 'README'), encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/7x/_dsd44s94_nft92r9myn3y0h0000gq/T/pip-build-MsWRmL/websockets/

Note : I am running a Mac OS X

Thanks for the help, but... I have encountered another problem... here it is :

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/7x/_dsd44s94_nft92r9myn3y0h0000gq/T/pip-build-MsWRmL/websockets/setup.py", line 17, in <module>
    with open(os.path.join(root, 'README'), encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/7x/_dsd44s94_nft92r9myn3y0h0000gq/T/pip-build-MsWRmL/websockets/

Note : I am running a Mac OS X

Please make sure to run Python3!

Coin Marketplace

STEEM 0.32
TRX 0.11
JST 0.034
BTC 66785.29
ETH 3229.75
USDT 1.00
SBD 4.30