Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preview socket issue / css not loading #53

Open
misterch0c opened this issue Feb 13, 2015 · 0 comments
Open

preview socket issue / css not loading #53

misterch0c opened this issue Feb 13, 2015 · 0 comments

Comments

@misterch0c
Copy link

me@PC /cygdrive/c/Python27/Scripts
$ ./buster.exe  preview
Traceback (most recent call last):
  File "C:\Python27\Scripts\buster-script.py", line 9, in <module>
    load_entry_point('buster==0.1.3', 'console_scripts', 'buster')()
  File "C:\Python27\lib\site-packages\buster\buster.py", line 98, in main
    httpd = SocketServer.TCPServer(("", 9000), Handler)
  File "C:\Python27\lib\SocketServer.py", line 420, in __init__
    self.server_bind()
  File "C:\Python27\lib\SocketServer.py", line 434, in server_bind
    self.socket.bind(self.server_address)
  File "C:\Python27\lib\socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 10048] Une seule utilisation de chaque adresse de socket (p                       rotocole/adresse r▒seau/port) est habituellement autoris▒e

Proabably an issue on my side but I can't figure it out. Seems it can runs because it's already running however I don't see the preview on port 9000, just a "directory list" page (with no actual directory list)
I can change the port in the buster.py file but how do I kill the existing connection? I don't see anything in my task manager.
Also I have another issue which is that the generate page doesn't take account of my theme. I see my posts in the preview but it's raw

This is the error I get when I generate:

Traceback (most recent call last):
  File "C:\Python27\Scripts\buster-script.py", line 9, in <module>
    load_entry_point('buster==0.1.3', 'console_scripts', 'buster')()
  File "C:\Python27\lib\site-packages\buster\buster.py", line 59, in main
    os.rename(os.path.join(root, filename), os.path.join(root, newname))
WindowsError: [Error 123] La syntaxe du nom de fichier, de r▒pertoire ou de volume est incorrecte

Well after some digging I found the problem. My css files got funky names like
screen.css@v=245ef745eb
so removing everything after 'css' fixed it

@misterch0c misterch0c changed the title preview socket issue preview socket issue / css not loading Feb 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant