Skip to main content

Ralsina.Me — Roberto Alsina's website

BartleBlog

A desk­top blog­ging tool for the dis­crim­i­nat­ing nerd

Introduction

Bartle­Blog was my blog­ging tool. I used it to pub­lish this blog.

You don't want to use it any­more. You want to use Niko­la

Ben / 2007-06-16 10:30:

Hi, Roberto !

I'm very happy to visit your website, I think the Bartheblog software you wrote is exactly what I had in mind (to be short: out-of-band writing, using the ReST syntax I love, static page generation, with both blog and "normal" website support, with fat GUI client for others "normal" users).
The point is that I'm absolutely new to python, and I don't even know how to run your software. Could you help me ? Just a few lines in your description page, describing what to run, how to fill pages, etc. As your software, once again, sounds really interesting to me, here is a deal: if you are ok, I can try and write some doc about it (kind of "bartleblog for dummies" :)).
Hope you will accept the proposition.

-- Ben

Roberto Alsina / 2007-06-17 16:40:

Ok, you get the sources from googlecode, then run

python bartleblog.py

from the folder where the sources are. And we'll take it from there :-)

If it fails, you tell me the error, I tell you how to fix it.

But the right way is to do it by email. So contact me!

kib2 / 2007-07-13 09:07:

Hi Roberto,

Nice job, I just tried to launch your app (I took the svn) and it complains :

C:Documents and SettingskibBureauBartleBlogBartleBlogui>python bartleblog.py
Traceback (most recent call last):
File "bartleblog.py", line 14, in
import BartleBlog.backend.dbclasses as db
ImportError: No module named BartleBlog.backend.dbclasses

Strange as dbclasses.py exists...

Roberto Alsina / 2007-07-17 16:21:

Yes, very strange.

Try setting PYTHONPATH to where bartleblog.py is. Email me if it still doesn't work.

kib2 / 2007-07-17 16:50:

My fault,

I was running the file barteblog.py inside BartleBlogBartleBlogui.

But I've got problems too now. Here's the output :

%-------------------
C:Documents and SettingskibBureauBartleBlog>python bartleblog.py
Error in sys.excepthook:
Traceback (most recent call last):
File "C:Documents and SettingskibBureauBartleBlogBartleBloguibartleblog
.py", line 210, in my_excepthook
app=QtCore.QCoreApplication.instance()
AttributeError: 'NoneType' object has no attribute 'QCoreApplication'

Original exception was:
Traceback (most recent call last):
File "bartleblog.py", line 3, in
import BartleBlog.ui.bartleblog
File "C:Documents and SettingskibBureauBartleBlogBartleBloguibartleblog
.py", line 229, in
main()
File "C:Documents and SettingskibBureauBartleBlogBartleBloguibartleblog
.py", line 204, in main
window=MainWindow()
File "C:Documents and SettingskibBureauBartleBlogBartleBloguibartleblog
.py", line 42, in __init__
self.blog=Blog()
File "C:Documents and SettingskibBureauBartleBlogBartleBlogbackendblog.
py", line 19, in __init__
db.initDB(os.path.join(dn,'blog.db'))
File "C:Documents and SettingskibBureauBartleBlogBartleBlogbackenddbcla
sses.py", line 216, in initDB
connection=connectionForURI(connection_string)
File "c:python25libsite-packagesSQLObject-0.9.0-py2.5.eggsqlobjectdbconn
ection.py", line 1079, in connectionForURI
conn = self.schemeBuilders[scheme]().connectionFromURI(uri)
File "C:Python25libsite-packagessqlobject-0.9.0-py2.5.eggsqlobjectsqlite
sqliteconnection.py", line 101, in connectionFromURI
user, password, host, port, path, args = cls._parseURI(uri)
File "c:python25libsite-packagesSQLObject-0.9.0-py2.5.eggsqlobjectdbconn
ection.py", line 108, in _parseURI
assert rest.startswith('/'), "URIs must start with scheme:/ -- you did not i
nclude a / (in %r)" % rest
AssertionError: URIs must start with scheme:/ -- you did not include a / (in 'C:
\Documents and Settings\kib\.bartleblog\blog.db')

%-------------------

I've got a similar project, but to create documentations with reST and Qt4. Maybe we can help eachother ?

I saw you've tried to set a reST highlighter, I've got a pretty one for Python if you want...but like you, I had problems parsing reST.

You can mail me at kib2(at)free.fr if you're interested.

See you,
Kib.


Contents © 2000-2023 Roberto Alsina