A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Photo editor



 
 
Thread Tools Rate Thread Display Modes
  #106  
Old January 7th 19, 09:01 PM posted to alt.comp.os.windows-10,alt.windows7.general
wasbit[_4_]
external usenet poster
 
Posts: 229
Default Photo editor

"Andy Burns" wrote in message
...
Andy Burns wrote:

Are those files in the correct folder?


If you don't get it working from there, can I suggest to wipe and simplify
the folder structure ...

Go into "files" and delete every single file and every single folder

Go into "web" and at the bottom click the red "delete web app" button

then click "add new web app", next, manual config, python 3.7, next

Add back the static files path like before, but simply with

/ = /home/wasbit

then click the green reload

Then go back to files, and create your index.html file directly in
/home/wasbit and upload your freeware text files there too.

sorted ...


After reloading get a 'Hello World' page. Presumably that's as it should
have been all along.

home/wasbit ....................... = bashrc, gitconfig, profile,
pythonstartup.py, vimrc & README text
/home/wasbit/.local ....... = empty
/home/wasbit/.local/bin = ipython3, pip3, python3

Uploaded files to home/wasbit, created index.html, then reloaded but no
change.

--
Regards
wasbit


Ads
  #107  
Old January 7th 19, 09:12 PM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

wasbit wrote:

After reloading get a 'Hello World' page. Presumably that's as it should
have been all along.


Think it depends on what "style" of install (e.g. django, flask, bottle,
manual) you chose.

home/wasbit ....................... = bashrc, gitconfig, profile,
pythonstartup.py, vimrc & README text
/home/wasbit/.local ....... = empty
/home/wasbit/.local/bin = ipython3, pip3, python3


yes it re-populates a few files when you re-create the web site

Uploaded files to home/wasbit,Â* created index.html, then reloaded but no
change.


what content is in the index.html file? Maybe it doesn't like ity being
empty, just put hello in it for now.



  #108  
Old January 7th 19, 09:19 PM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

wasbit wrote:

After reloading get a 'Hello World' page. Presumably that's as it should
have been all along.


I only get the "hello world" if I delete my index.html file, even if it
exists as zero bytes long then I get whatever is in the file as the home
page of the website.

The actual "hello world" text comes from within the

HELLO_WORLD = """
blah
blah
"""

section of the WSGI file (link from the web tab of dashboard), it seems
to use that if there isn't an index.html file, but I can't see why yours
isn't reading the index if you say it exists in the /home/wasbit folder

There are some access, error and server log files, linged from the "web"
tab of the dashboard ...
  #109  
Old January 7th 19, 09:25 PM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

Andy Burns wrote:

I only get the "hello world" if I delete my index.html file


I also get the "hello world" if I delete my

/ = /home/andyburns

URL to folder mapping section under static files, presumably you added back

/ = /home/wasbit

when you re-created the website?

  #110  
Old January 9th 19, 08:53 PM posted to alt.comp.os.windows-10,alt.windows7.general
wasbit[_4_]
external usenet poster
 
Posts: 229
Default Photo editor

"Andy Burns" wrote in message
...
wasbit wrote:

Directories =
.local/
.virtualenvs/
Freeware_lists/
mysite/
media/
mysite/
static/

Static files = 6 freeware text files & 1 index.html file


Are those files in the correct folder?

They want to be in /home/wasbit/mysite/static

not /home/wasbit/static


Tried Flask with no luck so back to Django.
Managed to get Index.html to show but no line spacing.
Now have Index.txt showing but not the actual files.
wasbit.pythonanywhere.com

--
Regards
wasbit

  #111  
Old January 9th 19, 09:08 PM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

wasbit wrote:

Managed to get Index.html to show but no line spacing.
Now have Index.txt showing but not the actual files.


Hurrah :-)

so in the index.html file you need e.g.

html
head
titlewasbit's lists/title
/head
body
h1Wasbit's lists/h1
a href="actualfilename1.txt"Description One/abr
a href="actualfilename2.txt"Description Two/abr
a href="actualfilename3.txt"Description Three/abr
a href="actualfilename4.txt"Description Four/abr
/body
/head
  #112  
Old January 10th 19, 01:26 AM posted to alt.comp.os.windows-10,alt.windows7.general
wasbit[_4_]
external usenet poster
 
Posts: 229
Default Photo editor

"Andy Burns" wrote in message
...
wasbit wrote:

Managed to get Index.html to show but no line spacing.
Now have Index.txt showing but not the actual files.


Hurrah :-)

so in the index.html file you need e.g.

html
head
titlewasbit's lists/title
/head
body
h1Wasbit's lists/h1
a href="actualfilename1.txt"Description One/abr
a href="actualfilename2.txt"Description Two/abr
a href="actualfilename3.txt"Description Three/abr
a href="actualfilename4.txt"Description Four/abr
/body
/head


Copied & pasted into a text file (as I have done with all your
instructions).
Substituted actualfilename.txt with each file name in every line. Result =

Wasbit's lists
Description One
Description Two
Description Three
Description Four
Description Five
Description Six

Tried various changes like removing quotation marks or adding spaces to no
effect.

--
Regards
wasbit

  #113  
Old January 10th 19, 03:02 AM posted to alt.windows7.general
😉 Good Guy 😉
external usenet poster
 
Posts: 1,483
Default Photo editor

On 10/01/2019 00:26, wasbit wrote:



Tried various changes like removing quotation marks or adding spaces
to no effect.

This only proves that you are a stupid pedo hanging out here for young
boys. Authorities are watching you.

*STOP CROSS POSTING TO WINDOWS 10 NEWSGROUP. YOU DON'T HAVE THE
RELEVANT INTELLIGENT TO USE WINDOWS 10.*

Path: aioe.org!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: "wasbit"
Newsgroups: alt.comp.os.windows-10,alt.windows7.general
Subject: Photo editor
Date: Thu, 10 Jan 2019 00:26:15 -0000
Organization: A noiseless patient Spider
Lines: 1
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="UTF-8";
reply-type=response
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 10 Jan 2019 00:28:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="232f347b46ac645a4a5d051938d78817";
logging-data="16503"; "; posting-account="U2FsdGVkX18UDPKsfjga0/aUlPCtvPM5"
Cancel-Lock: sha1:/qonx349VadRKRXBXFwiQS0EcJ0=
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
In-Reply-To:
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
Importance: Normal
X-Priority: 3
X-MSMail-Priority: Normal
Xref: aioe.org alt.comp.os.windows-10:82689 alt.windows7.general:38939



--
With over 950 million devices now running Windows 10, customer
satisfaction is higher than any previous version of windows.

  #114  
Old January 10th 19, 08:42 AM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

wasbit wrote:

Andy Burns wrote:

html
head
titlewasbit's lists/title


Oops sorry, the "" after title shouldn't exist

a href="actualfilename4.txt"Description Four/abr
/body
/head


And that final /head was a typo, should have been been /html

Copied & pasted into a text file (as I have done with all your
instructions).
Substituted actualfilename.txt with each file name in every line. Result =


But have you actually uploaded an unzipped copy of all your .txt files
to pythonanywhere?

e.g. do the following files exist?

/home/wasbit/# Readme for wasbitlists.txt
/home/wasbit/Freeware - 2D Animation, 3D Stop Motion (8.16).txt
  #115  
Old January 10th 19, 10:29 AM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

Andy Burns wrote:

But have you actually uploaded an unzipped copy of all your .txt files
to pythonanywhere?


Or if you don't want to upload them all to two places, leave the actual
files on box.com, but replace each href link e.g.

a href="https://app.box.com/v/wasbitlists/file/98416511077"
Freeware - Windows Vista & 7 (9.16).txt
/abr

  #116  
Old January 10th 19, 10:33 AM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

Andy Burns wrote:

But have you actually uploaded an unzipped copy of all your .txt files
to pythonanywhere?


Or if you don't want to upload them all to two places, leave the actual
files on box.com


Seems like box.com may be checking referrers, so that might not work,
I'd go with storing the files on pythonanywhere ...



  #117  
Old January 10th 19, 11:48 AM posted to alt.comp.os.windows-10,alt.windows7.general
wasbit[_4_]
external usenet poster
 
Posts: 229
Default Photo editor

"Andy Burns" wrote in message
...
wasbit wrote:

Andy Burns wrote:
html
head
titlewasbit's lists/title


Oops sorry, the "" after title shouldn't exist

a href="actualfilename4.txt"Description Four/abr
/body
/head


And that final /head was a typo, should have been been /html

Copied & pasted into a text file (as I have done with all your
instructions).
Substituted actualfilename.txt with each file name in every line. Result
=


But have you actually uploaded an unzipped copy of all your .txt files to
pythonanywhere?


Not sure which "" you are referring to so will experiment.
Changed the last line to html
Yes, uploaded individual files.

--
regards
wasbit

  #118  
Old January 10th 19, 11:57 AM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

wasbit wrote:

Not sure which "" you are referring to so will experiment.


The line should be

titlewasbit's lists/title

Yes, uploaded individual files.


Can you show me a screenshot of the "files" page of the dashboard?


  #119  
Old January 10th 19, 12:37 PM posted to alt.comp.os.windows-10,alt.windows7.general
wasbit[_4_]
external usenet poster
 
Posts: 229
Default Photo editor

"Andy Burns" wrote in message
...
wasbit wrote:

Not sure which "" you are referring to so will experiment.


The line should be

titlewasbit's lists/title

Yes, uploaded individual files.


Can you show me a screenshot of the "files" page of the dashboard?


Not done this before. Does this work?
- https://postimg.cc/gallery/26vpcp1j6/

--
Regards
wasbit

  #120  
Old January 10th 19, 12:53 PM posted to alt.comp.os.windows-10,alt.windows7.general
Andy Burns[_6_]
external usenet poster
 
Posts: 1,318
Default Photo editor

wasbit wrote:

Not done this before. Does this work?
- https://postimg.cc/gallery/26vpcp1j6/


Yep.

OK, so you've gone back to using "mysite" and "static" subdirectories,
that in itself should be ok.

I'm not sure what the implication of using Django is, but it seems that
every URL within your site, whether it's a valid filename like

http://wasbit.pythonanywhere.com/mys...20(8.16).t xt

or invalid gibberish like

http://wasbit.pythonanywhere.com/junk/rubbish/blah.txt

always returns the index.html content, I'll have a look later ...

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 08:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.